paparazzi-devel
[Top][All Lists]
Advanced

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

Re: [Paparazzi-devel] ArduImu compile errors #2


From: Christophe De Wagter
Subject: Re: [Paparazzi-devel] ArduImu compile errors #2
Date: Wed, 15 Dec 2010 16:03:46 +0100

There was a bug. i2c1 and i2c2 were working but not i2c0. That is fixed now.

-Christophe 



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


_______________________________________________
Paparazzi-devel mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/paparazzi-devel


reply via email to

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