boards/sodaq-*: use bootloader_arduino feature

This commit is contained in:
Alexandre Abadie 2019-10-22 19:01:53 +02:00
parent 1342060977
commit f5a17a90fb
No known key found for this signature in database
GPG Key ID: 1C919A403CAE1405
3 changed files with 6 additions and 5 deletions

View File

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

View File

@ -12,3 +12,4 @@ FEATURES_PROVIDED += periph_usbdev
# Various other features (if any) # Various other features (if any)
FEATURES_PROVIDED += arduino FEATURES_PROVIDED += arduino
FEATURES_PROVIDED += bootloader_arduino

View File

@ -7,8 +7,5 @@ include $(RIOTMAKE)/tools/serial.inc.mk
# Add board common includes # Add board common includes
INCLUDES += -I$(RIOTBOARD)/common/sodaq/include INCLUDES += -I$(RIOTBOARD)/common/sodaq/include
# setup the flash tool used # Include all definitions for flashing with bossa over USB
# we use BOSSA to flash this board since there's an Arduino bootloader include $(RIOTBOARD)/common/samd21-arduino-bootloader/Makefile.include
# preflashed on it. ROM_OFFSET skips the space taken by such bootloader.
ROM_OFFSET ?= 0x2000
include $(RIOTMAKE)/tools/bossa.inc.mk