1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

boards/pinetime: Add pyocd support to pinetime board

This commit is contained in:
Frits Kuipers 2020-01-26 13:19:16 +01:00
parent f6d750afe9
commit 9206b955eb

View File

@ -2,5 +2,11 @@
RIOT_TERMINAL ?= jlink
include $(RIOTMAKE)/tools/serial.inc.mk
# define pyocd as programmer to program with stlink
ifeq (pyocd,$(PROGRAMMER))
export FLASH_TARGET_TYPE ?= -t $(CPU)
include $(RIOTMAKE)/tools/pyocd.inc.mk
endif
# use shared Makefile.include
include $(RIOTBOARD)/common/nrf52/Makefile.include