2022-06-03 19:21:34 +02:00
|
|
|
# If port selection via ttys.py is enabled by `MOST_RECENT_PORT=1`, filter
|
|
|
|
# USB serials to only select the UART bridge of integrated J-Link debugger.
|
|
|
|
TTY_BOARD_FILTER := --model J-Link
|
|
|
|
|
2023-01-10 09:37:29 +01:00
|
|
|
# The TTY serial also is the ID of the debug adapter, as the TTY is provided by
|
|
|
|
# the debug adapter
|
|
|
|
DEBUG_ADAPTER_ID_IS_TTY_SERIAL := 1
|
|
|
|
|
2024-11-07 17:47:59 +01:00
|
|
|
# Set UICR.PSELRESET[0] and UICR.PSELRESET[1] registers at 0x10001200
|
|
|
|
# to pin P0.18 (0x12), which is connected to the onboard Reset button
|
|
|
|
JLINK_POST_FLASH = Write4 0x10001200 00000012 00000012
|
|
|
|
OPENOCD_PRE_VERIFY_CMDS = -c 'flash fillw 0x10001200 0x00000012 2'
|
|
|
|
|
2017-11-21 16:23:44 +01:00
|
|
|
include $(RIOTBOARD)/common/nrf52xxxdk/Makefile.include
|