Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 9 additions & 11 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@ jobs:
- name: Checkout TinyUSB
uses: actions/checkout@v2

- name: Checkout Submodules in lib
run: git submodule update --init lib
- name: Checkout common submodules in lib
run: git submodule update --init lib/FreeRTOS-Kernel lib/lwip lib/sct_neopixel

- name: Set Toolchain URL
run: echo >> $GITHUB_ENV TOOLCHAIN_URL=https://github.com/xpack-dev-tools/arm-none-eabi-gcc-xpack/releases/download/v10.2.1-1.1/xpack-arm-none-eabi-gcc-10.2.1-1.1-linux-x64.tar.gz
Expand Down Expand Up @@ -124,8 +124,8 @@ jobs:
- name: Checkout TinyUSB
uses: actions/checkout@v2

- name: Checkout Submodules in lib
run: git submodule update --init lib
- name: Checkout common submodules in lib
run: git submodule update --init lib/FreeRTOS-Kernel lib/lwip

- name: Set Toolchain URL
run: echo >> $GITHUB_ENV TOOLCHAIN_URL=https://github.com/xpack-dev-tools/riscv-none-embed-gcc-xpack/releases/download/v10.1.0-1.1/xpack-riscv-none-embed-gcc-10.1.0-1.1-linux-x64.tar.gz
Expand Down Expand Up @@ -197,8 +197,6 @@ jobs:

- name: Checkout TinyUSB
uses: actions/checkout@v2
with:
submodules: 'false'

- name: Build
run: docker run --rm -v $PWD:/project -w /project espressif/idf:latest python3 tools/build_esp32s2.py ${{ matrix.board }}
Expand All @@ -213,16 +211,16 @@ jobs:
matrix:
family:
# Alphabetical order
- 'msp430'
- 'msp430'
steps:
- name: Setup Python
uses: actions/setup-python@v2

- name: Checkout TinyUSB
uses: actions/checkout@v2

- name: Checkout Submodules in lib
run: git submodule update --init lib
- name: Checkout common submodules in lib
run: git submodule update --init lib/FreeRTOS-Kernel lib/lwip

- name: Set Toolchain URL
run: echo >> $GITHUB_ENV TOOLCHAIN_URL=http://software-dl.ti.com/msp430/msp430_public_sw/mcu/msp430/MSPGCC/9_2_0_0/export/msp430-gcc-9.2.0.50_linux64.tar.bz2
Expand Down Expand Up @@ -292,8 +290,8 @@ jobs:
- name: Checkout TinyUSB
uses: actions/checkout@v2

- name: Checkout Submodules in lib
run: git submodule update --init lib
- name: Checkout common submodules in lib
run: git submodule update --init lib/FreeRTOS-Kernel lib/lwip

- name: Set Toolchain URL
run: echo >> $GITHUB_ENV TOOLCHAIN_URL=https://github.com/xpack-dev-tools/arm-none-eabi-gcc-xpack/releases/download/v10.2.1-1.1/xpack-arm-none-eabi-gcc-10.2.1-1.1-linux-x64.tar.gz
Expand Down
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -110,3 +110,6 @@
[submodule "lib/FreeRTOS-Kernel"]
path = lib/FreeRTOS-Kernel
url = https://github.com/FreeRTOS/FreeRTOS-Kernel.git
[submodule "lib/CMSIS_5"]
path = lib/CMSIS_5
url = https://github.com/ARM-software/CMSIS_5.git
11 changes: 2 additions & 9 deletions hw/bsp/lpc55/family.mk
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
UF2_FAMILY_ID = 0x2abc77ec
DEPS_SUBMODULES = hw/mcu/nxp
DEPS_SUBMODULES = lib/sct_neopixel hw/mcu/nxp

include $(TOP)/$(BOARD_PATH)/board.mk

Expand Down Expand Up @@ -41,7 +41,7 @@ SRC_C += \
$(MCU_DIR)/drivers/fsl_reset.c \
$(MCU_DIR)/drivers/fsl_usart.c \
$(MCU_DIR)/drivers/fsl_flexcomm.c \
lib/sct_neopixel/sct_neopixel.c
lib/sct_neopixel/sct_neopixel.c

INC += \
$(TOP)/$(BOARD_PATH) \
Expand All @@ -60,10 +60,3 @@ CHIP_FAMILY = lpc_ip3511

# For freeRTOS port source
FREERTOS_PORT = ARM_CM33_NTZ/non_secure

# For flash-jlink target
#JLINK_DEVICE = LPC55S69

