summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBirte Kristina Friesel <birte.friesel@uos.de>2024-02-21 14:49:50 +0100
committerBirte Kristina Friesel <birte.friesel@uos.de>2024-02-21 14:49:50 +0100
commit8d38d364a09d9e5f01e0adbea5d5ecd5b87bc9e1 (patch)
tree71ab36a753d7bcef877853416da0fa513153285e
parenta9ba02fc3f46b404be5a76486b392529d4b80827 (diff)
make stm32f7 usable with dfatool counter benchmarks
-rw-r--r--src/arch/stm32f746zg-nucleo/Makefile.inc3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/arch/stm32f746zg-nucleo/Makefile.inc b/src/arch/stm32f746zg-nucleo/Makefile.inc
index fada19d..5ea8bb5 100644
--- a/src/arch/stm32f746zg-nucleo/Makefile.inc
+++ b/src/arch/stm32f746zg-nucleo/Makefile.inc
@@ -50,6 +50,9 @@ endif
ifdef CONFIG_arch_stm32f746zg_nucleo_driver_counter
CXX_TARGETS += src/arch/stm32f746zg-nucleo/driver/counter.cc
+ ifneq (${app}, )
+ COMMON_FLAGS += -DCONFIG_arch_stm32f746zg_nucleo_driver_counter
+ endif
endif
ifdef CONFIG_arch_stm32f746zg_nucleo_driver_i2c