paparazzi-devel
[Top][All Lists]
Advanced

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

Re: [Paparazzi-devel] Lisa/M Compilation Error


From: Chris Wozny
Subject: Re: [Paparazzi-devel] Lisa/M Compilation Error
Date: Sat, 21 Jan 2012 13:53:37 -0700

Felix,

My apologies on not replying to the mailing list instead the first
time. We are using the Aspirin IMU with Lisa/M 1.0. Here is the XML we
are using (it's adapted from the example tiny analog imu):

http://code.google.com/p/lisa-m-team4938/source/browse/paparazzi/conf/airframes/lisa_m.xml

I'm unsure as to where to put the flag USE_IMU in the airframe file
after consulting the wiki and the AHRS subsystem wiki.

- Chris

On Sat, Jan 21, 2012 at 1:20 PM, Felix Ruess <hidden> wrote:
> Hi Chris,
>
> what configuration do you have? Are you using an imu, if yes, what subsystem?
> Sounds like you are using an imu where USE_IMU is not defined...
>
> Best to post the relevant sections of your airframe config (or put the
> whole thing on pastebin or something like that).
>
> Otherwise it is just guesswork....
>
> Cheers, Felix
>
> On Sat, Jan 21, 2012 at 12:54 AM, Chris Wozny <address@hidden> wrote:
>> All,
>>
>> I'm currently building the code for the lisa_m_1.0 board and every
>> time I build I get this error (which shows up in red):
>>
>> *** Using multilib ***
>> --------------------------------------
>> LD /home/mav/lisa-m-team4938/paparazzi/var/ECE_2012/ap/ap.elf
>> /home/mav/lisa-m-team4938/paparazzi/var/ECE_2012/ap/firmwares/fixedwing/main_ap.o:
>> In function `event_task_ap':
>> /home/mav/lisa-m-team4938/paparazzi/sw/airborne/firmwares/fixedwing/main_ap.c:622:
>> undefined reference to `AhrsEvent'
>> collect2: ld returned 1 exit status
>> make[1]: *** [/home/mav/lisa-m-team4938/paparazzi/var/ECE_2012/ap/ap.elf]
>> Error 1
>> make[1]: Leaving directory `/home/mav/lisa-m-team4938/paparazzi/sw/airborne'
>> make: *** [ap.compile] Error 2
>> make: Leaving directory `/home/mav/lisa-m-team4938/paparazzi'
>>
>> These were the warnings that came up before this:
>>
>> arch/stm32/mcu_arch.c:50: warning: #warning Info: Using external clock
>> arch/stm32/mcu_periph/i2c_arch.c:11: warning: 'i2c_hard_reset' used
>> but never defined
>> arch/stm32/mcu_periph/i2c_arch.c:12: warning: 'i2c_reset_init'
>> declared 'static' but never defined
>> firmwares/fixedwing/main_fbw.c:159: warning: array subscript is above
>> array bounds
>> firmwares/fixedwing/main_ap.c:622: warning: implicit declaration of
>> function 'AhrsEvent'
>> firmwares/fixedwing/main_ap.c:622: warning: nested extern declaration
>> of 'AhrsEvent'
>>
>> Just to make sure it wasn't an error with the version of GCC I'm
>> using, I compiled the code against the example_twog_analogimu.xml file
>> and it built properly. Has anyone bumped into this with Lisa/M?
>>
>> Thanks,
>> Chris
>> ----
>> University of Arizona MAV
>>
>> _______________________________________________
>> Paparazzi-devel mailing list
>> address@hidden
>> https://lists.nongnu.org/mailman/listinfo/paparazzi-devel



-- 
Chris Wozny
ASUA Safe Ride
Administrative Director
Email: address@hidden
Office: 520-621-7233
Cell: 617-921-5679



reply via email to

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