From 5580bae495ce8dbd76dbe3ead194624aebad6a06 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C3=ABtan=20Harter?= Date: Tue, 12 Jun 2018 14:55:04 +0200 Subject: [PATCH] stm32f103c8: fix INCLUDES definition location It was currently defined in the flasher conditional. --- boards/common/stm32f103c8/Makefile.include | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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