mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-17 04:52:59 +01:00
boards/{arduino,wemos}-zero: Dedpulicated code
This commit is contained in:
parent
98824df68b
commit
17b890c16e
@ -1,2 +1 @@
|
|||||||
include $(RIOTBOARD)/common/arduino-zero/Makefile.include
|
include $(RIOTBOARD)/common/arduino-zero/Makefile.include
|
||||||
include $(RIOTMAKE)/boards/sam0.inc.mk
|
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
INCLUDES += -I$(RIOTBOARD)/common/arduino-zero/include
|
INCLUDES += -I$(RIOTBOARD)/common/arduino-zero/include
|
||||||
|
|
||||||
OPENOCD_CONFIG ?= $(RIOTBOARD)/common/arduino-zero/dist/openocd.cfg
|
OPENOCD_CONFIG ?= $(RIOTBOARD)/common/arduino-zero/dist/openocd.cfg
|
||||||
|
|
||||||
|
include $(RIOTMAKE)/boards/sam0.inc.mk
|
||||||
|
@ -1,18 +1,5 @@
|
|||||||
PORT_LINUX ?= /dev/ttyACM0
|
|
||||||
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.usbmodem*)))
|
|
||||||
|
|
||||||
CFLAGS += -DBOOTLOADER_UF2
|
CFLAGS += -DBOOTLOADER_UF2
|
||||||
|
|
||||||
# setup serial terminal
|
|
||||||
include $(RIOTMAKE)/tools/serial.inc.mk
|
|
||||||
|
|
||||||
# setup the flash tool used
|
|
||||||
ifeq ($(PROGRAMMER),jlink)
|
|
||||||
# in case J-Link is attached to SWD pins, use a plain CPU memory model
|
|
||||||
JLINK_DEVICE := atsamd21
|
|
||||||
include $(RIOTMAKE)/tools/jlink.inc.mk
|
|
||||||
endif
|
|
||||||
|
|
||||||
# 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/samd21-arduino-bootloader/Makefile.include
|
||||||
include $(RIOTBOARD)/common/arduino-zero/Makefile.include
|
include $(RIOTBOARD)/common/arduino-zero/Makefile.include
|
||||||
|
Loading…
Reference in New Issue
Block a user