mirror of
https://github.com/hathach/tinyusb.git
synced 2025-01-17 05:32:55 +08:00
22 lines
457 B
Makefile
22 lines
457 B
Makefile
MCU = K32L2B31A
|
|
|
|
CFLAGS += -DCPU_K32L2B31VLH0A
|
|
|
|
# mcu driver cause following warnings
|
|
CFLAGS += -Wno-error=unused-parameter -Wno-error=redundant-decls
|
|
|
|
# All source paths should be relative to the top level.
|
|
LD_FILE = $(MCU_DIR)/gcc/K32L2B31xxxxA_flash.ld
|
|
|
|
SRC_C += \
|
|
$(MCU_DIR)/project_template/clock_config.c \
|
|
|
|
# For flash-jlink target
|
|
JLINK_DEVICE = K32L2B31xxxxA
|
|
|
|
# For flash-pyocd target
|
|
PYOCD_TARGET = K32L2B
|
|
|
|
# flash using pyocd
|
|
flash: flash-pyocd
|