# 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