CLSH1001-Firmware/managed_components/espressif__tinyusb/hw/bsp/pic32mz/family.mk

21 lines
356 B
Makefile
Raw Normal View History

2024-03-06 06:09:49 +08:00
CROSS_COMPILE = xc32-
CFLAGS_OPTIMIZED = -O2
LIBS_GCC = -lgcc -lm
SKIP_NANOLIB = 1
CFLAGS = \
-std=c99 \
-DCFG_TUSB_MCU=OPT_MCU_PIC32MZ
include $(TOP)/$(BOARD_PATH)/board.mk
SRC_C += \
src/portable/microchip/pic32mz/dcd_pic32mz.c \
INC += \
$(TOP)/hw/mcu/microchip/pic32mz \
$(TOP)/$(BOARD_PATH) \
# flash target using jlink
flash: flash-jlink