1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

boards/samd21-arduino-bootloader: rename to samdx1-arduino-bootloader

The bootloader itself is called `uf2-samdx1` and supports both samd21
and samd51.

Rename the module accordingly.
This commit is contained in:
Benjamin Valentin 2021-02-09 19:44:03 +01:00
parent 6929577c76
commit 8f0fa9411c
29 changed files with 40 additions and 40 deletions

View File

@ -1,5 +1,5 @@
MODULE = board MODULE = board
DIRS = $(RIOTBOARD)/common/samd21-arduino-bootloader DIRS = $(RIOTBOARD)/common/samdx1-arduino-bootloader
include $(RIOTBASE)/Makefile.base include $(RIOTBASE)/Makefile.base

View File

@ -8,4 +8,4 @@ ifneq (,$(filter mtd,$(USEMODULE)))
endif endif
# setup the samd21 arduino bootloader related dependencies # setup the samd21 arduino bootloader related dependencies
include $(RIOTBOARD)/common/samd21-arduino-bootloader/Makefile.dep include $(RIOTBOARD)/common/samdx1-arduino-bootloader/Makefile.dep

View File

@ -1,6 +1,6 @@
CFLAGS += -DBOOTLOADER_UF2 CFLAGS += -DBOOTLOADER_UF2
# Include all definitions for flashing with bossa other USB # Include all definitions for flashing with bossa other USB
include $(RIOTBOARD)/common/samd21-arduino-bootloader/Makefile.include include $(RIOTBOARD)/common/samdx1-arduino-bootloader/Makefile.include
# Include handling of serial and non-bossa programmers (if selected by user) # Include handling of serial and non-bossa programmers (if selected by user)
include $(RIOTMAKE)/boards/sam0.inc.mk include $(RIOTMAKE)/boards/sam0.inc.mk

View File

@ -1,5 +1,5 @@
MODULE = board MODULE = board
DIRS = $(RIOTBOARD)/common/samd21-arduino-bootloader DIRS = $(RIOTBOARD)/common/samdx1-arduino-bootloader
include $(RIOTBASE)/Makefile.base include $(RIOTBASE)/Makefile.base

View File

@ -3,4 +3,4 @@ ifneq (,$(filter saul_default,$(USEMODULE)))
endif endif
# setup the samd21 arduino bootloader related dependencies # setup the samd21 arduino bootloader related dependencies
include $(RIOTBOARD)/common/samd21-arduino-bootloader/Makefile.dep include $(RIOTBOARD)/common/samdx1-arduino-bootloader/Makefile.dep

View File

@ -2,7 +2,7 @@ PORT_LINUX ?= /dev/ttyACM0
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.usbmodem*))) PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.usbmodem*)))
# Include all definitions for flashing with bossa over USB # Include all definitions for flashing with bossa over USB
include $(RIOTBOARD)/common/samd21-arduino-bootloader/Makefile.include include $(RIOTBOARD)/common/samdx1-arduino-bootloader/Makefile.include
# Include handling of serial and non-bossa programmers (if selected by user) # Include handling of serial and non-bossa programmers (if selected by user)
include $(RIOTMAKE)/boards/sam0.inc.mk include $(RIOTMAKE)/boards/sam0.inc.mk

View File

@ -1,8 +1,8 @@
MODULE = boards_common_arduino-mkr MODULE = boards_common_arduino-mkr
ifneq (,$(filter boards_common_samd21-arduino-bootloader,$(USEMODULE))) ifneq (,$(filter boards_common_samdx1-arduino-bootloader,$(USEMODULE)))
# Add the samd21-arduino-bootloader directory to the build # Add the samdx1-arduino-bootloader directory to the build
DIRS += $(RIOTBOARD)/common/samd21-arduino-bootloader DIRS += $(RIOTBOARD)/common/samdx1-arduino-bootloader
endif endif
include $(RIOTBASE)/Makefile.base include $(RIOTBASE)/Makefile.base

View File

@ -3,4 +3,4 @@ ifneq (,$(filter saul_default,$(USEMODULE)))
endif endif
# setup the samd21 arduino bootloader related dependencies # setup the samd21 arduino bootloader related dependencies
include $(RIOTBOARD)/common/samd21-arduino-bootloader/Makefile.dep include $(RIOTBOARD)/common/samdx1-arduino-bootloader/Makefile.dep

View File

