On Wed, Dec 15, 2010 at 8:35 AM, Martin Mueller
<address@hidden> wrote:
Hi Chris,
there is a description available at http://paparazzi.enac.fr/wiki/ArduIMU
After some searching it turned out that the settings file was not correct.
(4) Use this "Settings" file: settings/tuning_ins.xml
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.
(2) Activate "i2c"
<target name="ap" board="...">
...
<define name="USE_I2C0"/>
</target>
<subsystem name="i2c"/>
Now although i can compile the code fine when target "ap" is selected, i
get errors when target "sim"
is selected.
The tuning_ins is not supported by sim (yet).
Martin