mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-17 05:32:45 +01:00
boards/stm32f030f4-demo: Use STM32 programmer conf
This commit is contained in:
parent
92284bed88
commit
a949179f69
@ -1,18 +1,4 @@
|
|||||||
INCLUDES += -I$(RIOTBOARD)/common/stm32/include
|
INCLUDES += -I$(RIOTBOARD)/common/stm32/include
|
||||||
|
|
||||||
# configure the serial terminal
|
# Setup of programmer and serial is shared between STM32 based boards
|
||||||
PORT_LINUX ?= /dev/ttyACM0
|
include $(RIOTMAKE)/boards/stm32.inc.mk
|
||||||
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.usbmodem*)))
|
|
||||||
|
|
||||||
# setup serial terminal
|
|
||||||
include $(RIOTMAKE)/tools/serial.inc.mk
|
|
||||||
|
|
||||||
# stm32 boards can become un-flashable after a hardfault,
|
|
||||||
# use connect_assert_srst to always be able to flash or reset the boards.
|
|
||||||
export OPENOCD_RESET_USE_CONNECT_ASSERT_SRST ?= 1
|
|
||||||
|
|
||||||
# all Nucleo boards have an on-board ST-link adapter
|
|
||||||
DEBUG_ADAPTER ?= stlink
|
|
||||||
|
|
||||||
# stlink use openocd
|
|
||||||
include $(RIOTMAKE)/tools/openocd.inc.mk
|
|
||||||
|
Loading…
Reference in New Issue
Block a user