mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
17 lines
458 B
Makefile
17 lines
458 B
Makefile
# 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 := -O binary --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
|