mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-17 05:32:45 +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
|
MODULE = board
|
||||||
|
|
||||||
DIRS = $(RIOTBOARD)/arduino-mkr-common
|
DIRS = $(RIOTBOARD)/common/arduino-mkr
|
||||||
|
|
||||||
include $(RIOTBASE)/Makefile.base
|
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
|
-include $(RIOTCPU)/samd21/Makefile.features
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
USEMODULE += arduino-mkr-common
|
USEMODULE += boards_common_arduino-mkr
|
||||||
|
|
||||||
ifeq ($(PROGRAMMER),jlink)
|
ifeq ($(PROGRAMMER),jlink)
|
||||||
export MKR_JLINK_DEVICE = atsamw25
|
export MKR_JLINK_DEVICE = atsamw25
|
||||||
endif
|
endif
|
||||||
|
|
||||||
include $(RIOTBOARD)/arduino-mkr-common/Makefile.include
|
include $(RIOTBOARD)/common/arduino-mkr/Makefile.include
|
||||||
|
|
||||||
# add arduino-mkr1000 include path
|
# add arduino-mkr1000 include path
|
||||||
INCLUDES += -I$(RIOTBOARD)/$(BOARD)/include
|
INCLUDES += -I$(RIOTBOARD)/$(BOARD)/include
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
MODULE = board
|
MODULE = board
|
||||||
|
|
||||||
DIRS = $(RIOTBOARD)/arduino-mkr-common
|
DIRS = $(RIOTBOARD)/common/arduino-mkr
|
||||||
|
|
||||||
include $(RIOTBASE)/Makefile.base
|
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
|
-include $(RIOTCPU)/samd21/Makefile.features
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
USEMODULE += arduino-mkr-common
|
USEMODULE += boards_common_arduino-mkr
|
||||||
|
|
||||||
ifeq ($(PROGRAMMER),jlink)
|
ifeq ($(PROGRAMMER),jlink)
|
||||||
export MKR_JLINK_DEVICE = atsamd21
|
export MKR_JLINK_DEVICE = atsamd21
|
||||||
endif
|
endif
|
||||||
|
|
||||||
include $(RIOTBOARD)/arduino-mkr-common/Makefile.include
|
include $(RIOTBOARD)/common/arduino-mkr/Makefile.include
|
||||||
|
|
||||||
# add arduino-mkrzero include path
|
# add arduino-mkrzero include path
|
||||||
INCLUDES += -I$(RIOTBOARD)/$(BOARD)/include
|
INCLUDES += -I$(RIOTBOARD)/$(BOARD)/include
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
MODULE = arduino-mkr-common
|
MODULE = boards_common_arduino-mkr
|
||||||
|
|
||||||
include $(RIOTBASE)/Makefile.base
|
include $(RIOTBASE)/Makefile.base
|
@ -22,7 +22,7 @@ else
|
|||||||
include $(RIOTMAKE)/tools/bossa.inc.mk
|
include $(RIOTMAKE)/tools/bossa.inc.mk
|
||||||
endif
|
endif
|
||||||
|
|
||||||
INCLUDES += -I$(RIOTBOARD)/arduino-mkr-common/include
|
INCLUDES += -I$(RIOTBOARD)/common/arduino-mkr/include
|
||||||
|
|
||||||
# setup the boards dependencies
|
# setup the boards dependencies
|
||||||
include $(RIOTBOARD)/$(BOARD)/Makefile.dep
|
include $(RIOTBOARD)/$(BOARD)/Makefile.dep
|
Loading…
Reference in New Issue
Block a user