@ -5,6 +5,6 @@ ifeq ($(PROGRAMMER),jlink)
endif endif
# Include all definitions for flashing with bossa over USB # Include all definitions for flashing with bossa over USB
include $(RIOTBOARD)/common/samd21-arduino-bootloader/Makefile.include include $(RIOTBOARD)/common/samdx1-arduino-bootloader/Makefile.include
INCLUDES += -I$(RIOTBOARD)/common/arduino-mkr/include INCLUDES += -I$(RIOTBOARD)/common/arduino-mkr/include

View File

@ -1,3 +0,0 @@
MODULE = boards_common_samd21-arduino-bootloader
include $(RIOTBASE)/Makefile.base

View File

@ -0,0 +1,3 @@
MODULE = boards_common_samdx1-arduino-bootloader
include $(RIOTBASE)/Makefile.base

View File

@ -2,6 +2,6 @@ include $(RIOTBOARD)/common/makefiles/stdio_cdc_acm.dep.mk
# USB Board reset only works if CDC ACM is used # USB Board reset only works if CDC ACM is used
ifneq (,$(filter stdio_cdc_acm,$(USEMODULE))) ifneq (,$(filter stdio_cdc_acm,$(USEMODULE)))
USEMODULE += boards_common_samd21-arduino-bootloader USEMODULE += boards_common_samdx1-arduino-bootloader
USEMODULE += usb_board_reset USEMODULE += usb_board_reset
endif endif

View File

@ -1,8 +1,8 @@
MODULE = boards_common_sodaq MODULE = boards_common_sodaq
ifneq (,$(filter boards_common_samd21-arduino-bootloader,$(USEMODULE))) ifneq (,$(filter boards_common_samdx1-arduino-bootloader,$(USEMODULE)))
# Add the samd21-arduino-bootloader directory to the build # Add the samdx1-arduino-bootloader directory to the build
DIRS += $(RIOTBOARD)/common/samd21-arduino-bootloader DIRS += $(RIOTBOARD)/common/samdx1-arduino-bootloader
endif endif
include $(RIOTBASE)/Makefile.base include $(RIOTBASE)/Makefile.base

View File

@ -3,4 +3,4 @@ ifneq (,$(filter saul_default,$(USEMODULE)))
endif endif
# setup the samd21 arduino bootloader related dependencies # setup the samd21 arduino bootloader related dependencies
include $(RIOTBOARD)/common/samd21-arduino-bootloader/Makefile.dep include $(RIOTBOARD)/common/samdx1-arduino-bootloader/Makefile.dep

View File

@ -2,4 +2,4 @@
INCLUDES += -I$(RIOTBOARD)/common/sodaq/include INCLUDES += -I$(RIOTBOARD)/common/sodaq/include
# Include all definitions for flashing with bossa over USB # Include all definitions for flashing with bossa over USB
include $(RIOTBOARD)/common/samd21-arduino-bootloader/Makefile.include include $(RIOTBOARD)/common/samdx1-arduino-bootloader/Makefile.include

View File

@ -1,8 +1,8 @@
MODULE = board MODULE = board
ifneq (,$(filter boards_common_samd21-arduino-bootloader,$(USEMODULE))) ifneq (,$(filter boards_common_samdx1-arduino-bootloader,$(USEMODULE)))
# Add the samd21-arduino-bootloader directory to the build # Add the samdx1-arduino-bootloader directory to the build
DIRS += $(RIOTBOARD)/common/samd21-arduino-bootloader DIRS += $(RIOTBOARD)/common/samdx1-arduino-bootloader
endif endif
include $(RIOTBASE)/Makefile.base include $(RIOTBASE)/Makefile.base

View File

@ -3,4 +3,4 @@ ifneq (,$(filter saul_default,$(USEMODULE)))
endif endif
# setup the samd21 arduino bootloader related dependencies # setup the samd21 arduino bootloader related dependencies
include $(RIOTBOARD)/common/samd21-arduino-bootloader/Makefile.dep include $(RIOTBOARD)/common/samdx1-arduino-bootloader/Makefile.dep

View File

@ -5,4 +5,4 @@ ifeq ($(PROGRAMMER),jlink)
endif endif
# Include all definitions for flashing with bossa over USB # Include all definitions for flashing with bossa over USB
include $(RIOTBOARD)/common/samd21-arduino-bootloader/Makefile.include include $(RIOTBOARD)/common/samdx1-arduino-bootloader/Makefile.include

View File

@ -1,5 +1,5 @@
MODULE = board MODULE = board
DIRS = $(RIOTBOARD)/common/samd21-arduino-bootloader DIRS = $(RIOTBOARD)/common/samdx1-arduino-bootloader
include $(RIOTBASE)/Makefile.base include $(RIOTBASE)/Makefile.base