# flash using pyocd
#flash: $(BUILD)/$(PROJECT).hex
# pyocd flash -t LPC55S69 $<
2 changes: 1 addition & 1 deletion hw/bsp/nrf/family.mk
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
UF2_FAMILY_ID = 0xADA52840
DEPS_SUBMODULES = hw/mcu/nordic/nrfx
DEPS_SUBMODULES = lib/CMSIS_5 hw/mcu/nordic/nrfx

include $(TOP)/$(BOARD_PATH)/board.mk

Expand Down
2 changes: 1 addition & 1 deletion hw/bsp/stm32f070rbnucleo/board.mk
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
ST_FAMILY = f0
DEPS_SUBMODULES = hw/mcu/st/cmsis_device_$(ST_FAMILY) hw/mcu/st/stm32$(ST_FAMILY)xx_hal_driver
DEPS_SUBMODULES = lib/CMSIS_5 hw/mcu/st/cmsis_device_$(ST_FAMILY) hw/mcu/st/stm32$(ST_FAMILY)xx_hal_driver

ST_CMSIS = hw/mcu/st/cmsis_device_$(ST_FAMILY)
ST_HAL_DRIVER = hw/mcu/st/stm32$(ST_FAMILY)xx_hal_driver
Expand Down
2 changes: 1 addition & 1 deletion hw/bsp/stm32f072disco/board.mk
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
ST_FAMILY = f0
DEPS_SUBMODULES = hw/mcu/st/cmsis_device_$(ST_FAMILY) hw/mcu/st/stm32$(ST_FAMILY)xx_hal_driver
DEPS_SUBMODULES = lib/CMSIS_5 hw/mcu/st/cmsis_device_$(ST_FAMILY) hw/mcu/st/stm32$(ST_FAMILY)xx_hal_driver

ST_CMSIS = hw/mcu/st/cmsis_device_$(ST_FAMILY)
ST_HAL_DRIVER = hw/mcu/st/stm32$(ST_FAMILY)xx_hal_driver
Expand Down
2 changes: 1 addition & 1 deletion hw/bsp/stm32f103bluepill/board.mk
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
ST_FAMILY = f1
DEPS_SUBMODULES = hw/mcu/st/cmsis_device_$(ST_FAMILY) hw/mcu/st/stm32$(ST_FAMILY)xx_hal_driver
DEPS_SUBMODULES = lib/CMSIS_5 hw/mcu/st/cmsis_device_$(ST_FAMILY) hw/mcu/st/stm32$(ST_FAMILY)xx_hal_driver

ST_CMSIS = hw/mcu/st/cmsis_device_$(ST_FAMILY)
ST_HAL_DRIVER = hw/mcu/st/stm32$(ST_FAMILY)xx_hal_driver
Expand Down
2 changes: 1 addition & 1 deletion hw/bsp/stm32f207nucleo/board.mk
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
ST_FAMILY = f2
DEPS_SUBMODULES = hw/mcu/st/cmsis_device_$(ST_FAMILY) hw/mcu/st/stm32$(ST_FAMILY)xx_hal_driver
DEPS_SUBMODULES = lib/CMSIS_5 hw/mcu/st/cmsis_device_$(ST_FAMILY) hw/mcu/st/stm32$(ST_FAMILY)xx_hal_driver

ST_CMSIS = hw/mcu/st/cmsis_device_$(ST_FAMILY)
ST_HAL_DRIVER = hw/mcu/st/stm32$(ST_FAMILY)xx_hal_driver
Expand Down
2 changes: 1 addition & 1 deletion hw/bsp/stm32f303disco/board.mk
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
ST_FAMILY = f3
DEPS_SUBMODULES = hw/mcu/st/cmsis_device_$(ST_FAMILY) hw/mcu/st/stm32$(ST_FAMILY)xx_hal_driver
DEPS_SUBMODULES = lib/CMSIS_5 hw/mcu/st/cmsis_device_$(ST_FAMILY) hw/mcu/st/stm32$(ST_FAMILY)xx_hal_driver

ST_CMSIS = hw/mcu/st/cmsis_device_$(ST_FAMILY)
ST_HAL_DRIVER = hw/mcu/st/stm32$(ST_FAMILY)xx_hal_driver
Expand Down
2 changes: 1 addition & 1 deletion hw/bsp/stm32f4/family.mk
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
UF2_FAMILY_ID = 0x57755a57
ST_FAMILY = f4
DEPS_SUBMODULES = hw/mcu/st/cmsis_device_$(ST_FAMILY) hw/mcu/st/stm32$(ST_FAMILY)xx_hal_driver
DEPS_SUBMODULES = lib/CMSIS_5 hw/mcu/st/cmsis_device_$(ST_FAMILY) hw/mcu/st/stm32$(ST_FAMILY)xx_hal_driver

