mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-05-19 10:34:28 +08:00
Update lisa_test_progs.makefile
This commit is contained in:
@@ -1276,27 +1276,27 @@ test_gps.srcs += $(SRC_BOOZ)/gps/booz_gps_skytraq.c
|
||||
#
|
||||
# test ADC
|
||||
#
|
||||
# test_adc.ARCHDIR = $(ARCHI)
|
||||
# test_adc.TARGET = test_adc
|
||||
# test_adc.TARGETDIR = test_adc
|
||||
# test_adc.CFLAGS = -I$(ARCHI) -DPERIPHERALS_AUTO_INIT
|
||||
# test_adc.CFLAGS += -DBOARD_CONFIG=$(BOARD_CFG) -I$(SRC_BOOZ) -I$(SRC_BOOZ_ARCH)
|
||||
# test_adc.srcs += $(SRC_LISA)/test/lisa_test_adc.c \
|
||||
# $(SRC_ARCH)/stm32_exceptions.c \
|
||||
# $(SRC_ARCH)/stm32_vector_table.c
|
||||
# test_adc.CFLAGS += -DUSE_LED
|
||||
# test_adc.srcs += $(SRC_ARCH)/led_hw.c
|
||||
# test_adc.CFLAGS += -DUSE_SYS_TIME -DSYS_TIME_LED=1
|
||||
# test_adc.CFLAGS += -DPERIODIC_TASK_PERIOD='SYS_TICS_OF_SEC((1./512.))' -DTIME_LED=1
|
||||
# test_adc.srcs += sys_time.c $(SRC_ARCH)/sys_time_hw.c
|
||||
#
|
||||
# test_adc.CFLAGS += -DUSE_UART2 -DUART2_BAUD=B57600
|
||||
# test_adc.srcs += $(SRC_ARCH)/uart_hw.c
|
||||
#
|
||||
# test_adc.CFLAGS += -DDOWNLINK -DDOWNLINK_TRANSPORT=PprzTransport -DDOWNLINK_DEVICE=Uart2
|
||||
# test_adc.srcs += downlink.c pprz_transport.c
|
||||
#
|
||||
# test_adc.srcs += $(SRC_ARCH)/adc_hw.c
|
||||
# test_adc.ARCHDIR = $(ARCHI)
|
||||
# test_adc.TARGET = test_adc
|
||||
# test_adc.TARGETDIR = test_adc
|
||||
# test_adc.CFLAGS = -I$(ARCHI) -DPERIPHERALS_AUTO_INIT
|
||||
# test_adc.CFLAGS += -DBOARD_CONFIG=$(BOARD_CFG) -I$(SRC_BOOZ) -I$(SRC_BOOZ_ARCH)
|
||||
# test_adc.srcs += $(SRC_LISA)/test/lisa_test_adc.c \
|
||||
# $(SRC_ARCH)/stm32_exceptions.c \
|
||||
# $(SRC_ARCH)/stm32_vector_table.c
|
||||
# test_adc.CFLAGS += -DUSE_LED
|
||||
# test_adc.srcs += $(SRC_ARCH)/led_hw.c
|
||||
# test_adc.CFLAGS += -DUSE_SYS_TIME -DSYS_TIME_LED=1
|
||||
# test_adc.CFLAGS += -DPERIODIC_TASK_PERIOD='SYS_TICS_OF_SEC((1./512.))' -DTIME_LED=1
|
||||
# test_adc.srcs += sys_time.c $(SRC_ARCH)/sys_time_hw.c
|
||||
#
|
||||
# test_adc.CFLAGS += -DUSE_UART2 -DUART2_BAUD=B57600
|
||||
# test_adc.srcs += $(SRC_ARCH)/uart_hw.c
|
||||
#
|
||||
# test_adc.CFLAGS += -DDOWNLINK -DDOWNLINK_TRANSPORT=PprzTransport -DDOWNLINK_DEVICE=Uart2
|
||||
# test_adc.srcs += downlink.c pprz_transport.c
|
||||
#
|
||||
# test_adc.srcs += $(SRC_ARCH)/adc_hw.c
|
||||
|
||||
#
|
||||
# test adc
|
||||
@@ -1323,10 +1323,7 @@ test_adc.CFLAGS += -DDATALINK=PPRZ -DPPRZ_UART=Uart2
|
||||
test_adc.CFLAGS += -DDOWNLINK -DDOWNLINK_TRANSPORT=PprzTransport -DDOWNLINK_DEVICE=Uart2
|
||||
test_adc.srcs += downlink.c pprz_transport.c
|
||||
|
||||
test_adc.CFLAGS += \
|
||||
-DUSE_AD1 \
|
||||
-DUSE_AD1_1
|
||||
|
||||
test_adc.CFLAGS += -DUSE_AD1 -DUSE_AD1_1 -DUSE_AD1_2 -DUSE_AD1_3 -DUSE_AD1_4
|
||||
|
||||
################################################################################
|
||||
#
|
||||
@@ -1487,3 +1484,5 @@ hs_gyro_crista.srcs += $(SRC_BOOZ)/booz_imu.c \
|
||||
hs_gyro_crista.CFLAGS += -DUSE_DMA1_C4_IRQ
|
||||
|
||||
hs_gyro_crista.CFLAGS += -DMEASURED_SENSOR=gyro_unscaled.p -DMEASURED_SENSOR_NB=0
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user