12 lines
231 B
Makefile
Raw Normal View History

2023-03-19 17:58:20 +07:00
MCU = LPC51U68
2019-08-24 00:52:46 +07:00
CFLAGS += \
-DCPU_LPC51U68JBD64 \
2023-03-19 17:58:20 +07:00
-DCFG_TUSB_MEM_SECTION='__attribute__((section(".data")))'
2019-08-24 00:52:46 +07:00
JLINK_DEVICE = LPC51U68
2021-04-28 23:44:04 +07:00
PYOCD_TARGET = LPC51U68
2019-08-24 00:52:46 +07:00
2019-09-01 21:04:43 +07:00
# flash using pyocd (51u68 is not supported yet)
2021-04-28 23:44:04 +07:00
flash: flash-pyocd