diff --git a/boards/common/stm32f103c8/Makefile.include b/boards/common/stm32f103c8/Makefile.include index 9d4c7f1a26..bd4693b6a3 100644 --- a/boards/common/stm32f103c8/Makefile.include +++ b/boards/common/stm32f103c8/Makefile.include @@ -2,6 +2,8 @@ export CPU = stm32f1 export CPU_MODEL = stm32f103c8 +INCLUDES += -I$(RIOTBOARD)/common/stm32f103c8/include + # define the default port depending on the host OS PORT_LINUX ?= /dev/ttyUSB0 PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.SLAB_USBtoUART*))) @@ -29,6 +31,4 @@ export DEBUG_ADAPTER ?= stlink export STLINK_VERSION ?= 2 include $(RIOTMAKE)/tools/openocd.inc.mk - -INCLUDES += -I$(RIOTBOARD)/common/stm32f103c8/include endif