mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-05-31 20:38:27 +08:00
[conf] update adc selection for lisa firmwares
This commit is contained in:
@@ -106,14 +106,8 @@ stm_passthrough.srcs += $(SRC_CSC)/csc_protocol.c
|
||||
# ADC
|
||||
|
||||
stm_passthrough.srcs += $(SRC_ARCH)/mcu_periph/adc_arch.c
|
||||
stm_passthrough.CFLAGS += -DUSE_AD1 \
|
||||
-DUSE_AD1_1 \
|
||||
-DUSE_AD1_2 \
|
||||
-DUSE_AD1_3 \
|
||||
-DUSE_AD1_4
|
||||
|
||||
|
||||
# Battery monitor
|
||||
# Battery monitor (bat voltage adc enabled by default in board files)
|
||||
|
||||
|
||||
#
|
||||
|
||||
@@ -313,7 +313,7 @@ test_adc.srcs += $(COMMON_TELEMETRY_SRCS)
|
||||
test_adc.CFLAGS += -I$(SRC_LISA)
|
||||
test_adc.srcs += $(SRC_LISA)/test_adc.c
|
||||
test_adc.srcs += $(SRC_ARCH)/mcu_periph/adc_arch.c
|
||||
test_adc.CFLAGS += -DUSE_AD1 -DUSE_AD1_1 -DUSE_AD1_2 -DUSE_AD1_3 -DUSE_AD1_4
|
||||
test_adc.CFLAGS += -DUSE_ADC_1 -DUSE_ADC_2 -DUSE_ADC_3
|
||||
|
||||
|
||||
##################################################
|
||||
|
||||
Reference in New Issue
Block a user