Skip to content

Commit d05d4ce

Browse files
authored
Merge branch 'midihost' into rp2040-hcd-bulk
2 parents 35668fc + 686bc14 commit d05d4ce

File tree

286 files changed

+6629
-4972
lines changed

Some content is hidden

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

286 files changed

+6629
-4972
lines changed

.github/ISSUE_TEMPLATE/bug_report.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,3 +76,11 @@ body:
7676
description: If applicable, add screenshots to help explain your problem.
7777
validations:
7878
required: false
79+
80+
- type: checkboxes
81+
attributes:
82+
label: I have checked existing issues, dicussion and documentation
83+
description: You agree to check all the resources above before opening a new issue.
84+
options:
85+
- label: I confirm I have checked existing issues, dicussion and documentation.
86+
required: true

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
1+
blank_issues_enabled: false
12
contact_links:
23
- name: TinyUSB Discussion
34
url: https://github.com/hathach/tinyusb/discussions
45
about: If you have other questions or need help, post it here.
6+
- name: TinyUSB Docs
7+
url: https://docs.tinyusb.org/
8+
about: Online documentation

.github/ISSUE_TEMPLATE/feature_request.md

Lines changed: 0 additions & 14 deletions
This file was deleted.
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
name: Feature Request
2+
description: Suggest an idea for this project
3+
labels: 'Feature 💡'
4+
body:
5+
- type: markdown
6+
attributes:
7+
value: |
8+
Thanks for taking the time to fill out this request!
9+
It's okay to leave some blank if it doesn't apply to your request.
10+
11+
- type: input
12+
attributes:
13+
label: Related area
14+
description: Please briefly explain the area of your Feature Request.
15+
placeholder: eg. new port support, device stack, class driver ...
16+
validations:
17+
required: true
18+
19+
- type: input
20+
attributes:
21+
label: Hardware specification
22+
description: Please provide if your proposal depends on specific Hardware.
23+
placeholder: eg. rp2040, samd51 ...
24+
validations:
25+
required: true
26+
27+
- type: textarea
28+
attributes:
29+
label: Is your feature request related to a problem?
30+
description: Please provide a clear and concise description of what the problem is. Add relevant issue link.
31+
placeholder: ex. I'm facing the issue/missing function...
32+
validations:
33+
required: true
34+
35+
- type: textarea
36+
attributes:
37+
label: Describe the solution you'd like
38+
description: Please provide a clear and concise description of what you want to happen.
39+
placeholder: ex. When using this function...
40+
validations:
41+
required: true
42+
43+
- type: checkboxes
44+
attributes:
45+
label: I have checked existing issues, dicussion and documentation
46+
description: You agree to check all the resources above before opening a new issue.
47+
options:
48+
- label: I confirm I have checked existing issues, dicussion and documentation.
49+
required: true

.github/workflows/build_aarch64.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,13 @@ jobs:
2424
uses: actions/setup-python@v2
2525

2626
- name: Checkout TinyUSB
27-
uses: actions/checkout@v2
27+
uses: actions/checkout@v3
2828

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

3232
- name: Checkout hathach/linkermap
33-
uses: actions/checkout@v2
33+
uses: actions/checkout@v3
3434
with:
3535
repository: hathach/linkermap
3636
path: linkermap
@@ -55,6 +55,9 @@ jobs:
5555
- name: Set Toolchain Path
5656
run: echo >> $GITHUB_PATH `echo ~/cache/toolchain/*/bin`
5757

58+
- name: Get Dependencies
59+
run: python3 tools/get_dependencies.py ${{ matrix.family }}
60+
5861
- name: Build
5962
run: python3 tools/build_family.py ${{ matrix.family }}
6063

.github/workflows/build_arm.yml

Lines changed: 22 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@ jobs:
1515
runs-on: ubuntu-latest
1616
steps:
1717
- name: Setup Ruby
18-
uses: actions/setup-ruby@v1
18+
uses: ruby/setup-ruby@v1
1919
with:
2020
ruby-version: '2.7'
2121

2222
- name: Checkout TinyUSB
23-
uses: actions/checkout@v2
23+
uses: actions/checkout@v3
2424

2525
- name: Unit Tests
2626
run: |
@@ -57,51 +57,41 @@ jobs:
5757
- 'stm32f1'
5858
- 'stm32f4'
5959
- 'stm32f7'
60+
- 'stm32g4'
6061
- 'stm32h7'
6162
- 'stm32l4'
63+
- 'stm32wb'
6264
- 'tm4c123'
6365
- 'xmc4000'
6466
steps:
6567
- name: Setup Python
66-
uses: actions/setup-python@v2
68+
uses: actions/setup-python@v3
69+
70+
- name: Install ARM GCC
71+
uses: carlosperate/arm-none-eabi-gcc-action@v1
72+
with:
73+
release: '11.2-2022.02'
6774

6875
- name: Checkout TinyUSB
69-
uses: actions/checkout@v2
76+
uses: actions/checkout@v3
7077

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

7481
- name: Checkout hathach/linkermap
75-
uses: actions/checkout@v2
82+
uses: actions/checkout@v3
7683
with:
7784
repository: hathach/linkermap
7885
path: linkermap
7986

