[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Paparazzi-devel] ArduImu compile errors #2
From: |
Chris |
Subject: |
[Paparazzi-devel] ArduImu compile errors #2 |
Date: |
Wed, 15 Dec 2010 03:09:20 +0200 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.13) Gecko/20101208 Thunderbird/3.1.7 |
After some searching it turned out that the settings file was not correct.
BUT even with the correct settings file i had an error:
CC /home/hendrix/paparazzi/var/Cessna_INS/ap/mcu.o
mcu.c: In function `mcu_init':
mcu.c:84: warning: implicit declaration of function `i2c0_init'
mcu.c:84: warning: nested extern declaration of `i2c0_init'
The wiki instructions say to define: <define name="USE_I2C0"/>
but i2c0 is not defined in the mcu.c file so i added it and the error
went away.
Now although i can compile the code fine when target "ap" is selected, i
get errors when target "sim"
is selected.
Here is the console output:
CC /home/hendrix/paparazzi/var/Cessna_INS/sim/firmwares/fixedwing/main_ap.o
In file included from firmwares/fixedwing/main_ap.c:48:
/home/hendrix/paparazzi/var/Cessna_INS/generated/settings.h: In function
‘settings_get_value’:
/home/hendrix/paparazzi/var/Cessna_INS/generated/settings.h:147: error:
‘ins_roll_neutral’ undeclared (first use in this function)
/home/hendrix/paparazzi/var/Cessna_INS/generated/settings.h:147: error:
(Each undeclared identifier is reported only once
/home/hendrix/paparazzi/var/Cessna_INS/generated/settings.h:147: error:
for each function it appears in.)
/home/hendrix/paparazzi/var/Cessna_INS/generated/settings.h:148: error:
‘ins_pitch_neutral’ undeclared (first use in this function)
e in this function)
Chris
- [Paparazzi-devel] ArduImu compile errors #2,
Chris <=