|
From: | Chris Wozny |
Subject: | [Paparazzi-devel] Viewing BMP085 messages and fusion with GPS altitude |
Date: | Mon, 30 Apr 2012 20:15:38 -0700 |
mcu_periph/i2c.c: In function 'i2c0_init':
mcu_periph/i2c.c:9: warning: implicit declaration of function 'i2c0_hw_init'
mcu_periph/i2c.c:9: warning: nested extern declaration of 'i2c0_hw_init'
...
CC /home/woz/paparazzi/var/MV2_LisaM_2/ap/modules/sensors/baro_bmp.o
LD /home/woz/paparazzi/var/MV2_LisaM_2/ap/ap.elf
/home/woz/paparazzi/var/MV2_LisaM_2/ap/mcu_periph/i2c.o: In function `i2c0_init':
/home/woz/paparazzi/sw/airborne/mcu_periph/i2c.c:9: undefined reference to `i2c0_hw_init'
collect2: ld returned 1 exit status
make[1]: *** [/home/woz/paparazzi/var/MV2_LisaM_2/ap/ap.elf] Error 1
make[1]: Leaving directory `/home/woz/paparazzi/sw/airborne'
make: *** [ap.compile] Error 2
make: Leaving directory `/home/woz/paparazzi'
<firmware name="fixedwing">
...
<target name="ap" board="lisa_m_2.0">
<define name="USE_I2C0"/>
<define name="BMP_I2C_DEV" value="i2c0"/>
<define name="SENSOR_SYNC_SEND"/>
</target>
...
<subsystem name="i2c"/>
</firmware>
<modules>
<load name="baro_bmp.xml"/>
</modules>
I think there needs to be a little more documentation as to the use of BMP085 and/or barometers for fusion with GPS altitude (why are there two separate defines?) as the only airframe which uses it on the repository is Martin's funjetmm.xml. I'd love to update the wiki with the info I will receive for replies from this thread.firmwares/fixedwing/main_ap.c: In function 'reporting_task':firmwares/fixedwing/main_ap.c:404: warning: implicit declaration of function 'PERIODIC_SEND_BARO_BMP85'firmwares/fixedwing/main_ap.c:404: warning: nested extern declaration of 'PERIODIC_SEND_BARO_BMP85'firmwares/fixedwing/main_ap.c:404: error: 'PprzTransport' undeclared (first use in this function)firmwares/fixedwing/main_ap.c:404: error: (Each undeclared identifier is reported only oncefirmwares/fixedwing/main_ap.c:404: error: for each function it appears in.)firmwares/fixedwing/main_ap.c:404: error: 'UART2' undeclared (first use in this function)make[1]: *** [/home/woz/paparazzi/var/MV2_LisaM_2/ap/firmwares/fixedwing/main_ap.o] Error 1make[1]: Leaving directory `/home/woz/paparazzi/sw/airborne'make: *** [ap.compile] Error 2make: Leaving directory `/home/woz/paparazzi'
[Prev in Thread] | Current Thread | [Next in Thread] |