1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-16 20:32:47 +01:00
RIOT/boards/hamilton/Makefile.include

17 lines
448 B
Makefile
Raw Normal View History

# define the cpu used by Hamilton
export CPU = samd21
export CPU_MODEL = samr21e18a
# debugger config
export JLINK_DEVICE := atsamr21e18a
export OBJDUMPFLAGS += --disassemble --source --disassembler-options=force-thumb
export OFLAGS := --gap-fill 0xff
# Configure terminal, hamilton doesn't provide any UART, thus use RTT
TERMPROG = $(RIOTTOOLS)/jlink/jlink.sh
TERMFLAGS = term_rtt
USEMODULE += stdio_rtt
include $(RIOTMAKE)/tools/jlink.inc.mk