mirror of
https://github.com/hathach/tinyusb.git
synced 2025-01-17 05:32:55 +08:00
18 lines
380 B
Makefile
18 lines
380 B
Makefile
CFLAGS += -DCPU_MIMXRT1011DAE5A -DCFG_EXAMPLE_VIDEO_READONLY
|
|
MCU_VARIANT = MIMXRT1011
|
|
|
|
# LD file with uf2
|
|
LD_FILE = $(BOARD_PATH)/$(BOARD).ld
|
|
|
|
# For flash-jlink target
|
|
JLINK_DEVICE = MIMXRT1011DAE5A
|
|
|
|
# For flash-pyocd target
|
|
PYOCD_TARGET = mimxrt1010
|
|
|
|
# flash using pyocd
|
|
flash: flash-uf2
|
|
flash-uf2: $(BUILD)/$(PROJECT).uf2
|
|
@echo copying $<
|
|
@$(CP) $< /media/$(USER)/METROM7BOOT
|