View File

@ -7,4 +7,4 @@ ifneq (,$(filter saul_default,$(USEMODULE)))
endif endif
# setup the samd21 arduino bootloader related dependencies # setup the samd21 arduino bootloader related dependencies
include $(RIOTBOARD)/common/samd21-arduino-bootloader/Makefile.dep include $(RIOTBOARD)/common/samdx1-arduino-bootloader/Makefile.dep

View File

@ -1,6 +1,6 @@
CFLAGS += -DBOOTLOADER_UF2 CFLAGS += -DBOOTLOADER_UF2
# Include all definitions for flashing with bossa other USB # Include all definitions for flashing with bossa other USB
include $(RIOTBOARD)/common/samd21-arduino-bootloader/Makefile.include include $(RIOTBOARD)/common/samdx1-arduino-bootloader/Makefile.include
# Include handling of serial and non-bossa programmers (if selected by user) # Include handling of serial and non-bossa programmers (if selected by user)
include $(RIOTMAKE)/boards/sam0.inc.mk include $(RIOTMAKE)/boards/sam0.inc.mk

View File

@ -1,8 +1,8 @@
MODULE = board MODULE = board
ifneq (,$(filter boards_common_samd21-arduino-bootloader,$(USEMODULE))) ifneq (,$(filter boards_common_samdx1-arduino-bootloader,$(USEMODULE)))
# Add the samd21-arduino-bootloader directory to the build # Add the samdx1-arduino-bootloader directory to the build
DIRS += $(RIOTBOARD)/common/samd21-arduino-bootloader DIRS += $(RIOTBOARD)/common/samdx1-arduino-bootloader
endif endif
include $(RIOTBASE)/Makefile.base include $(RIOTBASE)/Makefile.base

View File

@ -1,8 +1,8 @@
MODULE = board MODULE = board
ifneq (,$(filter boards_common_samd21-arduino-bootloader,$(USEMODULE))) ifneq (,$(filter boards_common_samdx1-arduino-bootloader,$(USEMODULE)))
# Add the samd21-arduino-bootloader directory to the build # Add the samdx1-arduino-bootloader directory to the build
DIRS += $(RIOTBOARD)/common/samd21-arduino-bootloader DIRS += $(RIOTBOARD)/common/samdx1-arduino-bootloader
endif endif
include $(RIOTBASE)/Makefile.base include $(RIOTBASE)/Makefile.base

View File

@ -1,8 +1,8 @@
MODULE = board MODULE = board
ifneq (,$(filter boards_common_samd21-arduino-bootloader,$(USEMODULE))) ifneq (,$(filter boards_common_samdx1-arduino-bootloader,$(USEMODULE)))
# Add the samd21-arduino-bootloader directory to the build # Add the samdx1-arduino-bootloader directory to the build
DIRS += $(RIOTBOARD)/common/samd21-arduino-bootloader DIRS += $(RIOTBOARD)/common/samdx1-arduino-bootloader
endif endif
include $(RIOTBASE)/Makefile.base include $(RIOTBASE)/Makefile.base

View File

@ -1,6 +1,6 @@
MODULE = board MODULE = board
DIRS += $(RIOTBOARD)/common/samd21-arduino-bootloader DIRS += $(RIOTBOARD)/common/samdx1-arduino-bootloader
DIRS += $(RIOTBOARD)/common/arduino-zero DIRS += $(RIOTBOARD)/common/arduino-zero
include $(RIOTBASE)/Makefile.base include $(RIOTBASE)/Makefile.base

View File

@ -1,4 +1,4 @@
include $(RIOTBOARD)/common/arduino-zero/Makefile.dep include $(RIOTBOARD)/common/arduino-zero/Makefile.dep
# setup the samd21 arduino bootloader related dependencies # setup the samd21 arduino bootloader related dependencies
include $(RIOTBOARD)/common/samd21-arduino-bootloader/Makefile.dep include $(RIOTBOARD)/common/samdx1-arduino-bootloader/Makefile.dep

View File

@ -1,5 +1,5 @@
CFLAGS += -DBOOTLOADER_UF2 CFLAGS += -DBOOTLOADER_UF2
# Include all definitions for flashing with bossa other USB # Include all definitions for flashing with bossa other USB
include $(RIOTBOARD)/common/samd21-arduino-bootloader/Makefile.include include $(RIOTBOARD)/common/samdx1-arduino-bootloader/Makefile.include
include $(RIOTBOARD)/common/arduino-zero/Makefile.include include $(RIOTBOARD)/common/arduino-zero/Makefile.include