Fixed compilation of test_led target on booz2_a7 aircraft.

This commit is contained in:
Piotr Esden-Tempski
2010-10-01 10:48:20 +00:00
parent 51d0ad5028
commit 3dc487ab72
3 changed files with 5 additions and 2 deletions
+1
View File
@@ -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"/>
+3 -2
View File
@@ -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
+1
View File
@@ -26,6 +26,7 @@
#include BOARD_CONFIG
#include "init_hw.h"
#include "led.h"
void Delay(__IO uint32_t nCount);