diff options
author | joeycastillo <joeycastillo@utexas.edu> | 2021-12-08 15:52:07 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-08 15:52:07 -0500 |
commit | c0d02ceddd233ccccd4926b6eb5b6fe54771aac0 (patch) | |
tree | 88c257f6b70111b4ae09fd8518e38e9197cd2a4e /tinyusb/hw/bsp/msp430/family.mk | |
parent | c25b6929cd4a3db9daa33738350b969ec590cd28 (diff) | |
parent | d33d3fbd51253e3e072186a71959fdf97c8d2e75 (diff) | |
download | Sensor-Watch-c0d02ceddd233ccccd4926b6eb5b6fe54771aac0.tar.gz Sensor-Watch-c0d02ceddd233ccccd4926b6eb5b6fe54771aac0.tar.bz2 Sensor-Watch-c0d02ceddd233ccccd4926b6eb5b6fe54771aac0.zip |
Merge pull request #25 from willianpaixao/add-submodules
Add tinyusb as git submodules
Diffstat (limited to 'tinyusb/hw/bsp/msp430/family.mk')
m--------- | tinyusb | 0 | ||||
-rwxr-xr-x | tinyusb/hw/bsp/msp430/family.mk | 35 |
2 files changed, 0 insertions, 35 deletions
diff --git a/tinyusb b/tinyusb new file mode 160000 +Subproject f8288be03f28ad7b944e6925f49422dfa39202c diff --git a/tinyusb/hw/bsp/msp430/family.mk b/tinyusb/hw/bsp/msp430/family.mk deleted file mode 100755 index ceafa6ec..00000000 --- a/tinyusb/hw/bsp/msp430/family.mk +++ /dev/null @@ -1,35 +0,0 @@ -CROSS_COMPILE = msp430-elf- -DEPS_SUBMODULES += hw/mcu/ti -SKIP_NANOLIB = 1 - -CFLAGS += \ - -D__MSP430F5529__ \ - -DCFG_TUSB_MCU=OPT_MCU_MSP430x5xx \ - -DCFG_EXAMPLE_MSC_READONLY \ - -DCFG_TUD_ENDPOINT0_SIZE=8 - -# All source paths should be relative to the top level. -LD_FILE = hw/mcu/ti/msp430/msp430-gcc-support-files/include/msp430f5529.ld -LDINC += $(TOP)/hw/mcu/ti/msp430/msp430-gcc-support-files/include -LDFLAGS += $(addprefix -L,$(LDINC)) - -SRC_C += src/portable/ti/msp430x5xx/dcd_msp430x5xx.c - -INC += \ - $(TOP)/hw/mcu/ti/msp430/msp430-gcc-support-files/include \ - $(TOP)/$(BOARD_PATH) - -# export for libmsp430.so to same installation -ifneq ($(OS),Windows_NT) -export LD_LIBRARY_PATH=$(dir $(shell which MSP430Flasher)) -endif - -# flash target using TI MSP430-Flasher -# http://www.ti.com/tool/MSP430-FLASHER -# Please add its installation dir to PATH -flash: $(BUILD)/$(PROJECT).hex - MSP430Flasher -w $< -z [VCC] - -# flash target using mspdebug. -flash-mspdebug: $(BUILD)/$(PROJECT).elf - $(MSPDEBUG) tilib "prog $<" --allow-fw-update |