Skip to content

Commit c34ae26

Browse files
2 parents 6ed797b + 0de4787 commit c34ae26

2 files changed

Lines changed: 40 additions & 0 deletions

File tree

.github/workflows/mw-usb-fs-ci.yml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
name: Build test
2+
3+
on:
4+
workflow_dispatch:
5+
pull_request:
6+
branches: [main]
7+
push:
8+
branches: [main]
9+
schedule:
10+
- cron: '0 6 * * 1'
11+
12+
jobs:
13+
build_and_test:
14+
runs-on: ubuntu-latest
15+
16+
steps:
17+
- name: Checkout repo
18+
uses: actions/checkout@v6
19+
20+
- name: Install tools
21+
uses: ARM-software/cmsis-actions/vcpkg@v1
22+
23+
- name: Activate Arm tool license
24+
uses: ARM-software/cmsis-actions/armlm@v1
25+
26+
- name: Cache packs
27+
uses: actions/cache@v5
28+
with:
29+
key: cmsis-packs-download
30+
path: /home/runner/.cache/arm/packs
31+
32+
- name: Initialize CMSIS pack root folder
33+
run: |
34+
cpackget init https://www.keil.com/pack/index.pidx
35+
36+
- name: Build USB middleware binaries with AC6 compiler
37+
run: |
38+
cbuild USB_Device.csolution.yml --packs

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,13 +49,15 @@ This is a list of the relevant files and directories:
4949

5050
| File/Directory | Description |
5151
|----------------|-------------|
52+
| [`.github/workflows/`](./.github/workflows) | GitHub Action file [`mw-usb-fs-ci.yml`](./.github/workflows/mw-usb-fs-ci.yml) builds the HID, MassStorage, and VirtualCOM projects. |
5253
| [vcpkg-configuration.json](./vcpkg-configuration.json) | List of tools installed (by Arm Tools Environment Manager) in VS Code |
5354
| [USB_Device.csolution.yml](./USB_Device.csolution.yml) | Main solution file containing USB Device example projects |
5455
| [HID](./HID) | USB HID Device example project (not used for the application) |
5556
| [MassStorage](./MassStorage) | USB Mass Storage Device example project (adapted for user application) |
5657
| [VirtualCOM](./VirtualCOM) | USB Virtual COM Port Device example project (not used for the application) |
5758
| [Board](./Board) | Board support layers for STM32F746G-DISCO and custom hardware |
5859

60+
5961
## References
6062

6163
- [Keil Studio Documentation](https://mdk-packs.github.io/vscode-cmsis-solution-docs/)

0 commit comments

Comments
 (0)