Skip to content
Snippets Groups Projects
Unverified Commit ce917269 authored by Alexandre Abadie's avatar Alexandre Abadie Committed by GitHub
Browse files

Merge pull request #9333 from cladmi/pr/make/fix/stm32f103c8

stm32f103c8: fix Makefile.include INCLUDES definition
parents 2c37309b 9f26d374
No related branches found
No related tags found
No related merge requests found
...@@ -2,6 +2,8 @@ ...@@ -2,6 +2,8 @@
export CPU = stm32f1 export CPU = stm32f1
export CPU_MODEL = stm32f103c8 export CPU_MODEL = stm32f103c8
INCLUDES += -I$(RIOTBOARD)/common/stm32f103c8/include
# define the default port depending on the host OS # define the default port depending on the host OS
PORT_LINUX ?= /dev/ttyUSB0 PORT_LINUX ?= /dev/ttyUSB0
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.SLAB_USBtoUART*))) PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.SLAB_USBtoUART*)))
...@@ -24,11 +26,9 @@ ifeq ($(PROGRAMMER),dfu-util) ...@@ -24,11 +26,9 @@ ifeq ($(PROGRAMMER),dfu-util)
export FFLAGS = -d 1d50:6017 -s 0x08002000:leave -D "$(HEXFILE)" export FFLAGS = -d 1d50:6017 -s 0x08002000:leave -D "$(HEXFILE)"
else else
# this board uses openocd by default # this board uses openocd by default
export DEBUG_ADAPTER ?= stlink export DEBUG_ADAPTER ?= stlink
export STLINK_VERSION ?= 2 export STLINK_VERSION ?= 2
include $(RIOTMAKE)/tools/openocd.inc.mk include $(RIOTMAKE)/tools/openocd.inc.mk
INCLUDES += -I$(RIOTBOARD)/common/stm32f103c8/include
endif endif
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment