Well, I don't know what "github branch" I'm using... I get the last
version using "git pull" before to post :)
LezGaui/test_actuators_mkk/
mcu_periph/i2c.o
CC /home/aero/paparazzi/var/
LezGaui/test_actuators_mkk/
arch/stm32/mcu_periph/i2c_
arch.o
arch/stm32/mcu_periph/i2c_
arch.c: In function
'i2c1_ev_irq_handler':
arch/stm32/mcu_periph/i2c_
arch.c:507:3: warning: implicit
declaration of function 'i2c_event' [-Wimplicit-function-
declaration]
arch/stm32/mcu_periph/i2c_
arch.c:507:3: warning: nested
extern declaration of 'i2c_event' [-Wnested-externs]
arch/stm32/mcu_periph/i2c_
arch.c: In function
'i2c1_er_irq_handler':
arch/stm32/mcu_periph/i2c_
arch.c:513:3: warning: implicit
declaration of function 'i2c_error' [-Wimplicit-function-
declaration]
arch/stm32/mcu_periph/i2c_
arch.c:513:3: warning: nested
extern declaration of 'i2c_error' [-Wnested-externs]
arch/stm32/mcu_periph/i2c_
arch.c: At top level:
arch/stm32/mcu_periph/i2c_
arch.c:11:20: warning:
'i2c_hard_reset' used but never defined [enabled by default]
arch/stm32/mcu_periph/i2c_
arch.c:12:20: warning:
'i2c_reset_init' used but never defined [enabled by default]
LD /home/aero/paparazzi/var/
LezGaui/test_actuators_mkk/
test_actuators_mkk.elf
/home/aero/paparazzi/var/
LezGaui/test_actuators_mkk/
arch/stm32/mcu_periph/i2c_
arch.o:
In function `i2c1_hw_init':
/home/aero/paparazzi/sw/
airborne/arch/stm32/mcu_
periph/i2c_arch.c:499:
undefined reference to `i2c_reset_init'
/home/aero/paparazzi/var/
LezGaui/test_actuators_mkk/
arch/stm32/mcu_periph/i2c_
arch.o:
In function `i2c1_ev_irq_handler':
/home/aero/paparazzi/sw/
airborne/arch/stm32/mcu_
periph/i2c_arch.c:507:
undefined reference to `i2c_event'
/home/aero/paparazzi/var/
LezGaui/test_actuators_mkk/
arch/stm32/mcu_periph/i2c_
arch.o:
In function `i2c1_er_irq_handler':
/home/aero/paparazzi/sw/
airborne/arch/stm32/mcu_
periph/i2c_arch.c:513:
undefined reference to `i2c_error'
collect2: ld returned 1 exit status
Here is my airframe firmware declaration
<firmware name="rotorcraft">
<target name="ap" board="lisa_l_1.1"/>
<define name="USE_ADAPT_HOVER" />
<define name="GUIDANCE_H_USE_REF" />
<subsystem name="radio_control" type="ppm"/>
<subsystem name="actuators" type="mkk"/>
<subsystem name="telemetry" type="transparent"/>
<subsystem name="imu" type="aspirin_v1.5"/>
<subsystem name="gps" type="ublox"/>
<subsystem name="ahrs" type="int_cmpl_euler">
<define name="AHRS_MAG_UPDATE_YAW_
ONLY"/>
</subsystem>
<subsystem name="ins" type="hff"/>
<subsystem name="stabilization" type="euler"/>
<configure name="CPU_LED" value="3"/>
<configure name="RADIO_CONTROL_LED" value="5"/>
<configure name="GPS_LED" value="7"/>
</firmware>
<firmware name="lisa_l_test_progs">
<target name="tunnel" board="lisa_l_1.1"/>
<target name="test_led" board="lisa_l_1.1"/>
<target name="test_uart" board="lisa_l_1.1"/>
<target name="test_servos" board="lisa_l_1.1"/>
<target name="test_telemetry" board="lisa_l_1.1"/>
<target name="test_baro" board="lisa_l_1.1"/>
<target name="test_imu_b2" board="lisa_l_1.1"/>
<target name="test_imu_b2_2" board="lisa_l_1.1"/>
<target name="test_imu_aspirin" board="lisa_l_1.1"/>
<target name="test_rc_spektrum" board="lisa_l_1.1"/>
<target name="test_rc_ppm" board="lisa_l_1.1"/>
<target name="test_adc" board="lisa_l_1.1"/>
<target name="test_hmc5843" board="lisa_l_1.1"/>
<target name="test_itg3200" board="lisa_l_1.1"/>
<target name="test_adxl345"
board="lisa_l_1.1"/>
<target name="test_esc_mkk_simple"
board="lisa_l_1.1"/>
<target name="test_esc_asctecv1_
simple"
board="lisa_l_1.1"/>
<target name="test_actuators_mkk"
board="lisa_l_1.1"/>
<target name="test_actuators_asctecv1"
board="lisa_l_1.1"/>
</firmware>