mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
boards/arduino-mkr: move shared code to common/arduino-mkr
This commit is contained in:
parent
0f155db499
commit
050a1ddeab
@ -1,5 +1,5 @@
|
||||
MODULE = board
|
||||
|
||||
DIRS = $(RIOTBOARD)/arduino-mkr-common
|
||||
DIRS = $(RIOTBOARD)/common/arduino-mkr
|
||||
|
||||
include $(RIOTBASE)/Makefile.base
|
||||
|
@ -1 +1 @@
|
||||
include $(RIOTBOARD)/arduino-mkr-common/Makefile.dep
|
||||
include $(RIOTBOARD)/common/arduino-mkr/Makefile.dep
|
||||
|
@ -1,3 +1,3 @@
|
||||
include $(RIOTBOARD)/arduino-mkr-common/Makefile.features
|
||||
include $(RIOTBOARD)/common/arduino-mkr/Makefile.features
|
||||
|
||||
-include $(RIOTCPU)/samd21/Makefile.features
|
||||
|
@ -1,10 +1,10 @@
|
||||
USEMODULE += arduino-mkr-common
|
||||
USEMODULE += boards_common_arduino-mkr
|
||||
|
||||
ifeq ($(PROGRAMMER),jlink)
|
||||
export MKR_JLINK_DEVICE = atsamw25
|
||||
endif
|
||||
|
||||
include $(RIOTBOARD)/arduino-mkr-common/Makefile.include
|
||||
include $(RIOTBOARD)/common/arduino-mkr/Makefile.include
|
||||
|
||||
# add arduino-mkr1000 include path
|
||||
INCLUDES += -I$(RIOTBOARD)/$(BOARD)/include
|
||||
|
@ -1,5 +1,5 @@
|
||||
MODULE = board
|
||||
|
||||
DIRS = $(RIOTBOARD)/arduino-mkr-common
|
||||
DIRS = $(RIOTBOARD)/common/arduino-mkr
|
||||
|
||||
include $(RIOTBASE)/Makefile.base
|
||||
|
@ -1 +1 @@
|
||||
include $(RIOTBOARD)/arduino-mkr-common/Makefile.dep
|
||||
include $(RIOTBOARD)/common/arduino-mkr/Makefile.dep
|
||||
|
@ -1,3 +1,3 @@
|
||||
include $(RIOTBOARD)/arduino-mkr-common/Makefile.features
|
||||
include $(RIOTBOARD)/common/arduino-mkr/Makefile.features
|
||||
|
||||
-include $(RIOTCPU)/samd21/Makefile.features
|
||||
|
@ -1,10 +1,10 @@
|
||||
USEMODULE += arduino-mkr-common
|
||||
USEMODULE += boards_common_arduino-mkr
|
||||
|
||||
ifeq ($(PROGRAMMER),jlink)
|
||||
export MKR_JLINK_DEVICE = atsamd21
|
||||
endif
|
||||
|
||||
include $(RIOTBOARD)/arduino-mkr-common/Makefile.include
|
||||
include $(RIOTBOARD)/common/arduino-mkr/Makefile.include
|
||||
|
||||
# add arduino-mkrzero include path
|
||||
INCLUDES += -I$(RIOTBOARD)/$(BOARD)/include
|
||||
|
@ -1,3 +1,3 @@
|
||||
MODULE = arduino-mkr-common
|
||||
MODULE = boards_common_arduino-mkr
|
||||
|
||||
include $(RIOTBASE)/Makefile.base
|
@ -22,7 +22,7 @@ else
|
||||
include $(RIOTMAKE)/tools/bossa.inc.mk
|
||||
endif
|
||||
|
||||
INCLUDES += -I$(RIOTBOARD)/arduino-mkr-common/include
|
||||
INCLUDES += -I$(RIOTBOARD)/common/arduino-mkr/include
|
||||
|
||||
# setup the boards dependencies
|
||||
include $(RIOTBOARD)/$(BOARD)/Makefile.dep
|
Loading…
Reference in New Issue
Block a user