boards/phynode-kw41z: use common kw41z board configuration
This commit is contained in:
parent
13c89b5feb
commit
af7331dd41
@ -1,20 +1,13 @@
|
|||||||
# define the cpu used by the board
|
|
||||||
export CPU = kinetis
|
|
||||||
export CPU_MODEL = mkw41z512vht4
|
|
||||||
|
|
||||||
# include this module into the build
|
|
||||||
INCLUDES += -I$(RIOTBOARD)/common/kw41z/include
|
|
||||||
|
|
||||||
# use openocd by default to program this board
|
# use openocd by default to program this board
|
||||||
PROGRAMMER ?= openocd
|
PROGRAMMER ?= openocd
|
||||||
|
|
||||||
# dap debug adapter is required for openocd
|
# dap debug adapter is required for openocd
|
||||||
ifeq (openocd,$(PROGRAMMER))
|
ifeq (openocd,$(PROGRAMMER))
|
||||||
DEBUG_ADAPTER = dap
|
DEBUG_ADAPTER = dap
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# Enable direct write to FCF (required for setting FOPT byte).
|
# Enable direct write to FCF (required for setting FOPT byte).
|
||||||
export OPENOCD_PRE_FLASH_CMDS += "-c kinetis fcf_source write"
|
export OPENOCD_PRE_FLASH_CMDS += "-c kinetis fcf_source write"
|
||||||
|
|
||||||
# Include default FRDM board config
|
# Include default FRDM board config
|
||||||
include $(RIOTBOARD)/common/frdm/Makefile.include
|
include $(RIOTBOARD)/common/kw41z/Makefile.include
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user