Skip to content

Commit

Permalink
[conf] remove obsolete USE_SYS_TIME
Browse files Browse the repository at this point in the history
was only needed for old stm3 vector table, is now already long obsolete and used nowhere
  • Loading branch information
flixr committed Dec 6, 2014
1 parent fc0a7dd commit 45c6b9c
Show file tree
Hide file tree
Showing 7 changed files with 6 additions and 12 deletions.
1 change: 0 additions & 1 deletion Doxyfile
Expand Up @@ -1528,7 +1528,6 @@ PREDEFINED = USE_GPS \
USE_MAGNETOMETER \
USE_BAROMETER \
USE_LED \
USE_SYS_TIME \
SPI_MASTER \
SPI_SLAVE \
USE_SPI0 \
Expand Down
8 changes: 4 additions & 4 deletions conf/airframes/examples/demo.xml
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down
4 changes: 2 additions & 2 deletions conf/airframes/wind_tunnel.xml
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion conf/firmwares/rotorcraft.makefile
Expand Up @@ -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


Expand Down
2 changes: 0 additions & 2 deletions conf/firmwares/setup.makefile
Expand Up @@ -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

Expand Down Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion conf/firmwares/subsystems/fixedwing/autopilot.makefile
Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion conf/firmwares/test_progs.makefile
Expand Up @@ -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
Expand Down

0 comments on commit 45c6b9c

Please sign in to comment.