2022-02-28 21:57:58 +01:00
|
|
|
BOARD ?= nucleo-f767zi
|
|
|
|
|
2023-05-12 11:13:47 +02:00
|
|
|
include ../Makefile.sys_common
|
2020-09-15 14:46:24 +02:00
|
|
|
|
|
|
|
USEMODULE += dbgpin
|
|
|
|
USEMODULE += xtimer
|
|
|
|
|
2021-04-20 15:24:58 +02:00
|
|
|
# Default port used is PORT 1
|
|
|
|
# - frdm-64f port A0-4 are connected to the JTAG, setting GPIO(0,0) will
|
|
|
|
# cause flashing to fail
|
|
|
|
BOARDS_DEBUG_PORT_1 = \
|
|
|
|
frdm-k64f \
|
|
|
|
#
|
|
|
|
|
|
|
|
ifneq (,$(filter $(BOARD),$(BOARDS_DEBUG_PORT_1)))
|
|
|
|
TEST_PORT ?= 1
|
|
|
|
else
|
|
|
|
TEST_PORT ?= 0
|
|
|
|
endif
|
|
|
|
|
|
|
|
DBGPIN_PINS ?= GPIO_PIN($(TEST_PORT),0)
|
2020-09-15 14:46:24 +02:00
|
|
|
CFLAGS += -DDBGPIN_PINS="$(DBGPIN_PINS)"
|
|
|
|
|
|
|
|
include $(RIOTBASE)/Makefile.include
|