summaryrefslogtreecommitdiffstats
path: root/tinyusb/hw/bsp/lpcxpresso1347/board.mk
diff options
context:
space:
mode:
authorjoeycastillo <joeycastillo@utexas.edu>2021-12-08 15:52:07 -0500
committerGitHub <noreply@github.com>2021-12-08 15:52:07 -0500
commitc0d02ceddd233ccccd4926b6eb5b6fe54771aac0 (patch)
tree88c257f6b70111b4ae09fd8518e38e9197cd2a4e /tinyusb/hw/bsp/lpcxpresso1347/board.mk
parentc25b6929cd4a3db9daa33738350b969ec590cd28 (diff)
parentd33d3fbd51253e3e072186a71959fdf97c8d2e75 (diff)
downloadSensor-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/lpcxpresso1347/board.mk')
m---------tinyusb0
-rwxr-xr-xtinyusb/hw/bsp/lpcxpresso1347/board.mk44
2 files changed, 0 insertions, 44 deletions
diff --git a/tinyusb b/tinyusb
new file mode 160000
+Subproject f8288be03f28ad7b944e6925f49422dfa39202c
diff --git a/tinyusb/hw/bsp/lpcxpresso1347/board.mk b/tinyusb/hw/bsp/lpcxpresso1347/board.mk
deleted file mode 100755
index 0d56a33a..00000000
--- a/tinyusb/hw/bsp/lpcxpresso1347/board.mk
+++ /dev/null
@@ -1,44 +0,0 @@
-DEPS_SUBMODULES += hw/mcu/nxp/lpcopen
-
-CFLAGS += \
- -flto \
- -mthumb \
- -mabi=aapcs \
- -mcpu=cortex-m3 \
- -nostdlib \
- -DCORE_M3 \
- -D__USE_LPCOPEN \
- -DCFG_EXAMPLE_MSC_READONLY \
- -DCFG_TUSB_MCU=OPT_MCU_LPC13XX \
- -DCFG_TUSB_MEM_SECTION='__attribute__((section(".data.$$RAM2")))' \
- -DCFG_TUSB_MEM_ALIGN='__attribute__((aligned(64)))'
-
-# startup.c and lpc_types.h cause following errors
-CFLAGS += -Wno-error=strict-prototypes
-
-MCU_DIR = hw/mcu/nxp/lpcopen/lpc13xx/lpc_chip_13xx
-
-# All source paths should be relative to the top level.
-LD_FILE = hw/bsp/$(BOARD)/lpc1347.ld
-
-SRC_C += \
- src/portable/nxp/lpc_ip3511/dcd_lpc_ip3511.c \
- $(MCU_DIR)/../gcc/cr_startup_lpc13xx.c \
- $(MCU_DIR)/src/chip_13xx.c \
- $(MCU_DIR)/src/clock_13xx.c \
- $(MCU_DIR)/src/gpio_13xx_1.c \
- $(MCU_DIR)/src/iocon_13xx.c \
- $(MCU_DIR)/src/sysctl_13xx.c \
- $(MCU_DIR)/src/sysinit_13xx.c
-
-INC += \
- $(TOP)/$(MCU_DIR)/inc
-
-# For freeRTOS port source
-FREERTOS_PORT = ARM_CM3
-
-# For flash-jlink target
-JLINK_DEVICE = LPC1347
-
-# flash using jlink
-flash: flash-jlink