2019-06-29 11:44:30 +02:00
|
|
|
# Configure riotboot bootloader and slot lengths.
|
|
|
|
RIOTBOOT_LEN ?= 0x4000
|
|
|
|
NUM_SLOTS ?= 2
|
|
|
|
SLOT0_LEN ?= 0x3C000
|
|
|
|
SLOT1_LEN ?= $(SLOT0_LEN)
|
|
|
|
|
|
|
|
# support SWD and UART via Pi GPIO header
|
|
|
|
PORT_LINUX ?= /dev/serial0
|
|
|
|
# TODO change to bcm2835gpio after it's merged as it's faster
|
2021-02-18 17:15:55 +01:00
|
|
|
# OPENOCD_DEBUG_ADAPTER ?= bcm2835gpio
|
|
|
|
OPENOCD_DEBUG_ADAPTER ?= sysfs_gpio
|
2019-06-29 11:44:30 +02:00
|
|
|
SRST_PIN ?= 16
|
|
|
|
SWCLK_PIN ?= 20
|
|
|
|
SWDIO_PIN ?= 21
|
|
|
|
|
|
|
|
# Include default FRDM board config for openocd configuration
|
|
|
|
include $(RIOTBOARD)/common/frdm/Makefile.include
|