mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-05-26 08:22:43 +08:00
[conf] remove obsolete USE_SYS_TIME
was only needed for old stm3 vector table, is now already long obsolete and used nowhere
This commit is contained in:
@@ -1528,7 +1528,6 @@ PREDEFINED = USE_GPS \
|
||||
USE_MAGNETOMETER \
|
||||
USE_BAROMETER \
|
||||
USE_LED \
|
||||
USE_SYS_TIME \
|
||||
SPI_MASTER \
|
||||
SPI_SLAVE \
|
||||
USE_SPI0 \
|
||||
|
||||
@@ -23,7 +23,7 @@ demo2.ARCHDIR = $(ARCH)
|
||||
demo2.CFLAGS += -DBOARD_CONFIG=\"conf_demo.h\"
|
||||
demo2.srcs = main_demo2.c
|
||||
|
||||
demo2.CFLAGS += -DPERIODIC_FREQUENCY='100.' -DUSE_SYS_TIME
|
||||
demo2.CFLAGS += -DPERIODIC_FREQUENCY='100.'
|
||||
demo2.srcs += mcu_periph/sys_time.c $(SRC_ARCH)/mcu_periph/sys_time_arch.c
|
||||
|
||||
demo2.CFLAGS += -DUSE_LED
|
||||
@@ -36,7 +36,7 @@ demo3.ARCHDIR = $(ARCH)
|
||||
demo3.CFLAGS += -DBOARD_CONFIG=\"conf_demo.h\"
|
||||
demo3.srcs = main_demo3.c
|
||||
|
||||
demo3.CFLAGS += -DPERIODIC_FREQUENCY='10.' -DUSE_SYS_TIME
|
||||
demo3.CFLAGS += -DPERIODIC_FREQUENCY='10.'
|
||||
demo3.srcs += mcu_periph/sys_time.c $(SRC_ARCH)/mcu_periph/sys_time_arch.c
|
||||
|
||||
demo3.CFLAGS += -DUSE_LED
|
||||
@@ -55,7 +55,7 @@ demo4.ARCHDIR = $(ARCH)
|
||||
demo4.CFLAGS += -DBOARD_CONFIG=\"conf_demo.h\"
|
||||
demo4.srcs = main_demo4.c
|
||||
|
||||
demo4.CFLAGS += -DPERIODIC_FREQUENCY='100.' -DUSE_SYS_TIME
|
||||
demo4.CFLAGS += -DPERIODIC_FREQUENCY='100.'
|
||||
demo4.srcs += mcu_periph/sys_time.c $(SRC_ARCH)/mcu_periph/sys_time_arch.c
|
||||
|
||||
demo4.CFLAGS += -DUSE_LED
|
||||
@@ -78,7 +78,7 @@ demo5.ARCHDIR = $(ARCH)
|
||||
demo5.CFLAGS += -DBOARD_CONFIG=\"conf_demo.h\"
|
||||
demo5.srcs = main_demo5.c
|
||||
|
||||
demo5.CFLAGS += -DPERIODIC_FREQUENCY='100.' -DUSE_SYS_TIME
|
||||
demo5.CFLAGS += -DPERIODIC_FREQUENCY='100.'
|
||||
demo5.srcs += mcu_periph/sys_time.c $(SRC_ARCH)/mcu_periph/sys_time_arch.c
|
||||
|
||||
demo5.CFLAGS += -DUSE_LED
|
||||
|
||||
@@ -14,7 +14,7 @@ ap.ARCHDIR = $(ARCH)
|
||||
ap.CFLAGS += -DBOARD_CONFIG=\"conf_demo.h\" -I$(WIND_TUNNEL)
|
||||
ap.srcs = $(WIND_TUNNEL)/main.c
|
||||
|
||||
ap.CFLAGS += -DPERIODIC_FREQUENCY='10.' -DUSE_SYS_TIME
|
||||
ap.CFLAGS += -DPERIODIC_FREQUENCY='10.'
|
||||
ap.srcs += mcu_periph/sys_time.c $(SRC_ARCH)/mcu_periph/sys_time_arch.c
|
||||
|
||||
ap.CFLAGS += -DUSE_LED
|
||||
@@ -44,7 +44,7 @@ mb.ARCHDIR = $(ARCH)
|
||||
mb.CFLAGS += -DBOARD_CONFIG=\"conf_demo.h\" -I$(WIND_TUNNEL) -I$(MB)
|
||||
mb.srcs = $(WIND_TUNNEL)/main_mb.c
|
||||
|
||||
mb.CFLAGS += -DPERIODIC_FREQUENCY='100.' -DUSE_SYS_TIME
|
||||
mb.CFLAGS += -DPERIODIC_FREQUENCY='100.'
|
||||
mb.srcs += mcu_periph/sys_time.c $(SRC_ARCH)/mcu_periph/sys_time_arch.c
|
||||
|
||||
mb.CFLAGS += -DUSE_LED
|
||||
|
||||
@@ -55,7 +55,6 @@ $(TARGET).CFLAGS += -DPERIODIC_FREQUENCY=$(PERIODIC_FREQUENCY)
|
||||
#
|
||||
# Systime
|
||||
#
|
||||
$(TARGET).CFLAGS += -DUSE_SYS_TIME
|
||||
$(TARGET).srcs += mcu_periph/sys_time.c $(SRC_ARCH)/mcu_periph/sys_time_arch.c
|
||||
|
||||
|
||||
|
||||
@@ -27,7 +27,6 @@ ifneq ($(SYS_TIME_LED),none)
|
||||
tunnel.CFLAGS += -DSYS_TIME_LED=$(SYS_TIME_LED)
|
||||
endif
|
||||
tunnel.CFLAGS += -DPERIODIC_FREQUENCY='512.'
|
||||
tunnel.CFLAGS += -DUSE_SYS_TIME
|
||||
tunnel.srcs += mcu_periph/sys_time.c $(SRC_ARCH)/mcu_periph/sys_time_arch.c
|
||||
endif
|
||||
|
||||
@@ -75,7 +74,6 @@ endif
|
||||
setup_actuators.CFLAGS += -DUSE_LED -DPERIPHERALS_AUTO_INIT
|
||||
setup_actuators.srcs += mcu.c $(SRC_ARCH)/mcu_arch.c
|
||||
|
||||
setup_actuators.CFLAGS += -DUSE_SYS_TIME
|
||||
ifneq ($(SYS_TIME_LED),none)
|
||||
setup_actuators.CFLAGS += -DSYS_TIME_LED=$(SYS_TIME_LED)
|
||||
endif
|
||||
|
||||
@@ -58,7 +58,6 @@ PERIODIC_FREQUENCY ?= 60
|
||||
$(TARGET).CFLAGS += -DPERIODIC_FREQUENCY=$(PERIODIC_FREQUENCY)
|
||||
|
||||
$(TARGET).srcs += mcu_periph/sys_time.c $(SRC_ARCH)/mcu_periph/sys_time_arch.c
|
||||
$(TARGET).CFLAGS += -DUSE_SYS_TIME
|
||||
|
||||
#
|
||||
# InterMCU & Commands
|
||||
|
||||
@@ -49,7 +49,6 @@ PERIODIC_FREQUENCY ?= 512
|
||||
COMMON_TEST_CFLAGS = -I$(SRC_BOARD) -DBOARD_CONFIG=$(BOARD_CFG)
|
||||
COMMON_TEST_CFLAGS += -DPERIPHERALS_AUTO_INIT
|
||||
COMMON_TEST_SRCS = mcu.c $(SRC_ARCH)/mcu_arch.c
|
||||
COMMON_TEST_CFLAGS += -DUSE_SYS_TIME
|
||||
ifneq ($(SYS_TIME_LED),none)
|
||||
COMMON_TEST_CFLAGS += -DSYS_TIME_LED=$(SYS_TIME_LED)
|
||||
endif
|
||||
|
||||
Reference in New Issue
Block a user