1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-19 19:43:52 +01:00

boards/seeedstudio-xiao-nrf52840: use common Adafruit nRF52 bootloader

This commit is contained in:
crasbe 2025-03-12 15:39:38 +01:00
parent f8c9df35ad
commit ec6cd78174
4 changed files with 12 additions and 3 deletions

View File

@ -1,3 +1,8 @@
MODULE = board MODULE = board
ifneq (,$(filter boards_common_adafruit-nrf52-bootloader,$(USEMODULE)))
# add the adafruit-nrf52-bootloader directory to the build
DIRS += $(RIOTBOARD)/common/adafruit-nrf52-bootloader
endif
include $(RIOTBASE)/Makefile.base include $(RIOTBASE)/Makefile.base

View File

@ -12,6 +12,8 @@ ifneq (,$(filter vfs_default,$(USEMODULE)))
USEMODULE += mtd USEMODULE += mtd
endif endif
# include common Adafruit nRF52 Bootloader dependencies
include $(RIOTBOARD)/common/adafruit-nrf52-bootloader/Makefile.dep
# include common nrf52 dependencies # include common nrf52 dependencies
include $(RIOTBOARD)/common/nrf52/bootloader_nrfutil.dep.mk
include $(RIOTBOARD)/common/nrf52/Makefile.dep include $(RIOTBOARD)/common/nrf52/Makefile.dep

View File

@ -1 +0,0 @@
../feather-nrf52840/Makefile.include

View File

@ -0,0 +1,4 @@
UF2_SOFTDEV ?= SD730
# Include the common definitions for the Adafruit nRF52 Bootloader
include $(RIOTBOARD)/common/adafruit-nrf52-bootloader/Makefile.include

View File

@ -1 +0,0 @@
../feather-nrf52840/reset.c