80-
- name: Checkout pico-sdk
87+
- name: Checkout pico-sdk for rp2040
8188
if: matrix.family == 'rp2040'
8289
run: |
8390
git clone --depth 1 -b develop https://github.com/raspberrypi/pico-sdk ~/pico-sdk
8491
echo >> $GITHUB_ENV PICO_SDK_PATH=~/pico-sdk
8592
86-
- name: Set Toolchain URL
87-
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
88-
89-
- name: Cache Toolchain
90-
uses: actions/cache@v2
91-
id: cache-toolchain
92-
with:
93-
path: ~/cache/
94-
key: ${{ runner.os }}-21-03-04-${{ env.TOOLCHAIN_URL }}
95-
96-
- name: Install Toolchain
97-
if: steps.cache-toolchain.outputs.cache-hit != 'true'
98-
run: |
99-
mkdir -p ~/cache/toolchain
100-
wget --progress=dot:mega $TOOLCHAIN_URL -O toolchain.tar.gz
101-
tar -C ~/cache/toolchain -xaf toolchain.tar.gz
102-
103-
- name: Set Toolchain Path
104-
run: echo >> $GITHUB_PATH `echo ~/cache/toolchain/*/bin`
93+
- name: Get Dependencies
94+
run: python3 tools/get_dependencies.py ${{ matrix.family }}
10595

10696
- name: Build
10797
run: python3 tools/build_family.py ${{ matrix.family }}
@@ -132,33 +122,18 @@ jobs:
132122

133123
steps:
134124
- name: Setup Python
135-
uses: actions/setup-python@v2
125+
uses: actions/setup-python@v3
126+
127+
- name: Install ARM GCC
128+
uses: carlosperate/arm-none-eabi-gcc-action@v1
129+
with:
130+
release: '11.2-2022.02'
136131

137132
- name: Checkout TinyUSB
138-
uses: actions/checkout@v2
133+
uses: actions/checkout@v3
139134

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

143-
- name: Set Toolchain URL
144-
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
145-
146-
- name: Cache Toolchain
147-
uses: actions/cache@v2
148-
id: cache-toolchain
149-
with:
150-
path: ~/cache/
151-
key: ${{ runner.os }}-21-03-04-${{ env.TOOLCHAIN_URL }}
152-
153-
- name: Install Toolchain
154-
if: steps.cache-toolchain.outputs.cache-hit != 'true'
155-
run: |
156-
mkdir -p ~/cache/toolchain
157-
wget --progress=dot:mega $TOOLCHAIN_URL -O toolchain.tar.gz
158-
tar -C ~/cache/toolchain -xaf toolchain.tar.gz
159-
160-
- name: Set Toolchain Path
161-
run: echo >> $GITHUB_PATH `echo ~/cache/toolchain/*/bin`
162-
163138
- name: Build
164139
run: python3 tools/build_board.py ${{ matrix.example }}

.github/workflows/build_esp.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,10 @@ jobs:
2929
run: docker pull espressif/idf:latest
3030

3131
- name: Checkout TinyUSB
32-
uses: actions/checkout@v2
32+
uses: actions/checkout@v3
3333

3434
- name: Checkout hathach/linkermap
35-
uses: actions/checkout@v2
35+
uses: actions/checkout@v3
3636
with:
3737
repository: hathach/linkermap
3838
path: linkermap

.github/workflows/build_msp430.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,13 @@ jobs:
2121
uses: actions/setup-python@v2
2222

2323
- name: Checkout TinyUSB
24-
uses: actions/checkout@v2
24+
uses: actions/checkout@v3
2525

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

2929
- name: Checkout hathach/linkermap
30-
uses: actions/checkout@v2
30+
uses: actions/checkout@v3
3131
with:
3232
repository: hathach/linkermap
3333
path: linkermap
@@ -52,6 +52,9 @@ jobs:
5252
- name: Set Toolchain Path
5353
run: echo >> $GITHUB_PATH `echo ~/cache/toolchain/*/bin`
5454

55+
- name: Get Dependencies
56+
run: python3 tools/get_dependencies.py ${{ matrix.family }}
57+
5558
- name: Build
5659
run: python3 tools/build_family.py ${{ matrix.family }}
5760

.github/workflows/build_renesas.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,13 @@ jobs:
2121
uses: actions/setup-python@v2
2222

2323
- name: Checkout TinyUSB
24-
uses: actions/checkout@v2
24+
uses: actions/checkout@v3
2525

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

2929
- name: Checkout hathach/linkermap
30-
uses: actions/checkout@v2
30+
uses: actions/checkout@v3
3131
with:
3232
repository: hathach/linkermap
3333
path: linkermap
@@ -53,6 +53,9 @@ jobs:
5353
- name: Set Toolchain Path
5454
run: echo >> $GITHUB_PATH `echo ~/cache/toolchain/*/bin`
5555

56+
- name: Get Dependencies
57+
run: python3 tools/get_dependencies.py ${{ matrix.family }}
58+
5659
- name: Build
5760
run: python3 tools/build_family.py ${{ matrix.family }}
5861

.github/workflows/build_riscv.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,13 @@ jobs:
2222
uses: actions/setup-python@v2
2323

2424
- name: Checkout TinyUSB
25-
uses: actions/checkout@v2
25+
uses: actions/checkout@v3
2626

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

3030
- name: Checkout hathach/linkermap
31-
uses: actions/checkout@v2
31+
uses: actions/checkout@v3
3232
with:
3333
repository: hathach/linkermap
3434
path: linkermap
@@ -53,6 +53,9 @@ jobs:
5353
- name: Set Toolchain Path
5454
run: echo >> $GITHUB_PATH `echo ~/cache/toolchain/*/bin`
5555

56+
- name: Get Dependencies
57+
run: python3 tools/get_dependencies.py ${{ matrix.family }}
58+
5659
- name: Build
5760
run: python3 tools/build_family.py ${{ matrix.family }}
5861

0 commit comments

Comments
 (0)