This commit is contained in:
2026-05-06 19:51:30 +07:00
commit 3958b0edcf
2704 changed files with 410390 additions and 0 deletions
@@ -0,0 +1,24 @@
MCU = 11uxx
MCU_DRV = 11xx
CFLAGS += \
-DCORE_M0 \
-DCFG_EXAMPLE_MSC_READONLY \
-DCFG_EXAMPLE_VIDEO_READONLY \
-DCFG_TUSB_MEM_SECTION='__attribute__((section(".data.$$RAM2")))'
# mcu driver cause following warnings
CFLAGS += \
-Wno-error=strict-prototypes \
-Wno-error=unused-parameter \
-Wno-error=redundant-decls
# All source paths should be relative to the top level.
LD_FILE = $(BOARD_PATH)/lpc11u37.ld
# For flash-jlink target
JLINK_DEVICE = LPC11U37/401
PYOCD_TARGET = lpc11u37
# flash using pyocd
flash: flash-pyocd