Merge pull request #11618 from aabadie/pr/boards/kw41z-cleanup
boards/kw41z: phynode-kw41z now also use the kw41z common Makefile.include
This commit is contained in:
commit
ec2278fff7
@ -4,7 +4,6 @@ export CPU_MODEL = mkw41z512vht4
|
||||
|
||||
# include this module into the build
|
||||
INCLUDES += -I$(RIOTBOARD)/common/kw41z/include
|
||||
USEMODULE += boards_common_kw41z
|
||||
|
||||
# This board comes with OpenSDA configured for JLink compatibility
|
||||
DEBUG_ADAPTER ?= jlink
|
||||
|
||||
@ -1 +1,4 @@
|
||||
# This board uses the shared board_init function
|
||||
USEMODULE += boards_common_kw41z
|
||||
|
||||
include $(RIOTBOARD)/common/kw41z/Makefile.include
|
||||
|
||||
@ -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
|
||||
PROGRAMMER ?= openocd
|
||||
|
||||
# dap debug adapter is required for openocd
|
||||
ifeq (openocd,$(PROGRAMMER))
|
||||
DEBUG_ADAPTER = dap
|
||||
DEBUG_ADAPTER = dap
|
||||
endif
|
||||
|
||||
# Enable direct write to FCF (required for setting FOPT byte).
|
||||
export OPENOCD_PRE_FLASH_CMDS += "-c kinetis fcf_source write"
|
||||
|
||||
# Include default FRDM board config
|
||||
include $(RIOTBOARD)/common/frdm/Makefile.include
|
||||
include $(RIOTBOARD)/common/kw41z/Makefile.include
|
||||
|
||||
@ -1 +1,4 @@
|
||||
# This board uses the shared board_init function
|
||||
USEMODULE += boards_common_kw41z
|
||||
|
||||
include $(RIOTBOARD)/common/kw41z/Makefile.include
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user