1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-18 12:52:44 +01:00

stm32f103c8: fix INCLUDES definition location

It was currently defined in the flasher conditional.
This commit is contained in:
Gaëtan Harter 2018-06-12 14:55:04 +02:00
parent ec2fe9a308
commit 5580bae495
No known key found for this signature in database
GPG Key ID: 76DF6BCF1B1F883B

View File

@ -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