Commit f46041ca authored by Jonatan Antoni's avatar Jonatan Antoni
Browse files

Updates for upcoming release

parent 0df68997
Loading
Loading
Loading
Loading
+1 −1
Changes for .devcontainer/ubuntu-22.04/vcpkg-configuration.json: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -2,7 +2,7 @@
    "registries": [
      {
        "kind": "artifact",
        "location": "https://artifacts.tools.arm.com/vcpkg-ce-registry/registry.zip",
        "location": "https://artifacts.tools.arm.com/vcpkg-registry",
        "name": "arm"
      }
    ],
+8 −39
Changes for .github/workflows/core.yml: 8 added lines, 39 removed lines.
Original line number Diff line number Diff line
@@ -33,14 +33,6 @@ jobs:
        run: |
          pip install -r ./CMSIS/Core/Test/requirements.txt

      - name: Cache vcpkg
        uses: actions/cache@v4
        with:
          key: vcpkg-${{ runner.os }}-${{ runner.arch }}-${{ github.run_id }}-${{ matrix.compiler }}
          restore-keys: |
            vcpkg-${{ runner.os }}-${{ runner.arch }}-
          path: /home/runner/.vcpkg

      - name: Install LLVM dependencies and tools
        working-directory: /home/runner
        run: |
@@ -48,48 +40,25 @@ jobs:
          sudo apt-get install libtinfo5 llvm-15-tools
          sudo ln -s /usr/bin/FileCheck-15 /usr/bin/FileCheck
    
      - name: Prepare vcpkg env
        working-directory: ./CMSIS/Core/Test
        run: |
          . <(curl https://aka.ms/vcpkg-init.sh -L)
          vcpkg x-update-registry --all
          vcpkg activate
      - name: Activate vcpkg environment
        uses: ARM-software/cmsis-actions/vcpkg@v1
        with:
          config: ./CMSIS/Core/Test/vcpkg-configuration.json
          
      - name: Activate Arm tool license
        working-directory: ./CMSIS/Core/Test
        run: |
          . /home/runner/.vcpkg/vcpkg-init
          vcpkg activate
          if [[ -n "${{ env.ARM_UBL_ACTIVATION_CODE }}" ]]; then
            armlm activate --code ${{ env.ARM_UBL_ACTIVATION_CODE }}
          else
            armlm activate --server https://mdk-preview.keil.arm.com --product KEMDK-COM0
          fi
        uses: ARM-software/cmsis-actions/armlm@v1
        with:
          code: "${{ env.ARM_UBL_ACTIVATION_CODE }}"

      - uses: ammaraskar/gcc-problem-matcher@master

      - name: Run LIT
        working-directory: ./CMSIS/Core/Test
        run: |
          . /home/runner/.vcpkg/vcpkg-init
          vcpkg activate

          ./build.py lit

      - name: Deactivate Arm tool license
        if: always()
        working-directory: ./CMSIS/Core/Test
        run: |
          . /home/runner/.vcpkg/vcpkg-init
          vcpkg activate
          if [[ -n "${{ env.ARM_UBL_ACTIVATION_CODE }}" ]]; then
            armlm deactivate --code ${{ env.ARM_UBL_ACTIVATION_CODE }}
          else
            armlm deactivate --product KEMDK-COM0
          fi

      - name: Publish Test Results
        if: ${{ !cancelled() && env.ARM_UBL_ACTIVATION_CODE }}
        if: ${{ !cancelled() }}
        uses: EnricoMi/publish-unit-test-result-action@v2
        with:
          report_individual_runs: true
+8 −43
Changes for .github/workflows/corevalidation.yml: 8 added lines, 43 removed lines.
Original line number Diff line number Diff line
@@ -56,14 +56,6 @@ jobs:
        run: |
          pip install -r ./CMSIS/CoreValidation/Project/requirements.txt

      - name: Cache vcpkg
        uses: actions/cache@v4
        with:
          key: vcpkg-${{ runner.os }}-${{ runner.arch }}-${{ github.run_id }}-${{ matrix.compiler }}
          restore-keys: |
            vcpkg-${{ runner.os }}-${{ runner.arch }}-
          path: /home/runner/.vcpkg

      - name: Install LLVM/Clang dependencies
        if: matrix.compiler == 'Clang'
        working-directory: /home/runner
@@ -71,23 +63,15 @@ jobs:
          sudo apt-get update
          sudo apt-get install libtinfo5
    
      - name: Prepare vcpkg env
        working-directory: ./CMSIS/CoreValidation/Project
        run: |
          . <(curl https://aka.ms/vcpkg-init.sh -L)
          vcpkg x-update-registry --all
          vcpkg activate
      - name: Activate vcpkg environment
        uses: ARM-software/cmsis-actions/vcpkg@v1
        with:
          config: ./CMSIS/CoreValidation/Project/vcpkg-configuration.json
          
      - name: Activate Arm tool license
        working-directory: ./CMSIS/CoreValidation/Project
        run: |
          . /home/runner/.vcpkg/vcpkg-init
          vcpkg activate
          if [[ -n "${{ env.ARM_UBL_ACTIVATION_CODE }}" ]]; then
            armlm activate --code ${{ env.ARM_UBL_ACTIVATION_CODE }}
          else
            armlm activate --server https://mdk-preview.keil.arm.com --product KEMDK-COM0
          fi
        uses: ARM-software/cmsis-actions/armlm@v1
        with:
          code: "${{ env.ARM_UBL_ACTIVATION_CODE }}"
      
      - name: Initialize CodeQL
        if: matrix.compiler == 'GCC'
@@ -102,9 +86,6 @@ jobs:
      - name: Build
        working-directory: ./CMSIS/CoreValidation/Project
        run: |
          . /home/runner/.vcpkg/vcpkg-init
          vcpkg activate

          echo "Register local Cortex_DFP pack"
          cpackget add /home/runner/Cortex_DFP/ARM.Cortex_DFP.pdsc

@@ -116,29 +97,13 @@ jobs:
        uses: github/codeql-action/analyze@v3

      - name: Execute
        if: ${{ env.ARM_UBL_ACTIVATION_CODE }}
        working-directory: ./CMSIS/CoreValidation/Project
        run: |     
          . /home/runner/.vcpkg/vcpkg-init
          vcpkg activate
      
          echo "Run test projects ..."
          ./build.py --verbose -c ${{ matrix.compiler }} -d "CM*" run || echo "::warning::==== Some configurations failed to run! ==="

      - name: Deactivate Arm tool license
        if: always()
        working-directory: ./CMSIS/CoreValidation/Project
        run: |
          . /home/runner/.vcpkg/vcpkg-init
          vcpkg activate
          if [[ -n "${{ env.ARM_UBL_ACTIVATION_CODE }}" ]]; then
            armlm deactivate --code ${{ env.ARM_UBL_ACTIVATION_CODE }}
          else
            armlm deactivate --product KEMDK-COM0
          fi

      - name: Archive Test Reports
        if: ${{ !cancelled() && env.ARM_UBL_ACTIVATION_CODE }}
        if: ${{ !cancelled() }}
        uses: actions/upload-artifact@v4
        with:
          name: test-results-${{ matrix.compiler }}
+2 −2
Changes for CMSIS/Core/Include/cmsis_version.h: 2 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -31,13 +31,13 @@

/*  CMSIS-Core(M) Version definitions */
#define __CM_CMSIS_VERSION_MAIN  ( 6U)                                    /*!< \brief [31:16] CMSIS-Core(M) main version */
#define __CM_CMSIS_VERSION_SUB   ( 0U)                                    /*!< \brief [15:0]  CMSIS-Core(M) sub version */
#define __CM_CMSIS_VERSION_SUB   ( 1U)                                    /*!< \brief [15:0]  CMSIS-Core(M) sub version */
#define __CM_CMSIS_VERSION       ((__CM_CMSIS_VERSION_MAIN << 16U) | \
                                   __CM_CMSIS_VERSION_SUB           )     /*!< \brief CMSIS Core(M) version number */

/*  CMSIS-Core(A) Version definitions */
#define __CA_CMSIS_VERSION_MAIN  ( 6U)                                    /*!< \brief [31:16] CMSIS-Core(A) main version */
#define __CA_CMSIS_VERSION_SUB   ( 0U)                                    /*!< \brief [15:0]  CMSIS-Core(A) sub version */
#define __CA_CMSIS_VERSION_SUB   ( 1U)                                    /*!< \brief [15:0]  CMSIS-Core(A) sub version */
#define __CA_CMSIS_VERSION       ((__CA_CMSIS_VERSION_MAIN << 16U) | \
                                   __CA_CMSIS_VERSION_SUB          )      /*!< \brief CMSIS-Core(A) version number */

+1 −1
Changes for CMSIS/Core/Test/vcpkg-configuration.json: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -2,7 +2,7 @@
    "registries": [
      {
        "kind": "artifact",
        "location": "https://artifacts.tools.arm.com/vcpkg-ce-registry/registry.zip",
        "location": "https://artifacts.tools.arm.com/vcpkg-registry",
        "name": "arm"
      }
    ],
Loading