forked from RIOT-OS/RIOT
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
boards/stm32f030f4-demo: Use STM32 programmer conf
- Loading branch information
Showing
1 changed file
with
2 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,4 @@ | ||
INCLUDES += -I$(RIOTBOARD)/common/stm32/include | ||
|
||
# configure the serial terminal | ||
PORT_LINUX ?= /dev/ttyACM0 | ||
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 | ||
# Setup of programmer and serial is shared between STM32 based boards | ||
include $(RIOTMAKE)/boards/stm32.inc.mk |