mirror of
https://github.com/hathach/tinyusb.git
synced 2025-01-17 05:32:55 +08:00
742b99f689
The Teensy 4.1 board has an 8MB W25Q64JV as opposed to the 2MB flash on the Teensy 4.0. This largely doensn't matter for TinyUsb, except when you attempt to access any memory in the flash above the 2MB boundary, when it fails with a hard fault.
11 lines
309 B
Makefile
11 lines
309 B
Makefile
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 $<
|