mirror of
https://github.com/hathach/tinyusb.git
synced 2025-01-17 05:32:55 +08:00
d2e4af5a7b
reset detection.
23 lines
536 B
Makefile
23 lines
536 B
Makefile
CFLAGS += \
|
|
-D__MSP430F5529__ \
|
|
-DCFG_TUSB_MCU=OPT_MCU_MSP430x5xx \
|
|
-DCFG_EXAMPLE_MSC_READONLY \
|
|
-DCFG_TUD_ENDOINT0_SIZE=8
|
|
|
|
# All source paths should be relative to the top level.
|
|
LD_FILE = hw/bsp/msp_exp430f5529lp/msp430f5529.ld
|
|
LDINC += $(TOP)/hw/bsp/$(BOARD)
|
|
|
|
INC += $(TOP)/hw/bsp/$(BOARD)
|
|
|
|
# For TinyUSB port source
|
|
VENDOR = ti
|
|
CHIP_FAMILY = msp430x5xx
|
|
|
|
# Path to mspdebug, should be added into system path
|
|
MSPDEBUG = mspdebug
|
|
|
|
# flash target using mspdebug.
|
|
flash: $(BUILD)/$(BOARD)-firmware.elf
|
|
$(MSPDEBUG) tilib "prog $<"
|