ST_CMSIS = hw/mcu/st/cmsis_device_$(ST_FAMILY)
ST_HAL_DRIVER = hw/mcu/st/stm32$(ST_FAMILY)xx_hal_driver
Expand Down
2 changes: 1 addition & 1 deletion hw/bsp/stm32f7/family.mk
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
UF2_FAMILY_ID = 0x53b80f00
ST_FAMILY = f7
DEPS_SUBMODULES = hw/mcu/st/cmsis_device_$(ST_FAMILY) hw/mcu/st/stm32$(ST_FAMILY)xx_hal_driver
DEPS_SUBMODULES = lib/CMSIS_5 hw/mcu/st/cmsis_device_$(ST_FAMILY) hw/mcu/st/stm32$(ST_FAMILY)xx_hal_driver

ST_CMSIS = hw/mcu/st/cmsis_device_$(ST_FAMILY)
ST_HAL_DRIVER = hw/mcu/st/stm32$(ST_FAMILY)xx_hal_driver
Expand Down
2 changes: 1 addition & 1 deletion hw/bsp/stm32h7/family.mk
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
UF2_FAMILY_ID = 0x6db66082
ST_FAMILY = h7
DEPS_SUBMODULES = hw/mcu/st/cmsis_device_$(ST_FAMILY) hw/mcu/st/stm32$(ST_FAMILY)xx_hal_driver
DEPS_SUBMODULES = lib/CMSIS_5 hw/mcu/st/cmsis_device_$(ST_FAMILY) hw/mcu/st/stm32$(ST_FAMILY)xx_hal_driver

ST_CMSIS = hw/mcu/st/cmsis_device_$(ST_FAMILY)
ST_HAL_DRIVER = hw/mcu/st/stm32$(ST_FAMILY)xx_hal_driver
Expand Down
2 changes: 1 addition & 1 deletion hw/bsp/stm32l0538disco/board.mk
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
ST_FAMILY = l0
DEPS_SUBMODULES = hw/mcu/st/cmsis_device_$(ST_FAMILY) hw/mcu/st/stm32$(ST_FAMILY)xx_hal_driver
DEPS_SUBMODULES = lib/CMSIS_5 hw/mcu/st/cmsis_device_$(ST_FAMILY) hw/mcu/st/stm32$(ST_FAMILY)xx_hal_driver

ST_CMSIS = hw/mcu/st/cmsis_device_$(ST_FAMILY)
ST_HAL_DRIVER = hw/mcu/st/stm32$(ST_FAMILY)xx_hal_driver
Expand Down
2 changes: 1 addition & 1 deletion hw/bsp/stm32l476disco/board.mk
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
ST_FAMILY = l4
DEPS_SUBMODULES = hw/mcu/st/cmsis_device_$(ST_FAMILY) hw/mcu/st/stm32$(ST_FAMILY)xx_hal_driver
DEPS_SUBMODULES = lib/CMSIS_5 hw/mcu/st/cmsis_device_$(ST_FAMILY) hw/mcu/st/stm32$(ST_FAMILY)xx_hal_driver

ST_CMSIS = hw/mcu/st/cmsis_device_$(ST_FAMILY)
ST_HAL_DRIVER = hw/mcu/st/stm32$(ST_FAMILY)xx_hal_driver
Expand Down
2 changes: 1 addition & 1 deletion hw/bsp/stm32l4r5nucleo/board.mk
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
ST_FAMILY = l4
DEPS_SUBMODULES = hw/mcu/st/cmsis_device_$(ST_FAMILY) hw/mcu/st/stm32$(ST_FAMILY)xx_hal_driver
DEPS_SUBMODULES = lib/CMSIS_5 hw/mcu/st/cmsis_device_$(ST_FAMILY) hw/mcu/st/stm32$(ST_FAMILY)xx_hal_driver

ST_CMSIS = hw/mcu/st/cmsis_device_$(ST_FAMILY)
ST_HAL_DRIVER = hw/mcu/st/stm32$(ST_FAMILY)xx_hal_driver
Expand Down
1 change: 1 addition & 0 deletions lib/CMSIS_5
Submodule CMSIS_5 added at 202852
Loading