Skip to content

Commit bd897d9

Browse files
authored
Merge branch 'hathach:master' into master
2 parents e8b7f21 + 50e61e0 commit bd897d9

File tree

174 files changed

+8872
-3293
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

174 files changed

+8872
-3293
lines changed

.github/workflows/build_arm.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
- 'stm32f0 stm32f1 stm32f2 stm32f3'
4747
- 'stm32f4'
4848
- 'stm32f7'
49-
- 'stm32g4 stm32h7'
49+
- 'stm32h7'
5050
- 'stm32l0 stm32l4 stm32u5 stm32wb'
5151
- 'tm4c123 xmc4000'
5252
steps:

.github/workflows/build_iar.yml

Lines changed: 28 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ concurrency:
2323
cancel-in-progress: true
2424

2525
jobs:
26-
build-arm:
26+
makefile:
2727
runs-on: [self-hosted, Linux, X64, hifiphile]
2828
strategy:
2929
fail-fast: false
@@ -32,7 +32,7 @@ jobs:
3232
# Alphabetical order
3333
# Note: bundle multiple families into a matrix since there is only one self-hosted instance can
3434
# run IAR build. Too many matrix can hurt due to setup/teardown overhead.
35-
- 'stm32f0 stm32f1 stm32f4 stm32f7 stm32g4 stm32h7 stm32l4'
35+
- 'stm32f0 stm32f1 stm32f7 stm32l4'
3636
steps:
3737
- name: Clean workspace
3838
run: |
@@ -48,3 +48,29 @@ jobs:
4848

4949
- name: Build
5050
run: python3 tools/build_family.py ${{ matrix.family }} CC=iccarm
51+
52+
cmake:
53+
runs-on: [self-hosted, Linux, X64, hifiphile]
54+
strategy:
55+
fail-fast: false
56+
matrix:
57+
family:
58+
# Alphabetical order
59+
# Note: bundle multiple families into a matrix since there is only one self-hosted instance can
60+
# run IAR build. Too many matrix can hurt due to setup/teardown overhead.
61+
- 'stm32g0 stm32g4 stm32h7'
62+
steps:
63+
- name: Clean workspace
64+
run: |
65+
echo "Cleaning up previous run"
66+
rm -rf "${{ github.workspace }}"
67+
mkdir -p "${{ github.workspace }}"
68+
69+
- name: Checkout TinyUSB
70+
uses: actions/checkout@v3
71+
72+
- name: Get Dependencies
73+
run: python3 tools/get_deps.py ${{ matrix.family }}
74+
75+
- name: Build
76+
run: python3 tools/build_cmake.py ${{ matrix.family }} -DTOOLCHAIN=iar

.github/workflows/build_win_mac.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ jobs:
4848
uses: actions/checkout@v3
4949

5050
- name: Get Dependencies
51-
run: python3 tools/get_family_deps.py stm32f4
51+
run: python3 tools/get_deps.py stm32f4
5252

5353
- name: Build
5454
run: python3 tools/build_family.py stm32f4 stm32f411disco

.github/workflows/cmake_arm.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ jobs:
3838
- 'imxrt'
3939
- 'rp2040'
4040
- 'stm32g0'
41+
- 'stm32g4'
4142
steps:
4243
- name: Setup Python
4344
uses: actions/setup-python@v4
@@ -75,11 +76,11 @@ jobs:
7576
# Upload binaries for hardware test with self-hosted
7677
- name: Prepare rp2040 Artifacts
7778
if: contains(matrix.family, 'rp2040') && github.repository_owner == 'hathach'
78-
working-directory: ${{github.workspace}}/cmake-build-ci-raspberry_pi_pico
79+
working-directory: ${{github.workspace}}/cmake-build/cmake-build-raspberry_pi_pico
7980
run: |
80-
find device/ -name "*.elf" -exec mv {} ../ \;
81-
# find host/ -name "*.elf" -exec mv {} ../ \;
82-
# find dual/ -name "*.elf" -exec mv {} ../ \;
81+
find device/ -name "*.elf" -exec mv {} ../../ \;
82+
# find host/ -name "*.elf" -exec mv {} ../../ \;
83+
# find dual/ -name "*.elf" -exec mv {} ../../ \;
8384
8485
- name: Upload Artifacts for rp2040
8586
if: contains(matrix.family,'rp2040') && github.repository_owner == 'hathach'

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ _build
2121
/examples/*/*/ses
2222
/examples/*/*/ozone
2323
/examples/obsolete
24+
hw/bsp/**/cubemx/*/
25+
.mxproject
2426
# coverity intermediate files
2527
cov-int
2628
# cppcheck build directories

.idea/cmake.xml

Lines changed: 15 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/runConfigurations/kl25.xml

Lines changed: 10 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/runConfigurations/lpc1857.xml

Lines changed: 10 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/runConfigurations/mcx947.xml

Lines changed: 10 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/runConfigurations/nrf52840.xml

Lines changed: 10 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)