From 0745d20506f685e08044628917299d7598286ff2 Mon Sep 17 00:00:00 2001 From: Joachim Krech <8290187+jkrech@users.noreply.github.com> Date: Tue, 29 Sep 2026 11:06:38 +0200 Subject: [PATCH 1/4] Add build action workflow --- .github/workflows/build-gpio_iotoggle.yml | 47 +++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 .github/workflows/build-gpio_iotoggle.yml diff --git a/.github/workflows/build-gpio_iotoggle.yml b/.github/workflows/build-gpio_iotoggle.yml new file mode 100644 index 0000000..5a76159 --- /dev/null +++ b/.github/workflows/build-gpio_iotoggle.yml @@ -0,0 +1,47 @@ +# generated with AI +# Adapted by the create-csolution-github-action skill. + +name: Build GPIO_IOToggle + +on: + workflow_dispatch: + pull_request: + push: + branches: [main] + +permissions: + contents: read + +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + +jobs: + build: + name: Build B-U585I-IOT02A + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v7 + + - name: Activate vcpkg environment + uses: ARM-software/cmsis-actions/vcpkg@v1 + with: + config: vcpkg-configuration.json + cache: cmsis-cmake + + # The default Arm license setup is for evaluation only. + - name: Activate Arm tool license + uses: ARM-software/cmsis-actions/armlm@v1 + + - name: Build B-U585I-IOT02A + working-directory: "." + run: cbuild "GPIO_IOToggle.csolution.yml" --active "B-U585I-IOT02A" --packs + + - name: Upload build artifacts + if: always() + uses: actions/upload-artifact@v7 + with: + name: gpio-iotoggle-b-u585i-iot02a + path: ./out + if-no-files-found: warn From df2ef118f8edf6699f9288fc50da837980815f1c Mon Sep 17 00:00:00 2001 From: Joachim Krech <8290187+jkrech@users.noreply.github.com> Date: Tue, 29 Sep 2026 19:16:35 +0200 Subject: [PATCH 2/4] Update build-gpio_iotoggle.yml --- .github/workflows/build-gpio_iotoggle.yml | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/.github/workflows/build-gpio_iotoggle.yml b/.github/workflows/build-gpio_iotoggle.yml index 5a76159..035d45b 100644 --- a/.github/workflows/build-gpio_iotoggle.yml +++ b/.github/workflows/build-gpio_iotoggle.yml @@ -22,21 +22,18 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v7 + - name: Checkout repo + uses: actions/checkout@v7.0.1 - - name: Activate vcpkg environment - uses: ARM-software/cmsis-actions/vcpkg@v1 - with: - config: vcpkg-configuration.json - cache: cmsis-cmake + - name: Installl tools + uses: ARM-software/cmsis-actions/vcpkg@v1.3 - # The default Arm license setup is for evaluation only. - - name: Activate Arm tool license - uses: ARM-software/cmsis-actions/armlm@v1 + - name: Activate Arm tools license + uses: ARM-software/cmsis-actions/armlm@v1.3 - name: Build B-U585I-IOT02A working-directory: "." - run: cbuild "GPIO_IOToggle.csolution.yml" --active "B-U585I-IOT02A" --packs + run: cbuild GPIO_IOToggle.csolution.yml --active B-U585I-IOT02A --packs - name: Upload build artifacts if: always() From 330b8f252364f194a11cac8b0193a4b9db037934 Mon Sep 17 00:00:00 2001 From: Joachim Krech <8290187+jkrech@users.noreply.github.com> Date: Tue, 29 Sep 2026 19:19:09 +0200 Subject: [PATCH 3/4] Update build-gpio_iotoggle.yml --- .github/workflows/build-gpio_iotoggle.yml | 3 --- 1 file changed, 3 deletions(-) diff --git a/.github/workflows/build-gpio_iotoggle.yml b/.github/workflows/build-gpio_iotoggle.yml index 035d45b..9119098 100644 --- a/.github/workflows/build-gpio_iotoggle.yml +++ b/.github/workflows/build-gpio_iotoggle.yml @@ -28,9 +28,6 @@ jobs: - name: Installl tools uses: ARM-software/cmsis-actions/vcpkg@v1.3 - - name: Activate Arm tools license - uses: ARM-software/cmsis-actions/armlm@v1.3 - - name: Build B-U585I-IOT02A working-directory: "." run: cbuild GPIO_IOToggle.csolution.yml --active B-U585I-IOT02A --packs From dd97d45cabdfe316d3ad996ee1d9e0270dc0ea10 Mon Sep 17 00:00:00 2001 From: Joachim Krech <8290187+jkrech@users.noreply.github.com> Date: Tue, 29 Sep 2026 19:21:49 +0200 Subject: [PATCH 4/4] Update vcpkg-configuration.json add cmsis toolbox --- vcpkg-configuration.json | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/vcpkg-configuration.json b/vcpkg-configuration.json index 166b54b..807b07f 100644 --- a/vcpkg-configuration.json +++ b/vcpkg-configuration.json @@ -7,8 +7,9 @@ } ], "requires": { - "arm:compilers/arm/arm-none-eabi-gcc": "15.3.1", - "arm:tools/kitware/cmake": "4.3.3", - "arm:tools/ninja-build/ninja": "1.13.2" + "arm:compilers/arm/arm-none-eabi-gcc": "^15.3.1", + "arm:tools/kitware/cmake": "^4.3.3", + "arm:tools/ninja-build/ninja": "^1.13.2", + "arm:tools/open-cmsis-pack/cmsis-toolbox": "^2.15.0" } -} \ No newline at end of file +}