mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-06-06 07:53:43 +08:00
Fixed compilation of test_led target on booz2_a7 aircraft.
This commit is contained in:
@@ -202,6 +202,7 @@
|
||||
</firmware>
|
||||
|
||||
<firmware name="lisa_l_test_progs">
|
||||
<target name="test_led" board="lisa_l_1.0"/>
|
||||
<target name="test_servos" board="lisa_l_1.0"/>
|
||||
<target name="test_telemetry" board="lisa_l_1.0"/>
|
||||
<target name="test_baro" board="lisa_l_1.0"/>
|
||||
|
||||
@@ -63,10 +63,11 @@ SRC_FIRMWARE=firmwares/rotorcraft
|
||||
test_led.ARCHDIR = $(ARCH)
|
||||
test_led.CFLAGS += -I$(SRC_LISA) -I$(ARCH) -DPERIPHERALS_AUTO_INIT
|
||||
test_led.CFLAGS += -DBOARD_CONFIG=$(BOARD_CFG)
|
||||
test_led.srcs += $(SRC_LISA)/test_led2.c \
|
||||
test_led.srcs += $(SRC_LISA)/test_led.c \
|
||||
$(SRC_ARCH)/stm32_exceptions.c \
|
||||
$(SRC_ARCH)/stm32_vector_table.c
|
||||
test_led.CFLAGS += -DUSE_LED
|
||||
test_led.srcs += $(SRC_ARCH)/led_hw.c
|
||||
|
||||
#
|
||||
# test uart
|
||||
@@ -570,4 +571,4 @@ test_bmp085.srcs += downlink.c pprz_transport.c
|
||||
test_bmp085.CFLAGS += -DUSE_I2C2
|
||||
test_bmp085.srcs += i2c.c $(SRC_ARCH)/i2c_hw.c
|
||||
#test_bmp085.CFLAGS += -DIMU_OVERRIDE_CHANNELS
|
||||
#test_bmp085.CFLAGS += -DUSE_EXTI9_5_IRQ # Mag Int on PB5
|
||||
#test_bmp085.CFLAGS += -DUSE_EXTI9_5_IRQ # Mag Int on PB5
|
||||
|
||||
@@ -26,6 +26,7 @@
|
||||
|
||||
#include BOARD_CONFIG
|
||||
#include "init_hw.h"
|
||||
#include "led.h"
|
||||
|
||||
void Delay(__IO uint32_t nCount);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user