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:
Gaëtan Harter 2019-06-11 11:37:46 +02:00 committed by GitHub
commit ec2278fff7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 8 additions and 10 deletions

View File

@ -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

View File

@ -1 +1,4 @@
# This board uses the shared board_init function
USEMODULE += boards_common_kw41z
include $(RIOTBOARD)/common/kw41z/Makefile.include

View File

@ -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

View File

@ -1 +1,4 @@
# This board uses the shared board_init function
USEMODULE += boards_common_kw41z
include $(RIOTBOARD)/common/kw41z/Makefile.include