From 8659e5a003585c51b3c73a7a9aafbb5653c5bcf9 Mon Sep 17 00:00:00 2001 From: Evagan2018 Date: Wed, 28 Jan 2026 09:38:36 +0100 Subject: [PATCH 1/3] Added mw-usb-fs-ci.yml workflow. Updated README.md file. --- .github/workflows/mw-usb-fs-ci.yml | 38 ++++++++++++++++++++++++++++++ README.md | 6 +++++ 2 files changed, 44 insertions(+) create mode 100644 .github/workflows/mw-usb-fs-ci.yml diff --git a/.github/workflows/mw-usb-fs-ci.yml b/.github/workflows/mw-usb-fs-ci.yml new file mode 100644 index 0000000..fd5cefa --- /dev/null +++ b/.github/workflows/mw-usb-fs-ci.yml @@ -0,0 +1,38 @@ +name: Build test + +on: + workflow_dispatch: + pull_request: + branches: [main] + push: + branches: [main] + schedule: + - cron: '0 6 * * 1' + +jobs: + build_and_test: + runs-on: ubuntu-latest + + steps: + - name: Checkout repo + uses: actions/checkout@v6 + + - name: Install tools + uses: ARM-software/cmsis-actions/vcpkg@v1 + + - name: Activate Arm tool license + uses: ARM-software/cmsis-actions/armlm@v1 + + - name: Cache packs + uses: actions/cache@v5 + with: + key: cmsis-packs-download + path: /home/runner/.cache/arm/packs + + - name: Initialize CMSIS pack root folder + run: | + cpackget init https://www.keil.com/pack/index.pidx + + - name: Build USB middleware binaries with AC6 compiler + run: | + cbuild USB_Device.csolution.yml --packs --context .+STM32F746NGHx --toolchain AC6 diff --git a/README.md b/README.md index e0fabae..74ab9ac 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,7 @@ +[![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) +[![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) + + # Using MDK-Middleware with Keil Studio [Developing with MDK-Middleware]( @@ -45,6 +49,7 @@ This is a list of the relevant files and directories: | File/Directory | Description | |----------------|-------------| +| [`.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 project. | | [vcpkg-configuration.json](./vcpkg-configuration.json) | List of tools installed (by Arm Tools Environment Manager) in VS Code | | [USB_Device.csolution.yml](./USB_Device.csolution.yml) | Main solution file containing USB Device example projects | | [HID](./HID) | USB HID Device example project (not used for the application) | @@ -52,6 +57,7 @@ This is a list of the relevant files and directories: | [VirtualCOM](./VirtualCOM) | USB Virtual COM Port Device example project (not used for the application) | | [Board](./Board) | Board support layers for STM32F746G-DISCO and custom hardware | + ## References - [Keil Studio Documentation](https://mdk-packs.github.io/vscode-cmsis-solution-docs/) From 63e7a834033b988b5059362fd264006bf4232f24 Mon Sep 17 00:00:00 2001 From: Evagan2018 Date: Wed, 28 Jan 2026 09:40:50 +0100 Subject: [PATCH 2/3] Typo --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 74ab9ac..2e10e50 100644 --- a/README.md +++ b/README.md @@ -49,7 +49,7 @@ This is a list of the relevant files and directories: | File/Directory | Description | |----------------|-------------| -| [`.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 project. | +| [`.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. | | [vcpkg-configuration.json](./vcpkg-configuration.json) | List of tools installed (by Arm Tools Environment Manager) in VS Code | | [USB_Device.csolution.yml](./USB_Device.csolution.yml) | Main solution file containing USB Device example projects | | [HID](./HID) | USB HID Device example project (not used for the application) | From c3eb45cf8ba5c7020019ad9e9cdfb1af85df8015 Mon Sep 17 00:00:00 2001 From: Evagan2018 Date: Mon, 2 Feb 2026 17:08:33 +0100 Subject: [PATCH 3/3] Simplified cbuild commandline --- .github/workflows/mw-usb-fs-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/mw-usb-fs-ci.yml b/.github/workflows/mw-usb-fs-ci.yml index fd5cefa..101116a 100644 --- a/.github/workflows/mw-usb-fs-ci.yml +++ b/.github/workflows/mw-usb-fs-ci.yml @@ -35,4 +35,4 @@ jobs: - name: Build USB middleware binaries with AC6 compiler run: | - cbuild USB_Device.csolution.yml --packs --context .+STM32F746NGHx --toolchain AC6 + cbuild USB_Device.csolution.yml --packs