esp32-s2_dfu/hw/bsp/samd11/boards/samd11_xplained/board.mk

12 lines
266 B
Makefile

CFLAGS += -D__SAMD11D14AM__
# All source paths should be relative to the top level.
LD_FILE = $(BOARD_PATH)/samd11d14am_flash.ld
# For flash-jlink target
JLINK_DEVICE = ATSAMD11D14
# flash using edbg
flash: $(BUILD)/$(PROJECT).bin
edbg -b -t samd11 -e -pv -f $<