Skip to content

Commit 0de4787

Browse files
authored
Added mw-usb-fs-ci.yml workflow. Updated README.md file.
2 parents 80459d6 + c3eb45c commit 0de4787

2 files changed

Lines changed: 44 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: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
[![License](https://img.shields.io/github/license/Arm-Examples/Middleware_USB_FS?label=License)](https://github.com/Arm-Examples/Middleware_USB_FS/blob/main/LICENSE)
2+
[![Build Test](https://img.shields.io/github/actions/workflow/status/Arm-Examples/Middleware_USB_FS/mw-usb-fs-ci.yml?logo=arm&logoColor=0091bd&label=Build%20USB%20Middleware)](./.github/workflows/mw-usb-fs-ci.yml)
3+
4+
15
# Using MDK-Middleware with Keil Studio
26

37
[<img src="https://github.com/Arm-Examples/.github/raw/main/profile/MiddlewareVideo.png" alt="Developing with MDK-Middleware" width="318" height="205" align="left">](
@@ -45,13 +49,15 @@ This is a list of the relevant files and directories:
4549

4650
| File/Directory | Description |
4751
|----------------|-------------|
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. |
4853
| [vcpkg-configuration.json](./vcpkg-configuration.json) | List of tools installed (by Arm Tools Environment Manager) in VS Code |
4954
| [USB_Device.csolution.yml](./USB_Device.csolution.yml) | Main solution file containing USB Device example projects |
5055
| [HID](./HID) | USB HID Device example project (not used for the application) |
5156
| [MassStorage](./MassStorage) | USB Mass Storage Device example project (adapted for user application) |
5257
| [VirtualCOM](./VirtualCOM) | USB Virtual COM Port Device example project (not used for the application) |
5358
| [Board](./Board) | Board support layers for STM32F746G-DISCO and custom hardware |
5459

60+
5561
## References
5662

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

0 commit comments

Comments
 (0)