paparazzi-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Paparazzi-devel] building apogee firmware fails


From: Andreas Philipp
Subject: [Paparazzi-devel] building apogee firmware fails
Date: Thu, 27 Mar 2014 01:14:04 +0100
User-agent: Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Thunderbird/24.3.0


Dear list,

after checking out a fresh copy I am not able to compile a firmware for the Apogee board. The choke is: after copying some missing *.h files to chibios-libopencm3 I was already able to run the ap-compilation, however after a git-pull everything is gone I and cannot reconstruct my work-arround. Can anyone please give a hint how to solve the following problem:

If in a new A/C (called "apogee") the file airframes/ENAC/fixed-wing/apogee.xml is selected (as well as telemetry/default_fixedwing_imu_9k6.xml), compiling of "sim" ends in:

--------- snip --------------------------------------------------------
cd sw/airborne; make TARGET=sim ARCHI=sim ARCH=sim all
make[1]: Entering directory `/home/philipan/paparazzi/sw/airborne'
CC /home/philipan/paparazzi/var/apogee/sim/mcu.o
...
CC /home/philipan/paparazzi/var/apogee/sim/mcu_periph/i2c.o
In file included from mcu_periph/i2c.c:31:0:
/home/philipan/paparazzi/sw/airborne/subsystems/datalink/telemetry.h:52:22: fatal error: messages.h: No such file or directory
 #include "messages.h"
                      ^
compilation terminated.
make[1]: *** [/home/philipan/paparazzi/var/apogee/sim/mcu_periph/i2c.o] Error 1
make[1]: Leaving directory `/home/philipan/paparazzi/sw/airborne'
make: *** [sim.compile] Error 2
make: Leaving directory `/home/philipan/paparazzi'

FAILED 'make -C /home/philipan/paparazzi -f Makefile.ac AIRCRAFT=apogee sim.compile' with code 2

--------- snap --------------------------------------------------------



trying to compile "ap" is not much better:

--------- snip --------------------------------------------------------
cd sw/airborne; make TARGET=ap all
make[1]: Entering directory `/home/philipan/paparazzi/sw/airborne'
/home/philipan/paparazzi/conf/chibios/chibios_extra_rules.mk:9: target `/home/philipan/paparazzi/var/apogee/ap/obj/subsystems/datalink/downlink.o' given more than once in the same rule.
Compiling crt0.c
Assembler messages:
Fatal error: can't create /home/philipan/paparazzi/var/apogee/ap/obj/crt0.o: No such file or directory
make[1]: *** [/home/philipan/paparazzi/var/apogee/ap/obj/crt0.o] Error 1
make[1]: Leaving directory `/home/philipan/paparazzi/sw/airborne'
make: *** [ap.compile] Error 2
make: Leaving directory `/home/philipan/paparazzi'

FAILED 'make -C /home/philipan/paparazzi -f Makefile.ac AIRCRAFT=apogee ap.compile' with code 2
--------- snap --------------------------------------------------------


If in the airframe file apogee.xml line 52 is changed from:
    <target name="test_led" board="apogee_1.0_chibios">
to
    <target name="test_led" board="apogee_1.0">
then:


--------- snip --------------------------------------------------------
cd sw/airborne; make TARGET=ap all
make[1]: Entering directory `/home/philipan/paparazzi/sw/airborne'
/home/philipan/paparazzi/conf/chibios/chibios_extra_rules.mk:9: target `/home/philipan/paparazzi/var/apogee/ap/obj/subsystems/datalink/downlink.o' given more than once in the same rule.
Compiling crt0.c
Assembler messages:
Fatal error: can't create /home/philipan/paparazzi/var/apogee/ap/obj/crt0.o: No such file or directory
make[1]: *** [/home/philipan/paparazzi/var/apogee/ap/obj/crt0.o] Error 1
make[1]: Leaving directory `/home/philipan/paparazzi/sw/airborne'
make: *** [ap.compile] Error 2
make: Leaving directory `/home/philipan/paparazzi'

FAILED 'make -C /home/philipan/paparazzi -f Makefile.ac AIRCRAFT=apogee ap.compile' with code 2
--------- snap --------------------------------------------------------

Any idea?
Thanks!




reply via email to

[Prev in Thread] Current Thread [Next in Thread]