1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/boards/sodaq-one/Makefile.include
Kees Bakker a10bec6874 boards/sodaq-one: add support for SODAQ ONE
The following features were tested (briefly):
* UART (the first)
* xtimer is working (it's the same code as in samr21)
2018-08-07 11:06:14 +02:00

20 lines
608 B
Makefile

# define the cpu used by the SODAQ ONE board
export CPU = samd21
export CPU_MODEL = samd21g18a
#export needed for flash rule
export PORT_LINUX ?= /dev/ttyACM0
export PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.usbmodem*)))
# setup serial terminal
include $(RIOTMAKE)/tools/serial.inc.mk
# setup the flash tool used
# we use BOSSA to flash this board since there's an Arduino bootloader
# preflashed on it. ROM_OFFSET skips the space taken by such bootloader.
ROM_OFFSET ?= 0x2000
include $(RIOTMAKE)/tools/bossa.inc.mk
# setup the boards dependencies
include $(RIOTBOARD)/$(BOARD)/Makefile.dep