remove submodule lib/CMSIS_5

This commit is contained in:
hathach 2021-03-02 10:18:44 +07:00
parent c34b6b2324
commit 7afaae7ffc
4 changed files with 4 additions and 8 deletions

View File

@ -65,7 +65,7 @@ jobs:
submodules: 'false'
- name: Checkout Submodules in lib
run: git submodule update --init --recursive lib
run: git submodule update --init lib
- name: Build
run: python3 tools/build_family.py ${{ matrix.family }}

3
.gitmodules vendored
View File

@ -100,9 +100,6 @@
[submodule "hw/mcu/st/stm32l5xx_hal_driver"]
path = hw/mcu/st/stm32l5xx_hal_driver
url = https://github.com/STMicroelectronics/stm32l5xx_hal_driver.git
[submodule "lib/CMSIS_5"]
path = lib/CMSIS_5
url = https://github.com/ARM-software/CMSIS_5.git
[submodule "lib/sct_neopixel"]
path = lib/sct_neopixel
url = https://github.com/gsteiert/sct_neopixel

View File

@ -39,13 +39,13 @@ $ git clone https://github.com/hathach/tinyusb tinyusb
$ cd tinyusb
```
TinyUSB examples includes external repos aka submodules to provide low-level MCU peripheral's driver as well as external libraries such as FreeRTOS to compile with. Therefore we will firstly fetch those mcu driver repo by running this command in the top folder repo
Some TinyUSB examples also requires external submodule libraries in `/lib` such as FreeRTOS, Lightweight IP to build. Run following command to fetch them
```
$ git submodule update --init --recursive
$ git submodule update --init lib
```
It will takes a bit of time due to the number of supported MCUs, luckily we only need to do this once. Or if you only want to test with a specific mcu, you could only fetch its driver submodule.
In addition, MCU driver submodule is also needed to provide low-level MCU peripheral's driver. Luckily, it will be fetched if needed when you run the `make` to build your board.
### Build

@ -1 +0,0 @@
Subproject commit b7b26f50d00072812aec8453f643e24bafedccb5