summaryrefslogtreecommitdiffstats
path: root/tinyusb/hw/bsp/imxrt/boards/teensy_40/board.mk
blob: 0ad5ea5c015166df9e8dc7696dc1c33adf9de0ef (plain)
1
2
3
4
5
6
7
8
9
10
CFLAGS += -DCPU_MIMXRT1062DVL6A
MCU_VARIANT = MIMXRT1062

# For flash-jlink target
JLINK_DEVICE = MIMXRT1062xxx6A

# flash by using teensy_loader_cli https://github.com/PaulStoffregen/teensy_loader_cli
# Make sure it is in your PATH 
flash: $(BUILD)/$(PROJECT).hex
	teensy_loader_cli --mcu=imxrt1062 -v -w $<