hathach a05ea0d83b add CFG_EXAMPLE_MSC_READONLY for curiosity
allow family/board to exclude specific example. exclude
net_lwip_webserver from curiosity.
2021-08-29 22:53:16 +07:00

15 lines
374 B
Makefile

CFLAGS += -D__SAMD21G17A__ -DCFG_EXAMPLE_MSC_READONLY
# All source paths should be relative to the top level.
LD_FILE = $(BOARD_PATH)/samd21g17a_flash.ld
# For flash-jlink target
JLINK_DEVICE = atsamd21g17a
# flash using jlink (options are: jlink/cmsisdap/stlink/dfu)
#flash: flash-jlink
PYOCD_TARGET = atsamd21g17a
PYOCD_OPTION = -O dap_protocol=swd
flash: flash-pyocd