[Top][All Lists]

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

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

From: Martin Mueller
Subject: Re: [Paparazzi-devel] ArduImu compile errors #2
Date: Wed, 15 Dec 2010 08:35:06 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv: Gecko/20101208 Thunderbird/3.1.7

Hi Chris,

there is a description available at

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"/>
 <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).


reply via email to

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