diff --git a/.github/workflows/e2e_test.yaml b/.github/workflows/e2e_test.yaml index c7a8d0c..f4cc6d0 100644 --- a/.github/workflows/e2e_test.yaml +++ b/.github/workflows/e2e_test.yaml @@ -54,8 +54,15 @@ jobs: armlm activate --server https://mdk-preview.keil.arm.com --product KEMDK-COM0 working-directory: ./test + - name: Env check + shell: bash + run: | + echo $PATH + - name: Run Test + shell: bash run: | + echo $PATH python -m robot --outputdir reports-${{ matrix.target }}-${{ matrix.arch }} --settag ${{ matrix.target }}-${{ matrix.arch }} --name ${{ matrix.target }}-${{ matrix.arch }} ./test - name: Archieve test results diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index e823ac4..166f59b 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -1,9 +1,15 @@ -name: Download Nightly Assets +name: nightly + +# This workflow picks up the latest changes from the toolbox binaries +# and runs end-to-end tests to detect regressions. It is triggered by: +# 1. A schedule set for every midnight +# 2. Manual triggering of the workflow +# 3. Changes to the workflow file on: - # schedule: - # - cron: '0 0 * * *' # Runs daily at midnight - workflow_dispatch: # Allows manual triggering of the workflow + workflow_dispatch: # Manual triggering of the workflow + schedule: + - cron: '0 0 * * *' # Runs daily at midnight pull_request: paths: - '.github/workflows/nightly.yml' @@ -13,33 +19,178 @@ concurrency: cancel-in-progress: true jobs: - download-assets: + create-toolbox: runs-on: ${{ matrix.os }} continue-on-error: true strategy: matrix: - os: [windows-latest, ubuntu-latest, macos-13] + os: [windows-2019] arch: [amd64, arm64] include: - - os: windows-latest + - os: windows-2019 target: windows extn: .exe - - os: ubuntu-latest - target: linux - extn: - - os: macos-13 - target: darwin - extn: + + # os: [windows-2019, ubuntu-latest, macos-13] + # arch: [amd64, arm64] + # include: + # - os: windows-2019 + # target: windows + # extn: .exe + # - os: ubuntu-latest + # target: linux + # extn: + # - os: macos-13 + # target: darwin + # extn: steps: - - name: Checkout repository + - name: Authenticate with GitHub CLI + shell: bash + run: | + echo ${{ secrets.GITHUB_TOKEN }} | gh auth login --with-token + + - name: Get latest nightly Run ID + id: get_run_id + shell: bash + run: | + RUN_ID=$(gh run list --limit 1 --workflow nightly --repo Open-CMSIS-Pack/devtools --json databaseId --jq '.[0].databaseId') + echo "NIGHTLY_RUN_ID=$RUN_ID" >> $GITHUB_OUTPUT + + # Download and build cbuild executable + - name: Checkout cbuild repository + uses: actions/checkout@v4 + with: + repository: Open-CMSIS-PACK/cbuild + path: cbuild + fetch-depth: 0 + + - name: Install Go + uses: actions/setup-go@v5 + with: + go-version-file: cbuild/go.mod + cache-dependency-path: | + **/go.mod + **/go.sum + + - name: Build cbuild executable + working-directory: cbuild + shell: bash + run: | + GOOS=${{ matrix.target }} GOARCH=${{ matrix.arch }} go build -ldflags "-X main.version=$(git describe --tags)" -o build/cbuild${{ matrix.extn }} ./cmd/cbuild + + # Download and build cpackget executable + - name: Checkout cpackget repository + uses: actions/checkout@v4 + with: + repository: Open-CMSIS-PACK/cpackget + path: cpackget + fetch-depth: 0 + + - name: Build cpackget executable + working-directory: cpackget + shell: bash + run: | + GOOS=${{ matrix.target }} GOARCH=${{ matrix.arch }} go build -ldflags "-X main.version=$(git describe --tags)" -o build/cpackget${{ matrix.extn }} ./cmd + + # Download and build cbuild2cmake executable + - name: Checkout cbuild2cmake repository + uses: actions/checkout@v4 + with: + repository: Open-CMSIS-PACK/cbuild2cmake + path: cbuild2cmake + fetch-depth: 0 + + - name: Build cbuild2cmake executable + working-directory: cbuild2cmake + shell: bash + run: | + GOOS=${{ matrix.target }} GOARCH=${{ matrix.arch }} go build -ldflags "-X main.version=$(git describe --tags)" -o build/cbuild2cmake${{ matrix.extn }} ./cmd/cbuild2cmake + + # Download projmgr and cbuildgen from nightly + - name: Download Open-CMSIS-Pack/devtools nightly artifacts + shell: bash + run : | + gh run download -D projmgr-${{ matrix.target }}-${{ matrix.arch }} ${{ steps.get_run_id.outputs.NIGHTLY_RUN_ID }} -n projmgr-${{ matrix.target }}-${{ matrix.arch }} -R Open-CMSIS-Pack/devtools + gh run download -D cbuildgen-${{ matrix.target }}-${{ matrix.arch }} ${{ steps.get_run_id.outputs.NIGHTLY_RUN_ID }} -n cbuildgen-${{ matrix.target }}-${{ matrix.arch }} -R Open-CMSIS-Pack/devtools + + - name: Checkout tools repo uses: actions/checkout@v4 + with: + repository: Open-CMSIS-PACK/devtools + path: devtools + + - name: Copy Files + shell: bash + run: | + mkdir -p ./cmsis-toolbox/bin + mkdir -p ./cmsis-toolbox/etc + cp ./projmgr-${{ matrix.target }}-${{ matrix.arch }}/csolution${{ matrix.extn }} ./cmsis-toolbox/bin/csolution${{ matrix.extn }} + cp ./cbuildgen-${{ matrix.target }}-${{ matrix.arch }}/cbuildgen${{ matrix.extn }}* ./cmsis-toolbox/bin/cbuildgen${{ matrix.extn }} + cp ./cbuild/build/cbuild${{ matrix.extn }} ./cmsis-toolbox/bin/cbuild${{ matrix.extn }} + cp ./cpackget/build/cpackget${{ matrix.extn }} ./cmsis-toolbox/bin/cpackget${{ matrix.extn }} + cp ./cbuild2cmake/build/cbuild2cmake${{ matrix.extn }} ./cmsis-toolbox/bin/cbuild2cmake${{ matrix.extn }} + cp -r devtools/tools/projmgr/templates/* ./cmsis-toolbox/etc + cp -r devtools/tools/projmgr/schemas/* ./cmsis-toolbox/etc + cp -r devtools/tools/buildmgr/cbuildgen/scripts/* ./cmsis-toolbox/etc + cp -r devtools/tools/buildmgr/cbuildgen/config/* ./cmsis-toolbox/etc + + - name: Update toolchain config files + if: ${{ matrix.target == 'windows' }} + shell: bash + run: | + sed -i '/set(EXT/c\ set(EXT .exe)' ./cmsis-toolbox/etc/AC6.6.16.2.cmake + sed -i '/set(EXT/c\ set(EXT .exe)' ./cmsis-toolbox/etc/GCC.10.3.1.cmake + sed -i '/set(EXT/c\ set(EXT .exe)' ./cmsis-toolbox/etc/IAR.9.32.1.cmake + sed -i '/set(EXT/c\ set(EXT .exe)' ./cmsis-toolbox/etc/CLANG.17.0.1.cmake + + - name: List files + shell: bash + run: | + ls -l ./cmsis-toolbox/bin + ls -l ./cmsis-toolbox/etc + + - name: Archieve test results + if: always() + uses: actions/upload-artifact@v4 + with: + name: cmsis-toolbox-${{ matrix.target }}-${{ matrix.arch }} + path: cmsis-toolbox + run-tests: + needs: [create-toolbox] + runs-on: ${{ matrix.os }} + continue-on-error: true + strategy: + matrix: + os: [windows-2019] + arch: [amd64, arm64] + include: + - os: windows-2019 + target: windows + extn: .exe + + # os: [windows-2019, ubuntu-22.04, macos-12] + # arch: [amd64, arm64] + # include: + # - os: windows-2019 + # target: windows + # extn: .exe + # - os: ubuntu-22.04 + # target: linux + # extn: + # - os: macos-12 + # target: darwin + # extn: + steps: + - name: Checkout toolbox repository + uses: actions/checkout@v4 + - name: Set up Python uses: actions/setup-python@v5 with: python-version: '3.11' cache: 'pip' - + - name: Install pip dependencies run: | pip install --upgrade pip @@ -51,64 +202,85 @@ jobs: config: "./test/vcpkg-configuration.json" vcpkg-downloads: "${{ github.workspace }}/.vcpkg/downloads" cache: "-" - + - name: Activate Arm tool license run: | armlm activate --server https://mdk-preview.keil.arm.com --product KEMDK-COM0 working-directory: ./test - - name: Authenticate with GitHub CLI - shell: bash - run: | - echo ${{ secrets.GITHUB_TOKEN }} | gh auth login --with-token - # gh auth login --with-token < "${{ secrets.GITHUB_TOKEN }}" + - name: Download cmsis toolbox ${{ matrix.target }} ${{ matrix.arch }} + uses: actions/download-artifact@v4 + with: + name: cmsis-toolbox-${{ matrix.target }}-${{ matrix.arch }} + path: cmsis-toolbox - - name: Get latest nightly projmgr artifacts - id: get_run_id + - name: Get installed path + if: always() + id: toolbox_path shell: bash run: | - RUN_ID=$(gh run list --limit 1 --workflow nightly --repo Open-CMSIS-Pack/devtools --json databaseId --jq '.[0].databaseId') - echo "PROJMGR_LATEST_RUN_ID=$RUN_ID" >> $GITHUB_OUTPUT - - - name: Download ProjMgr nightly artifacts - shell: bash - run : | - gh run download -D projmgr-${{ matrix.target }}-${{ matrix.arch }} ${{ steps.get_run_id.outputs.PROJMGR_LATEST_RUN_ID }} -n projmgr-${{ matrix.target }}-${{ matrix.arch }} -R Open-CMSIS-Pack/devtools + echo "set path variable with new path" + echo "$(pwd)/cmsis-toolbox/bin" + echo "path=$(echo "$(pwd)/cmsis-toolbox/bin")" >> $GITHUB_OUTPUT - - name: List downloaded files + - name: List files shell: bash - run: ls -l projmgr-${{ matrix.target }}-${{ matrix.arch }} - - - name: csolution version before - shell: bash run: | - csolution -V - - - name: Get binary path + ls -l $(pwd)/cmsis-toolbox/bin + ls -l ./cmsis-toolbox/etc + + - name: csolution version shell: bash run: | - CSOLUTION_PATH=$(which csolution) - BIN_DIR=$(dirname $CSOLUTION_PATH) - echo "$BIN_DIR" - cp ./projmgr-${{ matrix.target }}-${{ matrix.arch }}/csolution${{ matrix.extn }} $BIN_DIR/csolution${{ matrix.extn }} + echo "${{steps.toolbox_path.outputs.path}}" + PARENT_DIR=$(dirname "$(which csolution)") + echo $PARENT_DIR + ls -l $PARENT_DIR + cp -f ./cmsis-toolbox/bin/csolution.exe $PARENT_DIR + ls -l $PARENT_DIR + # export PATH="${{steps.toolbox_path.outputs.path}}${PATH:+:${PATH}}" + # csolution -V + # cpackget -V + # cbuild -V + # cbuildgen -V - - name: List downloaded files - shell: bash - run: | - CSOLUTION_PATH=$(which cbuild) - BIN_DIR=$(dirname $CSOLUTION_PATH) - ls -l $BIN_DIR + # - name: Version Check + # shell: bash + # run: | + # export PATH="$(pwd)/cmsis-toolbox/bin${PATH:+:${PATH}}" + # csolution${{ matrix.extn }} -V + # cpackget${{ matrix.extn }} -V + # cbuild${{ matrix.extn }} -V + # cbuildgen${{ matrix.extn }} -V + # cbuild2cmake${{ matrix.extn }} -V - - name: csolution version after - shell: bash - run: | - csolution -V + # - name: Env check + # shell: bash + # run: | + # export PATH="${{steps.toolbox_path.outputs.path}}${PATH:+:${PATH}}" + # env + # export PATH="${{steps.toolbox_path.outputs.path}}${PATH:+:${PATH}}" + # echo $PATH + + # - name: Run Test + # if: ${{ matrix.target == 'windows' }} + # run: | + # $env:PATH = "$(pwd)/cmsis-toolbox/bin;" + $env:PATH + # csolution -V + # cpackget -V + # cbuild -V + # cbuildgen -V + # cbuild2cmake -V + # python -m robot --outputdir reports-${{ matrix.target }}-${{ matrix.arch }} --settag ${{ matrix.target }}-${{ matrix.arch }} --name ${{ matrix.target }}-${{ matrix.arch }} ./test + + # export PATH="${{steps.toolbox_path.outputs.path}}:$PATH" + # echo $PATH - name: Run Test shell: bash run: | python -m robot --outputdir reports-${{ matrix.target }}-${{ matrix.arch }} --settag ${{ matrix.target }}-${{ matrix.arch }} --name ${{ matrix.target }}-${{ matrix.arch }} ./test - + - name: Archieve test results if: always() uses: actions/upload-artifact@v4 @@ -116,28 +288,52 @@ jobs: name: reports-${{ matrix.target }}-${{ matrix.arch }} path: reports-${{ matrix.target }}-${{ matrix.arch }} - # - name: Set up environment variables - # run: | - # echo "REPO_OWNER=Open-CMSIS-Pack" >> $GITHUB_ENV - # echo "REPO_NAME=devtools" >> $GITHUB_ENV - # echo "TOKEN=${{ secrets.GITHUB_TOKEN }}" >> $GITHUB_ENV + consolidate-report: + if: always() + needs: [run-tests] + runs-on: ubuntu-latest + permissions: write-all + steps: + - uses: actions/checkout@v4 - # - name: Get latest release - # id: get_latest - # run: | - # response=$(curl -s -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \ - # "https://api.github.com/repos/${{ env.REPO_OWNER }}/${{ env.REPO_NAME }}/releases/latest") - # tag_name=$(echo "$response" | jq -r .tag_name) - # asset_urls=$(echo "$response" | jq -r '.assets[].browser_download_url') + - name: Set up Python + uses: actions/setup-python@v5 + with: + python-version: '3.11' + cache: 'pip' - # echo "TAG_NAME=$tag_name" >> $GITHUB_ENV - # echo "ASSET_URLS=$asset_urls" >> $GITHUB_ENV + - name: Install pip dependencies + run: | + pip install --upgrade pip + pip install -r test/requirements.txt - # - name: Download assets - # run: | - # mkdir -p nightly_assets - # IFS=$'\n' - # for url in ${{ env.ASSET_URLS }}; do - # curl -L -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" -o nightly_assets/$(basename $url) $url - # done + - name: Download reports + uses: actions/download-artifact@v4 + with: + path: artifacts + pattern: reports-* + + - name: Consolidate robot test results + working-directory: artifacts + run: | + python -m robot.rebot --name Collective_Robot_Results --outputdir collective_robot_results --output output.xml \ + ./reports-windows-amd64/output.xml ./reports-windows-arm64/output.xml \ + ./reports-linux-amd64/output.xml ./reports-linux-arm64/output.xml \ + ./reports-darwin-amd64/output.xml ./reports-darwin-arm64/output.xml + + - name: Generate Summary report + if: always() + run: | + python ./test/lib/execution_summary.py artifacts/collective_robot_results/output.xml + + - name: Print E2E Report + if: always() + run: cat summary_report.md >> $GITHUB_STEP_SUMMARY + - name: Archieve consolidated test results + if: always() + uses: actions/upload-artifact@v4 + with: + name: consolidated-reports + path: artifacts/collective_robot_results + \ No newline at end of file diff --git a/report/log.html b/report/log.html new file mode 100644 index 0000000..78e958f --- /dev/null +++ b/report/log.html @@ -0,0 +1,2464 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+

Opening Robot Framework log failed

+ +
+ + +
+ + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/report/output.xml b/report/output.xml new file mode 100644 index 0000000..bd2b05a --- /dev/null +++ b/report/output.xml @@ -0,0 +1,4622 @@ + + + + + +${parent_dir} = C:\Sandbox\forked\cmsis-toolbox\test +${parent_dir} +C:\\Sandbox\\forked\\cmsis-toolbox\\test\\resources +.. +Joins the given path part(s) to the given base path. + + + +${src_dir} = C:\Sandbox\forked\cmsis-toolbox\test\data +${src_dir} +${parent_dir} +${Data} +Joins the given path part(s) to the given base path. + + + + +${parent_dir} = C:\Sandbox\forked\cmsis-toolbox\test +${parent_dir} +C:\\Sandbox\\forked\\cmsis-toolbox\\test\\resources +.. +Joins the given path part(s) to the given base path. + + + +${test_data_dir} = C:\Sandbox\forked\cmsis-toolbox\test\build +${test_data_dir} +${parent_dir} +${Build} +Joins the given path part(s) to the given base path. + + + +${test_data_dir} + + +${dest_dir} = C:\Sandbox\forked\cmsis-toolbox\test\build +${dest_dir} +Retrieve the directory path for test input data + + + +${TEST_DATA_DIR} = C:\Sandbox\forked\cmsis-toolbox\test\build +${TEST_DATA_DIR} +${dest_dir} +Makes a variable available globally in all tests and suites. + + + +Copied directory from '<a href="file://C:\Sandbox\forked\cmsis-toolbox\test\data">C:\Sandbox\forked\cmsis-toolbox\test\data</a>' to '<a href="file://C:\Sandbox\forked\cmsis-toolbox\test\build">C:\Sandbox\forked\cmsis-toolbox\test\build</a>'. +${src_dir} +${dest_dir} +Copies the source directory into the destination. + + + + + + + + +${parent_path} = C:\Sandbox\forked\cmsis-toolbox\test\build\build-asm +${parent_path} +${input_file} + + + + +${args} = ['--output', 'C:\\Sandbox\\forked\\cmsis-toolbox\\test\\build\\build-asm\\out_dir'] +${args} +${list} +${values} +Combines the given ``lists`` together and returns the result. + + + +${args} + + +${ex_args} = ['--output', 'C:\\Sandbox\\forked\\cmsis-toolbox\\test\\build\\build-asm\\out_dir'] +${ex_args} +${args} +--output +${parent_path}${/}${Out_Dir} +Append values to the list + + + + +${args} +-p +-r +--update-rte +Adds ``values`` to the end of ``list``. + + + + +Starting process: +cbuild C:\Sandbox\forked\cmsis-toolbox\test\build\build-asm\solution.csolution.yml --output C:\Sandbox\forked\cmsis-toolbox\test\build\build-asm\out_dir -p -r --update-rte +Waiting for process to complete. +Process completed. +${result} = <result object with rc 0> +${result} +${exe_path} +${input_File} +@{args} +shell=True +stdout=C:\\Sandbox\\forked\\cmsis-toolbox\\test\\resources/stdout.txt +Runs a process and waits for it to complete. + + + +${ret_code} = 0 +${ret_code} +${result.rc} == ${0} +${result.rc} +${1} +Sets variable based on the given condition. + + + +StdOut: info cbuild: Build Invocation (C) 2024 Arm Ltd. and Contributors +C:/Sandbox/forked/cmsis-toolbox/test/build/build-asm/solution.cbuild-pack.yml - info csolution: file generated successfully +C:/Sandbox/forked/cmsis-toolbox/test/build/build-asm/out_dir/solution.cbuild-idx.yml - info csolution: file generated successfully +C:/Sandbox/forked/cmsis-toolbox/test/build/build-asm/out_dir/project.AC6+ARMCM0.cbuild.yml - info csolution: file generated successfully +C:/Sandbox/forked/cmsis-toolbox/test/build/build-asm/out_dir/project.CLANG+ARMCM0.cbuild.yml - info csolution: file generated successfully +C:/Sandbox/forked/cmsis-toolbox/test/build/build-asm/out_dir/project.GCC+ARMCM0.cbuild.yml - info csolution: file generated successfully +C:/Sandbox/forked/cmsis-toolbox/test/build/build-asm/out_dir/project.AC6+ARMCM0.cprj - info csolution: file generated successfully +C:/Sandbox/forked/cmsis-toolbox/test/build/build-asm/out_dir/project.CLANG+ARMCM0.cprj - info csolution: file generated successfully +C:/Sandbox/forked/cmsis-toolbox/test/build/build-asm/out_dir/project.GCC+ARMCM0.cprj - info csolution: file generated successfully +info cbuild: Processing 3 context(s) +info cbuild: Retrieve build information for context: "project.AC6+ARMCM0" +info cbuild: Retrieve build information for context: "project.CLANG+ARMCM0" +info cbuild: Retrieve build information for context: "project.GCC+ARMCM0" +info cbuild: Cleaning context: "project.AC6+ARMCM0" +info cbuild: clean finished successfully! +info cbuild: Cleaning context: "project.CLANG+ARMCM0" +info cbuild: clean finished successfully! +info cbuild: Cleaning context: "project.GCC+ARMCM0" +info cbuild: clean finished successfully! +========================================================= +(1/3) Building context: "project.AC6+ARMCM0" + +M650: Command completed successfully. + +M652: Generated file for project build: 'C:/Sandbox/forked/cmsis-toolbox/test/build/build-asm/out_dir/tmp/project/ARMCM0/AC6/CMakeLists.txt' +-- The ASM compiler identification is ARMClang +-- Found assembler: C:/tools/ArmCompilerforEmbedded6.22/bin/armclang.exe +-- The C compiler identification is ARMClang 6.22.0 +-- Detecting C compiler ABI info +-- Detecting C compiler ABI info - done +-- Check for working C compiler: C:/tools/ArmCompilerforEmbedded6.22/bin/armclang.exe - skipped +-- Detecting C compile features +-- Detecting C compile features - done +*** Using Compiler 'V6.22.0', folder: C:/tools/ArmCompilerforEmbedded6.22/bin +-- Configuring done (9.6s) +-- Generating done (0.1s) +-- Build files have been written to: C:/Sandbox/forked/cmsis-toolbox/test/build/build-asm/out_dir/tmp/project/ARMCM0/AC6 +[1/8] Building AS_ARM object CMakeFiles/project.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/build-asm/project/AC6/GnuSyntax.o +FAILED: CMakeFiles/project.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/build-asm/project/AC6/GnuSyntax.o +C:\tools\ArmCompilerforEmbedded6.22\bin\armclang.exe -IC:/Sandbox/forked/cmsis-toolbox/test/build/build-asm/project/RTE/_AC6_ARMCM0 -IC:/Users/soumeh01/AppData/Local/Arm/Packs/ARM/CMSIS/6.0.0/CMSIS/Core/Include -IC:/Users/soumeh01/AppData/Local/Arm/Packs/ARM/Cortex_DFP/1.0.0/Device/ARMCM0/Include -mcpu=Cortex-M0 -mfpu=none --target=arm-arm-none-eabi -c -masm=auto -masm=gnu -Wa,armasm,--pd,"ARMCM0 SETA 1" -Wa,armasm,--pd,"_RTE_ SETA 1" -Wa,armasm,--pd,"GAS_DEF SETA 1" -o CMakeFiles/project.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/build-asm/project/AC6/GnuSyntax.o C:/Sandbox/forked/cmsis-toolbox/test/build/build-asm/project/AC6/GnuSyntax.s +C:/Sandbox/forked/cmsis-toolbox/test/build/build-asm/project/AC6/GnuSyntax.s:6:4: error: GAS_DEF is not defined! + .error "GAS_DEF is not defined!" + ^ +[2/8] Building ASM object CMakeFiles/project.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/build-asm/project/AC6/PreProcessed.o +[3/8] Building C object CMakeFiles/project.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/build-asm/project/RTE/Device/ARMCM0/system_ARMCM0.o +[4/8] Building C object CMakeFiles/project.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/build-asm/project/main.o +[5/8] Building C object CMakeFiles/project.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/build-asm/project/RTE/Device/ARMCM0/startup_ARMCM0.o +[6/8] Building AS_ARM object CMakeFiles/project.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/build-asm/project/AC6/AsmArm.o +Warning: A1950W: The legacy armasm assembler is deprecated. Consider using the armclang integrated assembler instead. +0 Errors, 1 Warning +[7/8] Building AS_ARM object CMakeFiles/project.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/build-asm/project/AC6/Auto.o +Warning: A1950W: The legacy armasm assembler is deprecated. Consider using the armclang integrated assembler instead. +0 Errors, 1 Warning +ninja: build stopped: subcommand failed. +error cbuild: error executing 'cmake' build +error cbuild: error building 'C:\Sandbox\forked\cmsis-toolbox\test\build\build-asm\out_dir\project.AC6+ARMCM0.cprj' +=========================================================== +(2/3) Building context: "project.CLANG+ARMCM0" + +M650: Command completed successfully. + +M652: Generated file for project build: 'C:/Sandbox/forked/cmsis-toolbox/test/build/build-asm/out_dir/tmp/project/ARMCM0/CLANG/CMakeLists.txt' +-- The ASM compiler identification is Clang with GNU-like command-line +-- Found assembler: C:/tools/LLVMEmbeddedToolchainForArm/bin/clang.exe +-- The C compiler identification is Clang 17.0.1 +-- Detecting C compiler ABI info +-- Detecting C compiler ABI info - done +-- Check for working C compiler: C:/tools/LLVMEmbeddedToolchainForArm/bin/clang.exe - skipped +-- Detecting C compile features +-- Detecting C compile features - done +*** Using Compiler 'V17.0.1', folder: C:/tools/LLVMEmbeddedToolchainForArm/bin +-- Configuring done (3.8s) +-- Generating done (0.0s) +-- Build files have been written to: C:/Sandbox/forked/cmsis-toolbox/test/build/build-asm/out_dir/tmp/project/ARMCM0/CLANG +[1/6] Building ASM object CMakeFiles/project.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/build-asm/project/GCC/NonPreProcessed.s.obj +clang: warning: argument unused during compilation: '-D PRE_PROCESSED_DEF' [-Wunused-command-line-argument] +clang: warning: argument unused during compilation: '-D ARMCM0' [-Wunused-command-line-argument] +clang: warning: argument unused during compilation: '-D _RTE_' [-Wunused-command-line-argument] +clang: warning: argument unused during compilation: '-MD' [-Wunused-command-line-argument] +clang: warning: argument unused during compilation: '-MT CMakeFiles/project.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/build-asm/project/GCC/NonPreProcessed.s.obj' [-Wunused-command-line-argument] +clang: warning: argument unused during compilation: '-MF CMakeFiles\project.dir\C_\Sandbox\forked\cmsis-toolbox\test\build\build-asm\project\GCC\NonPreProcessed.s.obj.d' [-Wunused-command-line-argument] +[2/6] Building ASM object CMakeFiles/project.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/build-asm/project/GCC/PreProcessed.S.obj +[3/6] Building C object CMakeFiles/project.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/build-asm/project/RTE/Device/ARMCM0/system_ARMCM0.c.obj +[4/6] Building C object CMakeFiles/project.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/build-asm/project/main.c.obj +[5/6] Building C object CMakeFiles/project.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/build-asm/project/RTE/Device/ARMCM0/startup_ARMCM0.c.obj +[6/6] Linking C executable C:\Sandbox\forked\cmsis-toolbox\test\build\build-asm\out_dir\out\project\ARMCM0\CLANG\project.elf +info cbuild: build finished successfully! +========================================================= +(3/3) Building context: "project.GCC+ARMCM0" + +M650: Command completed successfully. + +M652: Generated file for project build: 'C:/Sandbox/forked/cmsis-toolbox/test/build/build-asm/out_dir/tmp/project/ARMCM0/GCC/CMakeLists.txt' +-- The ASM compiler identification is GNU +-- Found assembler: C:/Program Files (x86)/Arm GNU Toolchain arm-none-eabi/13.2 Rel1/bin/arm-none-eabi-gcc.exe +-- The C compiler identification is GNU 13.2.1 +-- Detecting C compiler ABI info +-- Detecting C compiler ABI info - done +-- Check for working C compiler: C:/Program Files (x86)/Arm GNU Toolchain arm-none-eabi/13.2 Rel1/bin/arm-none-eabi-gcc.exe - skipped +-- Detecting C compile features +-- Detecting C compile features - done +-- Registered toolchain version 10.3.1 does not match running version 13.2.1 +*** Using Compiler 'V13.2.1', folder: C:/Program Files (x86)/Arm GNU Toolchain arm-none-eabi/13.2 Rel1/bin +-- Configuring done (3.2s) +-- Generating done (0.0s) +-- Build files have been written to: C:/Sandbox/forked/cmsis-toolbox/test/build/build-asm/out_dir/tmp/project/ARMCM0/GCC +[1/7] Building AS_GNU object CMakeFiles/project.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/build-asm/project/GCC/NonPreProcessed.o +[2/7] Building AS_GNU object CMakeFiles/project.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/build-asm/project/GCC/GAS.o +[3/7] Building ASM object CMakeFiles/project.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/build-asm/project/GCC/PreProcessed.S.obj +[4/7] Building C object CMakeFiles/project.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/build-asm/project/RTE/Device/ARMCM0/startup_ARMCM0.c.obj +[5/7] Building C object CMakeFiles/project.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/build-asm/project/main.c.obj +[6/7] Building C object CMakeFiles/project.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/build-asm/project/RTE/Device/ARMCM0/system_ARMCM0.c.obj +[7/7] Linking C executable C:\Sandbox\forked\cmsis-toolbox\test\build\build-asm\out_dir\out\project\ARMCM0\GCC\project.elf +C:/PROGRA~2/ARMGNU~1/13C7F1~1.2RE/bin/../lib/gcc/arm-none-eabi/13.2.1/../../../../arm-none-eabi/bin/ld.exe: warning: C:\Sandbox\forked\cmsis-toolbox\test\build\build-asm\out_dir\out\project\ARMCM0\GCC\project.elf has a LOAD segment with RWX permissions +info cbuild: build finished successfully! + +Build summary: Build failed - Time Elapsed: 00:00:25 +StdOut: ${result.stdout} +Logs the given messages as separate entries using the INFO level. + + + +${ret_code} + + +${ret_code} = 0 +${ret_code} +cbuild +${input_file} +@{args} +Run specified executable with arguments + + + +${ret_code} + + +${ret_code} = 0 +${ret_code} +${input_file} +${ex_args} +Run cbuild with specified arguments + + + +${ret_code} +${expect} +msg=Unexpected status returned by cbuildgen execution +Fails if the given objects are unequal. + + +${input_file} +${expect} +${args} +Run the csolution project with cbuildgen + + + + + +${args} = ['--cbuild2cmake'] +${args} +${list} +${values} +Combines the given ``lists`` together and returns the result. + + + +${args} + + +${ex_args} = ['--cbuild2cmake'] +${ex_args} +${args} +--cbuild2cmake +Append values to the list + + + + +${args} +-p +-r +--update-rte +Adds ``values`` to the end of ``list``. + + + + +Starting process: +cbuild C:\Sandbox\forked\cmsis-toolbox\test\build\build-asm\solution.csolution.yml --cbuild2cmake -p -r --update-rte +Waiting for process to complete. +Process completed. +${result} = <result object with rc 0> +${result} +${exe_path} +${input_File} +@{args} +shell=True +stdout=C:\\Sandbox\\forked\\cmsis-toolbox\\test\\resources/stdout.txt +Runs a process and waits for it to complete. + + + +${ret_code} = 0 +${ret_code} +${result.rc} == ${0} +${result.rc} +${1} +Sets variable based on the given condition. + + + +StdOut: info cbuild: Build Invocation (C) 2024 Arm Ltd. and Contributors +C:/Sandbox/forked/cmsis-toolbox/test/build/build-asm/solution.cbuild-pack.yml - info csolution: file is already up-to-date +C:/Sandbox/forked/cmsis-toolbox/test/build/build-asm/solution.cbuild-idx.yml - info csolution: file generated successfully +C:/Sandbox/forked/cmsis-toolbox/test/build/build-asm/project/project.AC6+ARMCM0.cbuild.yml - info csolution: file generated successfully +C:/Sandbox/forked/cmsis-toolbox/test/build/build-asm/project/project.CLANG+ARMCM0.cbuild.yml - info csolution: file generated successfully +C:/Sandbox/forked/cmsis-toolbox/test/build/build-asm/project/project.GCC+ARMCM0.cbuild.yml - info csolution: file generated successfully +C:/Sandbox/forked/cmsis-toolbox/test/build/build-asm/project/project.AC6+ARMCM0.cprj - info csolution: file generated successfully +C:/Sandbox/forked/cmsis-toolbox/test/build/build-asm/project/project.CLANG+ARMCM0.cprj - info csolution: file generated successfully +C:/Sandbox/forked/cmsis-toolbox/test/build/build-asm/project/project.GCC+ARMCM0.cprj - info csolution: file generated successfully +info cbuild: Processing 3 context(s) +info cbuild: Cleaning context: "project.AC6+ARMCM0" +info cbuild: clean finished successfully! +info cbuild: Cleaning context: "project.CLANG+ARMCM0" +info cbuild: clean finished successfully! +info cbuild: Cleaning context: "project.GCC+ARMCM0" +info cbuild: clean finished successfully! +info cbuild2cmake: Generate CMakeLists 0.9.0 (C) 2024 Arm Ltd. and Contributors +info cbuild2cmake: CMakeLists were successfully generated in the C:/Sandbox/forked/cmsis-toolbox/test/build/build-asm/tmp directory +-- Configuring done (0.6s) +-- Generating done (0.1s) +-- Build files have been written to: C:/Sandbox/forked/cmsis-toolbox/test/build/build-asm/tmp +[1/27] Creating directories for 'project.AC6+ARMCM0' +[2/27] Creating directories for 'project.CLANG+ARMCM0' +[3/27] Creating directories for 'project.GCC+ARMCM0' +[4/27] No download step for 'project.AC6+ARMCM0' +[5/27] No download step for 'project.CLANG+ARMCM0' +[6/27] No download step for 'project.GCC+ARMCM0' +[7/27] No update step for 'project.AC6+ARMCM0' +[8/27] No update step for 'project.CLANG+ARMCM0' +[9/27] No update step for 'project.GCC+ARMCM0' +[10/27] No patch step for 'project.AC6+ARMCM0' +[11/27] No patch step for 'project.CLANG+ARMCM0' +[12/27] No patch step for 'project.GCC+ARMCM0' +[13/27] Performing configure step for 'project.CLANG+ARMCM0' +-- The C compiler identification is Clang 17.0.1 +-- The ASM compiler identification is Clang with GNU-like command-line +-- Found assembler: C:/tools/LLVMEmbeddedToolchainForArm/bin/clang.exe +-- Detecting C compiler ABI info +-- Detecting C compiler ABI info - done +-- Check for working C compiler: C:/tools/LLVMEmbeddedToolchainForArm/bin/clang.exe - skipped +-- Detecting C compile features +-- Detecting C compile features - done +-- Configuring done (3.1s) +-- Generating done (0.1s) +-- Build files have been written to: C:/Sandbox/forked/cmsis-toolbox/test/build/build-asm/tmp/2 +[14/27] Performing configure step for 'project.GCC+ARMCM0' +-- The C compiler identification is GNU 13.2.1 +-- The ASM compiler identification is GNU +-- Found assembler: C:/Program Files (x86)/Arm GNU Toolchain arm-none-eabi/13.2 Rel1/bin/arm-none-eabi-gcc.exe +-- Detecting C compiler ABI info +-- Detecting C compiler ABI info - done +-- Check for working C compiler: C:/Program Files (x86)/Arm GNU Toolchain arm-none-eabi/13.2 Rel1/bin/arm-none-eabi-gcc.exe - skipped +-- Detecting C compile features +-- Detecting C compile features - done +-- Configuring done (3.1s) +-- Generating done (0.1s) +-- Build files have been written to: C:/Sandbox/forked/cmsis-toolbox/test/build/build-asm/tmp/3 +[15/27] Performing build step for 'project.CLANG+ARMCM0' +[1/6] Building ASM object CMakeFiles/Group_GCC-CLANG.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/build-asm/project/GCC/NonPreProcessed.s.obj +clang: warning: argument unused during compilation: '-D PRE_PROCESSED_DEF' [-Wunused-command-line-argument] +clang: warning: argument unused during compilation: '-MD' [-Wunused-command-line-argument] +clang: warning: argument unused during compilation: '-MT CMakeFiles/Group_GCC-CLANG.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/build-asm/project/GCC/NonPreProcessed.s.obj' [-Wunused-command-line-argument] +clang: warning: argument unused during compilation: '-MF CMakeFiles\Group_GCC-CLANG.dir\C_\Sandbox\forked\cmsis-toolbox\test\build\build-asm\project\GCC\NonPreProcessed.s.obj.d' [-Wunused-command-line-argument] +[2/6] Building C object CMakeFiles/Group_Source.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/build-asm/project/main.c.obj +[3/6] Building C object CMakeFiles/ARM_Device_Startup_C_Startup_2_2_0.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/build-asm/project/RTE/Device/ARMCM0/startup_ARMCM0.c.obj +[4/6] Building C object CMakeFiles/ARM_Device_Startup_C_Startup_2_2_0.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/build-asm/project/RTE/Device/ARMCM0/system_ARMCM0.c.obj +[5/6] Building ASM object CMakeFiles/Group_GCC-CLANG.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/build-asm/project/GCC/PreProcessed.S.obj +[6/6] Linking C executable C:\Sandbox\forked\cmsis-toolbox\test\build\build-asm\out\project\ARMCM0\CLANG\project.elf +[16/27] No install step for 'project.CLANG+ARMCM0' +[17/27] Performing build step for 'project.GCC+ARMCM0' +[1/7] Building ASM object CMakeFiles/Group_GCC-CLANG.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/build-asm/project/GCC/NonPreProcessed.s.obj +[2/7] Building ASM object CMakeFiles/Group_GCC-CLANG.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/build-asm/project/GCC/GAS.s.obj +[3/7] Building ASM object CMakeFiles/Group_GCC-CLANG.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/build-asm/project/GCC/PreProcessed.S.obj +[4/7] Building C object CMakeFiles/Group_Source.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/build-asm/project/main.c.obj +[5/7] Building C object CMakeFiles/ARM_Device_Startup_C_Startup_2_2_0.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/build-asm/project/RTE/Device/ARMCM0/system_ARMCM0.c.obj +[6/7] Building C object CMakeFiles/ARM_Device_Startup_C_Startup_2_2_0.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/build-asm/project/RTE/Device/ARMCM0/startup_ARMCM0.c.obj +[7/7] Linking C executable C:\Sandbox\forked\cmsis-toolbox\test\build\build-asm\out\project\ARMCM0\GCC\project.elf +C:/PROGRA~2/ARMGNU~1/13C7F1~1.2RE/bin/../lib/gcc/arm-none-eabi/13.2.1/../../../../arm-none-eabi/bin/ld.exe: warning: C:\Sandbox\forked\cmsis-toolbox\test\build\build-asm\out\project\ARMCM0\GCC\project.elf has a LOAD segment with RWX permissions +[18/27] No install step for 'project.GCC+ARMCM0' +[19/27] No test step for 'project.CLANG+ARMCM0' +[20/27] No test step for 'project.GCC+ARMCM0' +[21/27] Completed 'project.CLANG+ARMCM0' +[22/27] Completed 'project.GCC+ARMCM0' +[23/27] Performing configure step for 'project.AC6+ARMCM0' +-- The C compiler identification is ARMClang 6.22.0 +-- The ASM compiler identification is ARMClang +-- Found assembler: C:/tools/ArmCompilerforEmbedded6.22/bin/armclang.exe +-- Detecting C compiler ABI info +-- Detecting C compiler ABI info - done +-- Check for working C compiler: C:/tools/ArmCompilerforEmbedded6.22/bin/armclang.exe - skipped +-- Detecting C compile features +-- Detecting C compile features - done +-- Configuring done (8.8s) +-- Generating done (0.0s) +-- Build files have been written to: C:/Sandbox/forked/cmsis-toolbox/test/build/build-asm/tmp/1 +[24/27] Performing build step for 'project.AC6+ARMCM0' +[1/8] Building ASM object CMakeFiles/Group_AC6.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/build-asm/project/AC6/GnuSyntax.o +[2/8] Building C object CMakeFiles/Group_Source.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/build-asm/project/main.o +[3/8] Building C object CMakeFiles/ARM_Device_Startup_C_Startup_2_2_0.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/build-asm/project/RTE/Device/ARMCM0/system_ARMCM0.o +[4/8] Building C object CMakeFiles/ARM_Device_Startup_C_Startup_2_2_0.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/build-asm/project/RTE/Device/ARMCM0/startup_ARMCM0.o +[5/8] Building ASM object CMakeFiles/Group_AC6.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/build-asm/project/AC6/Auto.o +Warning: A1950W: The legacy armasm assembler is deprecated. Consider using the armclang integrated assembler instead. +0 Errors, 1 Warning +[6/8] Building ASM object CMakeFiles/Group_AC6.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/build-asm/project/AC6/AsmArm.o +Warning: A1950W: The legacy armasm assembler is deprecated. Consider using the armclang integrated assembler instead. +0 Errors, 1 Warning +[7/8] Building ASM object CMakeFiles/Group_AC6.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/build-asm/project/AC6/PreProcessed.o +[8/8] Linking C executable C:\Sandbox\forked\cmsis-toolbox\test\build\build-asm\out\project\ARMCM0\AC6\project.axf +Program Size: Code=240 RO-data=208 RW-data=4 ZI-data=3584 +[25/27] No install step for 'project.AC6+ARMCM0' +[26/27] No test step for 'project.AC6+ARMCM0' +[27/27] Completed 'project.AC6+ARMCM0' +info cbuild: build finished successfully! + +Build summary: Build completed successfully - Time Elapsed: 00:00:13 +StdOut: ${result.stdout} +Logs the given messages as separate entries using the INFO level. + + + +${ret_code} + + +${ret_code} = 0 +${ret_code} +cbuild +${input_file} +@{args} +Run specified executable with arguments + + + +${ret_code} + + +${ret_code} = 0 +${ret_code} +${input_file} +${ex_args} +Run cbuild with specified arguments + + + +${ret_code} +${expect} +msg=Unexpected status returned by cbuild2cmake execution +Fails if the given objects are unequal. + + +${input_file} +${expect} +${args} +Run the csolution project with cbuild2cmake + + + +${parent_path} = C:\Sandbox\forked\cmsis-toolbox\test\build\build-asm +${parent_path} +${input_file} + + + + +Running Command: c b u i l d l i s t c o n t e x t s C : \ S a n d b o x \ f o r k e d \ c m s i s - t o o l b o x \ t e s t \ b u i l d \ b u i l d - a s m \ s o l u t i o n . c s o l u t i o n . y m l +Processing context: project.AC6+ARMCM0 +basePath: C:\Sandbox\forked\cmsis-toolbox\test\build\build-asm\out_dir\out +Path: +Processing context: project.CLANG+ARMCM0 +basePath: C:\Sandbox\forked\cmsis-toolbox\test\build\build-asm\out_dir\out +Path: project/ARMCM0/CLANG/project.elf +Running Command: f r o m e l f C : \ S a n d b o x \ f o r k e d \ c m s i s - t o o l b o x \ t e s t \ b u i l d \ b u i l d - a s m \ o u t _ d i r \ o u t \ p r o j e c t / A R M C M 0 / C L A N G / p r o j e c t . e l f - z +Running Command: f r o m e l f C : \ S a n d b o x \ f o r k e d \ c m s i s - t o o l b o x \ t e s t \ b u i l d \ b u i l d - a s m \ o u t \ p r o j e c t / A R M C M 0 / C L A N G / p r o j e c t . e l f - z +Object Info +======================================================================== + +** Object/Image Component Sizes + + Code (inc. data) RO Data RW Data ZI Data Debug Object Name + + 9736 352 336 24 4872 48965 C:\Sandbox\forked\cmsis-toolbox\test\build\build-asm\out_dir\out\project/ARMCM0/CLANG/project.elf + 9736 352 336 24 0 0 ROM Totals for C:\Sandbox\forked\cmsis-toolbox\test\build\build-asm\out_dir\out\project/ARMCM0/CLANG/project.elf + +Object Info +======================================================================== + +** Object/Image Component Sizes + + Code (inc. data) RO Data RW Data ZI Data Debug Object Name + + 9736 352 336 24 4872 48965 C:\Sandbox\forked\cmsis-toolbox\test\build\build-asm\out\project/ARMCM0/CLANG/project.elf + 9736 352 336 24 0 0 ROM Totals for C:\Sandbox\forked\cmsis-toolbox\test\build\build-asm\out\project/ARMCM0/CLANG/project.elf + +Processing context: project.GCC+ARMCM0 +basePath: C:\Sandbox\forked\cmsis-toolbox\test\build\build-asm\out_dir\out +Path: project/ARMCM0/GCC/project.elf +Running Command: f r o m e l f C : \ S a n d b o x \ f o r k e d \ c m s i s - t o o l b o x \ t e s t \ b u i l d \ b u i l d - a s m \ o u t _ d i r \ o u t \ p r o j e c t / A R M C M 0 / G C C / p r o j e c t . e l f - z +Running Command: f r o m e l f C : \ S a n d b o x \ f o r k e d \ c m s i s - t o o l b o x \ t e s t \ b u i l d \ b u i l d - a s m \ o u t \ p r o j e c t / A R M C M 0 / G C C / p r o j e c t . e l f - z +Object Info +======================================================================== + +** Object/Image Component Sizes + + Code (inc. data) RO Data RW Data ZI Data Debug Object Name + + 3560 556 8 408 4628 2785 C:\Sandbox\forked\cmsis-toolbox\test\build\build-asm\out_dir\out\project/ARMCM0/GCC/project.elf + 3560 556 8 408 0 0 ROM Totals for C:\Sandbox\forked\cmsis-toolbox\test\build\build-asm\out_dir\out\project/ARMCM0/GCC/project.elf + +Object Info +======================================================================== + +** Object/Image Component Sizes + + Code (inc. data) RO Data RW Data ZI Data Debug Object Name + + 3560 556 8 408 4628 2785 C:\Sandbox\forked\cmsis-toolbox\test\build\build-asm\out\project/ARMCM0/GCC/project.elf + 3560 556 8 408 0 0 ROM Totals for C:\Sandbox\forked\cmsis-toolbox\test\build\build-asm\out\project/ARMCM0/GCC/project.elf + +${input_file} +${parent_path}${/}${Out_Dir}${/}${Default_Out_Dir} +${parent_path}${/}${Default_Out_Dir} + + +Returning from the enclosing user keyword. +${result} +Compare Elf Information +${input_file} +${parent_path}${/}${Out_Dir}${/}${Default_Out_Dir} +${parent_path}${/}${Default_Out_Dir} +Runs the specified keyword and returns from the enclosing user keyword. + + + +${result} +Fails if the given condition is not true. + + +${TEST_DATA_DIR}${/}${build-asm}${/}solution.csolution.yml +${Pass} + + + + + + + + +${parent_path} = C:\Sandbox\forked\cmsis-toolbox\test\build\build-c +${parent_path} +${input_file} + + + + +${args} = ['--output', 'C:\\Sandbox\\forked\\cmsis-toolbox\\test\\build\\build-c\\out_dir'] +${args} +${list} +${values} +Combines the given ``lists`` together and returns the result. + + + +${args} + + +${ex_args} = ['--output', 'C:\\Sandbox\\forked\\cmsis-toolbox\\test\\build\\build-c\\out_dir'] +${ex_args} +${args} +--output +${parent_path}${/}${Out_Dir} +Append values to the list + + + + +${args} +-p +-r +--update-rte +Adds ``values`` to the end of ``list``. + + + + +Starting process: +cbuild C:\Sandbox\forked\cmsis-toolbox\test\build\build-c\solution.csolution.yml --output C:\Sandbox\forked\cmsis-toolbox\test\build\build-c\out_dir -p -r --update-rte +Waiting for process to complete. +Process completed. +${result} = <result object with rc 0> +${result} +${exe_path} +${input_File} +@{args} +shell=True +stdout=C:\\Sandbox\\forked\\cmsis-toolbox\\test\\resources/stdout.txt +Runs a process and waits for it to complete. + + + +${ret_code} = 0 +${ret_code} +${result.rc} == ${0} +${result.rc} +${1} +Sets variable based on the given condition. + + + +StdOut: info cbuild: Build Invocation (C) 2024 Arm Ltd. and Contributors +C:/Sandbox/forked/cmsis-toolbox/test/build/build-c/solution.cbuild-pack.yml - info csolution: file generated successfully +C:/Sandbox/forked/cmsis-toolbox/test/build/build-c/out_dir/solution.cbuild-idx.yml - info csolution: file generated successfully +C:/Sandbox/forked/cmsis-toolbox/test/build/build-c/out_dir/project.AC6+ARMCM0.cbuild.yml - info csolution: file generated successfully +C:/Sandbox/forked/cmsis-toolbox/test/build/build-c/out_dir/project.CLANG+ARMCM0.cbuild.yml - info csolution: file generated successfully +C:/Sandbox/forked/cmsis-toolbox/test/build/build-c/out_dir/project.GCC+ARMCM0.cbuild.yml - info csolution: file generated successfully +C:/Sandbox/forked/cmsis-toolbox/test/build/build-c/out_dir/project.AC6+ARMCM0.cprj - info csolution: file generated successfully +C:/Sandbox/forked/cmsis-toolbox/test/build/build-c/out_dir/project.CLANG+ARMCM0.cprj - info csolution: file generated successfully +C:/Sandbox/forked/cmsis-toolbox/test/build/build-c/out_dir/project.GCC+ARMCM0.cprj - info csolution: file generated successfully +info cbuild: Processing 3 context(s) +info cbuild: Retrieve build information for context: "project.AC6+ARMCM0" +info cbuild: Retrieve build information for context: "project.CLANG+ARMCM0" +info cbuild: Retrieve build information for context: "project.GCC+ARMCM0" +info cbuild: Cleaning context: "project.AC6+ARMCM0" +info cbuild: clean finished successfully! +info cbuild: Cleaning context: "project.CLANG+ARMCM0" +info cbuild: clean finished successfully! +info cbuild: Cleaning context: "project.GCC+ARMCM0" +info cbuild: clean finished successfully! +========================================================= +(1/3) Building context: "project.AC6+ARMCM0" + +M650: Command completed successfully. + +M652: Generated file for project build: 'C:/Sandbox/forked/cmsis-toolbox/test/build/build-c/out_dir/tmp/project/ARMCM0/AC6/CMakeLists.txt' +-- The C compiler identification is ARMClang 6.22.0 +-- Detecting C compiler ABI info +-- Detecting C compiler ABI info - done +-- Check for working C compiler: C:/tools/ArmCompilerforEmbedded6.22/bin/armclang.exe - skipped +-- Detecting C compile features +-- Detecting C compile features - done +*** Using Compiler 'V6.22.0', folder: C:/tools/ArmCompilerforEmbedded6.22/bin +-- Configuring done (4.1s) +-- Generating done (0.0s) +-- Build files have been written to: C:/Sandbox/forked/cmsis-toolbox/test/build/build-c/out_dir/tmp/project/ARMCM0/AC6 +[1/4] Building C object CMakeFiles/project.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/build-c/project/RTE/Device/ARMCM0/startup_ARMCM0.o +[2/4] Building C object CMakeFiles/project.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/build-c/project/RTE/Device/ARMCM0/system_ARMCM0.o +[3/4] Building C object CMakeFiles/project.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/build-c/project/main.o +[4/4] Linking C executable C:\Sandbox\forked\cmsis-toolbox\test\build\build-c\out_dir\out\project\ARMCM0\AC6\project.axf +Program Size: Code=240 RO-data=208 RW-data=4 ZI-data=3584 +info cbuild: build finished successfully! +=========================================================== +(2/3) Building context: "project.CLANG+ARMCM0" + +M650: Command completed successfully. + +M652: Generated file for project build: 'C:/Sandbox/forked/cmsis-toolbox/test/build/build-c/out_dir/tmp/project/ARMCM0/CLANG/CMakeLists.txt' +-- The C compiler identification is Clang 17.0.1 +-- Detecting C compiler ABI info +-- Detecting C compiler ABI info - done +-- Check for working C compiler: C:/tools/LLVMEmbeddedToolchainForArm/bin/clang.exe - skipped +-- Detecting C compile features +-- Detecting C compile features - done +*** Using Compiler 'V17.0.1', folder: C:/tools/LLVMEmbeddedToolchainForArm/bin +-- Configuring done (2.1s) +-- Generating done (0.0s) +-- Build files have been written to: C:/Sandbox/forked/cmsis-toolbox/test/build/build-c/out_dir/tmp/project/ARMCM0/CLANG +[1/4] Building C object CMakeFiles/project.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/build-c/project/RTE/Device/ARMCM0/startup_ARMCM0.c.obj +[2/4] Building C object CMakeFiles/project.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/build-c/project/main.c.obj +[3/4] Building C object CMakeFiles/project.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/build-c/project/RTE/Device/ARMCM0/system_ARMCM0.c.obj +[4/4] Linking C executable C:\Sandbox\forked\cmsis-toolbox\test\build\build-c\out_dir\out\project\ARMCM0\CLANG\project.elf +info cbuild: build finished successfully! +========================================================= +(3/3) Building context: "project.GCC+ARMCM0" + +M650: Command completed successfully. + +M652: Generated file for project build: 'C:/Sandbox/forked/cmsis-toolbox/test/build/build-c/out_dir/tmp/project/ARMCM0/GCC/CMakeLists.txt' +-- The C compiler identification is GNU 13.2.1 +-- Detecting C compiler ABI info +-- Detecting C compiler ABI info - done +-- Check for working C compiler: C:/Program Files (x86)/Arm GNU Toolchain arm-none-eabi/13.2 Rel1/bin/arm-none-eabi-gcc.exe - skipped +-- Detecting C compile features +-- Detecting C compile features - done +-- Registered toolchain version 10.3.1 does not match running version 13.2.1 +*** Using Compiler 'V13.2.1', folder: C:/Program Files (x86)/Arm GNU Toolchain arm-none-eabi/13.2 Rel1/bin +-- Configuring done (1.9s) +-- Generating done (0.0s) +-- Build files have been written to: C:/Sandbox/forked/cmsis-toolbox/test/build/build-c/out_dir/tmp/project/ARMCM0/GCC +[1/4] Building C object CMakeFiles/project.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/build-c/project/main.c.obj +[2/4] Building C object CMakeFiles/project.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/build-c/project/RTE/Device/ARMCM0/startup_ARMCM0.c.obj +[3/4] Building C object CMakeFiles/project.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/build-c/project/RTE/Device/ARMCM0/system_ARMCM0.c.obj +[4/4] Linking C executable C:\Sandbox\forked\cmsis-toolbox\test\build\build-c\out_dir\out\project\ARMCM0\GCC\project.elf +C:/PROGRA~2/ARMGNU~1/13C7F1~1.2RE/bin/../lib/gcc/arm-none-eabi/13.2.1/../../../../arm-none-eabi/bin/ld.exe: warning: C:\Sandbox\forked\cmsis-toolbox\test\build\build-c\out_dir\out\project\ARMCM0\GCC\project.elf has a LOAD segment with RWX permissions +info cbuild: build finished successfully! + +Build summary: Build completed successfully - Time Elapsed: 00:00:12 +StdOut: ${result.stdout} +Logs the given messages as separate entries using the INFO level. + + + +${ret_code} + + +${ret_code} = 0 +${ret_code} +cbuild +${input_file} +@{args} +Run specified executable with arguments + + + +${ret_code} + + +${ret_code} = 0 +${ret_code} +${input_file} +${ex_args} +Run cbuild with specified arguments + + + +${ret_code} +${expect} +msg=Unexpected status returned by cbuildgen execution +Fails if the given objects are unequal. + + +${input_file} +${expect} +${args} +Run the csolution project with cbuildgen + + + + + +${args} = ['--cbuild2cmake'] +${args} +${list} +${values} +Combines the given ``lists`` together and returns the result. + + + +${args} + + +${ex_args} = ['--cbuild2cmake'] +${ex_args} +${args} +--cbuild2cmake +Append values to the list + + + + +${args} +-p +-r +--update-rte +Adds ``values`` to the end of ``list``. + + + + +Starting process: +cbuild C:\Sandbox\forked\cmsis-toolbox\test\build\build-c\solution.csolution.yml --cbuild2cmake -p -r --update-rte +Waiting for process to complete. +Process completed. +${result} = <result object with rc 0> +${result} +${exe_path} +${input_File} +@{args} +shell=True +stdout=C:\\Sandbox\\forked\\cmsis-toolbox\\test\\resources/stdout.txt +Runs a process and waits for it to complete. + + + +${ret_code} = 0 +${ret_code} +${result.rc} == ${0} +${result.rc} +${1} +Sets variable based on the given condition. + + + +StdOut: info cbuild: Build Invocation (C) 2024 Arm Ltd. and Contributors +C:/Sandbox/forked/cmsis-toolbox/test/build/build-c/solution.cbuild-pack.yml - info csolution: file is already up-to-date +C:/Sandbox/forked/cmsis-toolbox/test/build/build-c/solution.cbuild-idx.yml - info csolution: file generated successfully +C:/Sandbox/forked/cmsis-toolbox/test/build/build-c/project/project.AC6+ARMCM0.cbuild.yml - info csolution: file generated successfully +C:/Sandbox/forked/cmsis-toolbox/test/build/build-c/project/project.CLANG+ARMCM0.cbuild.yml - info csolution: file generated successfully +C:/Sandbox/forked/cmsis-toolbox/test/build/build-c/project/project.GCC+ARMCM0.cbuild.yml - info csolution: file generated successfully +C:/Sandbox/forked/cmsis-toolbox/test/build/build-c/project/project.AC6+ARMCM0.cprj - info csolution: file generated successfully +C:/Sandbox/forked/cmsis-toolbox/test/build/build-c/project/project.CLANG+ARMCM0.cprj - info csolution: file generated successfully +C:/Sandbox/forked/cmsis-toolbox/test/build/build-c/project/project.GCC+ARMCM0.cprj - info csolution: file generated successfully +info cbuild: Processing 3 context(s) +info cbuild: Cleaning context: "project.AC6+ARMCM0" +info cbuild: clean finished successfully! +info cbuild: Cleaning context: "project.CLANG+ARMCM0" +info cbuild: clean finished successfully! +info cbuild: Cleaning context: "project.GCC+ARMCM0" +info cbuild: clean finished successfully! +info cbuild2cmake: Generate CMakeLists 0.9.0 (C) 2024 Arm Ltd. and Contributors +info cbuild2cmake: CMakeLists were successfully generated in the C:/Sandbox/forked/cmsis-toolbox/test/build/build-c/tmp directory +-- Configuring done (0.5s) +-- Generating done (0.1s) +-- Build files have been written to: C:/Sandbox/forked/cmsis-toolbox/test/build/build-c/tmp +[1/27] Creating directories for 'project.AC6+ARMCM0' +[2/27] Creating directories for 'project.CLANG+ARMCM0' +[3/27] Creating directories for 'project.GCC+ARMCM0' +[4/27] No download step for 'project.AC6+ARMCM0' +[5/27] No download step for 'project.CLANG+ARMCM0' +[6/27] No download step for 'project.GCC+ARMCM0' +[7/27] No update step for 'project.AC6+ARMCM0' +[8/27] No update step for 'project.CLANG+ARMCM0' +[9/27] No update step for 'project.GCC+ARMCM0' +[10/27] No patch step for 'project.AC6+ARMCM0' +[11/27] No patch step for 'project.CLANG+ARMCM0' +[12/27] No patch step for 'project.GCC+ARMCM0' +[13/27] Performing configure step for 'project.CLANG+ARMCM0' +-- The C compiler identification is Clang 17.0.1 +-- Detecting C compiler ABI info +-- Detecting C compiler ABI info - done +-- Check for working C compiler: C:/tools/LLVMEmbeddedToolchainForArm/bin/clang.exe - skipped +-- Detecting C compile features +-- Detecting C compile features - done +-- Configuring done (2.9s) +-- Generating done (0.2s) +-- Build files have been written to: C:/Sandbox/forked/cmsis-toolbox/test/build/build-c/tmp/2 +[14/27] Performing configure step for 'project.GCC+ARMCM0' +-- The C compiler identification is GNU 13.2.1 +-- Detecting C compiler ABI info +-- Detecting C compiler ABI info - done +-- Check for working C compiler: C:/Program Files (x86)/Arm GNU Toolchain arm-none-eabi/13.2 Rel1/bin/arm-none-eabi-gcc.exe - skipped +-- Detecting C compile features +-- Detecting C compile features - done +-- Configuring done (3.3s) +-- Generating done (0.1s) +-- Build files have been written to: C:/Sandbox/forked/cmsis-toolbox/test/build/build-c/tmp/3 +[15/27] Performing build step for 'project.CLANG+ARMCM0' +[1/4] Building C object CMakeFiles/ARM_Device_Startup_C_Startup_2_2_0.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/build-c/project/RTE/Device/ARMCM0/startup_ARMCM0.c.obj +[2/4] Building C object CMakeFiles/Group_Source.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/build-c/project/main.c.obj +[3/4] Building C object CMakeFiles/ARM_Device_Startup_C_Startup_2_2_0.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/build-c/project/RTE/Device/ARMCM0/system_ARMCM0.c.obj +[4/4] Linking C executable C:\Sandbox\forked\cmsis-toolbox\test\build\build-c\out\project\ARMCM0\CLANG\project.elf +[16/27] No install step for 'project.CLANG+ARMCM0' +[17/27] Performing build step for 'project.GCC+ARMCM0' +[1/4] Building C object CMakeFiles/Group_Source.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/build-c/project/main.c.obj +[2/4] Building C object CMakeFiles/ARM_Device_Startup_C_Startup_2_2_0.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/build-c/project/RTE/Device/ARMCM0/startup_ARMCM0.c.obj +[3/4] Building C object CMakeFiles/ARM_Device_Startup_C_Startup_2_2_0.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/build-c/project/RTE/Device/ARMCM0/system_ARMCM0.c.obj +[4/4] Linking C executable C:\Sandbox\forked\cmsis-toolbox\test\build\build-c\out\project\ARMCM0\GCC\project.elf +C:/PROGRA~2/ARMGNU~1/13C7F1~1.2RE/bin/../lib/gcc/arm-none-eabi/13.2.1/../../../../arm-none-eabi/bin/ld.exe: warning: C:\Sandbox\forked\cmsis-toolbox\test\build\build-c\out\project\ARMCM0\GCC\project.elf has a LOAD segment with RWX permissions +[18/27] No test step for 'project.CLANG+ARMCM0' +[19/27] No install step for 'project.GCC+ARMCM0' +[20/27] No test step for 'project.GCC+ARMCM0' +[21/27] Completed 'project.CLANG+ARMCM0' +[22/27] Completed 'project.GCC+ARMCM0' +[23/27] Performing configure step for 'project.AC6+ARMCM0' +-- The C compiler identification is ARMClang 6.22.0 +-- Detecting C compiler ABI info +-- Detecting C compiler ABI info - done +-- Check for working C compiler: C:/tools/ArmCompilerforEmbedded6.22/bin/armclang.exe - skipped +-- Detecting C compile features +-- Detecting C compile features - done +-- Configuring done (6.9s) +-- Generating done (0.0s) +-- Build files have been written to: C:/Sandbox/forked/cmsis-toolbox/test/build/build-c/tmp/1 +[24/27] Performing build step for 'project.AC6+ARMCM0' +[1/4] Building C object CMakeFiles/Group_Source.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/build-c/project/main.o +[2/4] Building C object CMakeFiles/ARM_Device_Startup_C_Startup_2_2_0.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/build-c/project/RTE/Device/ARMCM0/system_ARMCM0.o +[3/4] Building C object CMakeFiles/ARM_Device_Startup_C_Startup_2_2_0.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/build-c/project/RTE/Device/ARMCM0/startup_ARMCM0.o +[4/4] Linking C executable C:\Sandbox\forked\cmsis-toolbox\test\build\build-c\out\project\ARMCM0\AC6\project.axf +Program Size: Code=240 RO-data=208 RW-data=4 ZI-data=3584 +[25/27] No install step for 'project.AC6+ARMCM0' +[26/27] No test step for 'project.AC6+ARMCM0' +[27/27] Completed 'project.AC6+ARMCM0' +info cbuild: build finished successfully! + +Build summary: Build completed successfully - Time Elapsed: 00:00:10 +StdOut: ${result.stdout} +Logs the given messages as separate entries using the INFO level. + + + +${ret_code} + + +${ret_code} = 0 +${ret_code} +cbuild +${input_file} +@{args} +Run specified executable with arguments + + + +${ret_code} + + +${ret_code} = 0 +${ret_code} +${input_file} +${ex_args} +Run cbuild with specified arguments + + + +${ret_code} +${expect} +msg=Unexpected status returned by cbuild2cmake execution +Fails if the given objects are unequal. + + +${input_file} +${expect} +${args} +Run the csolution project with cbuild2cmake + + + +${parent_path} = C:\Sandbox\forked\cmsis-toolbox\test\build\build-c +${parent_path} +${input_file} + + + + +Running Command: c b u i l d l i s t c o n t e x t s C : \ S a n d b o x \ f o r k e d \ c m s i s - t o o l b o x \ t e s t \ b u i l d \ b u i l d - c \ s o l u t i o n . c s o l u t i o n . y m l +Processing context: project.AC6+ARMCM0 +basePath: C:\Sandbox\forked\cmsis-toolbox\test\build\build-c\out_dir\out +Path: project/ARMCM0/AC6/project.axf +Running Command: f r o m e l f C : \ S a n d b o x \ f o r k e d \ c m s i s - t o o l b o x \ t e s t \ b u i l d \ b u i l d - c \ o u t _ d i r \ o u t \ p r o j e c t / A R M C M 0 / A C 6 / p r o j e c t . a x f - z +Running Command: f r o m e l f C : \ S a n d b o x \ f o r k e d \ c m s i s - t o o l b o x \ t e s t \ b u i l d \ b u i l d - c \ o u t \ p r o j e c t / A R M C M 0 / A C 6 / p r o j e c t . a x f - z +Object Info +======================================================================== + +** Object/Image Component Sizes + + Code (inc. data) RO Data RW Data ZI Data Debug Object Name + + 240 26 208 4 3584 492 C:\Sandbox\forked\cmsis-toolbox\test\build\build-c\out_dir\out\project/ARMCM0/AC6/project.axf + 240 26 208 4 0 0 ROM Totals for C:\Sandbox\forked\cmsis-toolbox\test\build\build-c\out_dir\out\project/ARMCM0/AC6/project.axf + +Object Info +======================================================================== + +** Object/Image Component Sizes + + Code (inc. data) RO Data RW Data ZI Data Debug Object Name + + 240 26 208 4 3584 492 C:\Sandbox\forked\cmsis-toolbox\test\build\build-c\out\project/ARMCM0/AC6/project.axf + 240 26 208 4 0 0 ROM Totals for C:\Sandbox\forked\cmsis-toolbox\test\build\build-c\out\project/ARMCM0/AC6/project.axf + +Processing context: project.CLANG+ARMCM0 +basePath: C:\Sandbox\forked\cmsis-toolbox\test\build\build-c\out_dir\out +Path: project/ARMCM0/CLANG/project.elf +Running Command: f r o m e l f C : \ S a n d b o x \ f o r k e d \ c m s i s - t o o l b o x \ t e s t \ b u i l d \ b u i l d - c \ o u t _ d i r \ o u t \ p r o j e c t / A R M C M 0 / C L A N G / p r o j e c t . e l f - z +Running Command: f r o m e l f C : \ S a n d b o x \ f o r k e d \ c m s i s - t o o l b o x \ t e s t \ b u i l d \ b u i l d - c \ o u t \ p r o j e c t / A R M C M 0 / C L A N G / p r o j e c t . e l f - z +Object Info +======================================================================== + +** Object/Image Component Sizes + + Code (inc. data) RO Data RW Data ZI Data Debug Object Name + + 9736 352 336 24 4872 48965 C:\Sandbox\forked\cmsis-toolbox\test\build\build-c\out_dir\out\project/ARMCM0/CLANG/project.elf + 9736 352 336 24 0 0 ROM Totals for C:\Sandbox\forked\cmsis-toolbox\test\build\build-c\out_dir\out\project/ARMCM0/CLANG/project.elf + +Object Info +======================================================================== + +** Object/Image Component Sizes + + Code (inc. data) RO Data RW Data ZI Data Debug Object Name + + 9736 352 336 24 4872 48965 C:\Sandbox\forked\cmsis-toolbox\test\build\build-c\out\project/ARMCM0/CLANG/project.elf + 9736 352 336 24 0 0 ROM Totals for C:\Sandbox\forked\cmsis-toolbox\test\build\build-c\out\project/ARMCM0/CLANG/project.elf + +Processing context: project.GCC+ARMCM0 +basePath: C:\Sandbox\forked\cmsis-toolbox\test\build\build-c\out_dir\out +Path: project/ARMCM0/GCC/project.elf +Running Command: f r o m e l f C : \ S a n d b o x \ f o r k e d \ c m s i s - t o o l b o x \ t e s t \ b u i l d \ b u i l d - c \ o u t _ d i r \ o u t \ p r o j e c t / A R M C M 0 / G C C / p r o j e c t . e l f - z +Running Command: f r o m e l f C : \ S a n d b o x \ f o r k e d \ c m s i s - t o o l b o x \ t e s t \ b u i l d \ b u i l d - c \ o u t \ p r o j e c t / A R M C M 0 / G C C / p r o j e c t . e l f - z +Object Info +======================================================================== + +** Object/Image Component Sizes + + Code (inc. data) RO Data RW Data ZI Data Debug Object Name + + 3560 556 8 408 4628 2785 C:\Sandbox\forked\cmsis-toolbox\test\build\build-c\out_dir\out\project/ARMCM0/GCC/project.elf + 3560 556 8 408 0 0 ROM Totals for C:\Sandbox\forked\cmsis-toolbox\test\build\build-c\out_dir\out\project/ARMCM0/GCC/project.elf + +Object Info +======================================================================== + +** Object/Image Component Sizes + + Code (inc. data) RO Data RW Data ZI Data Debug Object Name + + 3560 556 8 408 4628 2785 C:\Sandbox\forked\cmsis-toolbox\test\build\build-c\out\project/ARMCM0/GCC/project.elf + 3560 556 8 408 0 0 ROM Totals for C:\Sandbox\forked\cmsis-toolbox\test\build\build-c\out\project/ARMCM0/GCC/project.elf + +${input_file} +${parent_path}${/}${Out_Dir}${/}${Default_Out_Dir} +${parent_path}${/}${Default_Out_Dir} + + +Returning from the enclosing user keyword. +${result} +Compare Elf Information +${input_file} +${parent_path}${/}${Out_Dir}${/}${Default_Out_Dir} +${parent_path}${/}${Default_Out_Dir} +Runs the specified keyword and returns from the enclosing user keyword. + + + +${result} +Fails if the given condition is not true. + + +${TEST_DATA_DIR}${/}${build-c}${/}solution.csolution.yml +${Pass} + + + + + + + + +${parent_path} = C:\Sandbox\forked\cmsis-toolbox\test\build\build-cpp +${parent_path} +${input_file} + + + + +${args} = ['--output', 'C:\\Sandbox\\forked\\cmsis-toolbox\\test\\build\\build-cpp\\out_dir'] +${args} +${list} +${values} +Combines the given ``lists`` together and returns the result. + + + +${args} + + +${ex_args} = ['--output', 'C:\\Sandbox\\forked\\cmsis-toolbox\\test\\build\\build-cpp\\out_dir'] +${ex_args} +${args} +--output +${parent_path}${/}${Out_Dir} +Append values to the list + + + + +${args} +-p +-r +--update-rte +Adds ``values`` to the end of ``list``. + + + + +Starting process: +cbuild C:\Sandbox\forked\cmsis-toolbox\test\build\build-cpp\solution.csolution.yml --output C:\Sandbox\forked\cmsis-toolbox\test\build\build-cpp\out_dir -p -r --update-rte +Waiting for process to complete. +Process completed. +${result} = <result object with rc 0> +${result} +${exe_path} +${input_File} +@{args} +shell=True +stdout=C:\\Sandbox\\forked\\cmsis-toolbox\\test\\resources/stdout.txt +Runs a process and waits for it to complete. + + + +${ret_code} = 0 +${ret_code} +${result.rc} == ${0} +${result.rc} +${1} +Sets variable based on the given condition. + + + +StdOut: info cbuild: Build Invocation (C) 2024 Arm Ltd. and Contributors +C:/Sandbox/forked/cmsis-toolbox/test/build/build-cpp/solution.cbuild-pack.yml - info csolution: file generated successfully +C:/Sandbox/forked/cmsis-toolbox/test/build/build-cpp/out_dir/solution.cbuild-idx.yml - info csolution: file generated successfully +C:/Sandbox/forked/cmsis-toolbox/test/build/build-cpp/out_dir/project.AC6+ARMCM55.cbuild.yml - info csolution: file generated successfully +C:/Sandbox/forked/cmsis-toolbox/test/build/build-cpp/out_dir/project.CLANG+ARMCM55.cbuild.yml - info csolution: file generated successfully +C:/Sandbox/forked/cmsis-toolbox/test/build/build-cpp/out_dir/project.GCC+ARMCM55.cbuild.yml - info csolution: file generated successfully +C:/Sandbox/forked/cmsis-toolbox/test/build/build-cpp/out_dir/project.AC6+ARMCM55.cprj - info csolution: file generated successfully +C:/Sandbox/forked/cmsis-toolbox/test/build/build-cpp/out_dir/project.CLANG+ARMCM55.cprj - info csolution: file generated successfully +C:/Sandbox/forked/cmsis-toolbox/test/build/build-cpp/out_dir/project.GCC+ARMCM55.cprj - info csolution: file generated successfully +info cbuild: Processing 3 context(s) +info cbuild: Retrieve build information for context: "project.AC6+ARMCM55" +info cbuild: Retrieve build information for context: "project.CLANG+ARMCM55" +info cbuild: Retrieve build information for context: "project.GCC+ARMCM55" +info cbuild: Cleaning context: "project.AC6+ARMCM55" +info cbuild: clean finished successfully! +info cbuild: Cleaning context: "project.CLANG+ARMCM55" +info cbuild: clean finished successfully! +info cbuild: Cleaning context: "project.GCC+ARMCM55" +info cbuild: clean finished successfully! +========================================================== +(1/3) Building context: "project.AC6+ARMCM55" + +M650: Command completed successfully. + +M652: Generated file for project build: 'C:/Sandbox/forked/cmsis-toolbox/test/build/build-cpp/out_dir/tmp/project/ARMCM55/AC6/CMakeLists.txt' +-- The C compiler identification is ARMClang 6.22.0 +-- The CXX compiler identification is ARMClang 6.22.0 +-- Detecting C compiler ABI info +-- Detecting C compiler ABI info - done +-- Check for working C compiler: C:/tools/ArmCompilerforEmbedded6.22/bin/armclang.exe - skipped +-- Detecting C compile features +-- Detecting C compile features - done +-- Detecting CXX compiler ABI info +-- Detecting CXX compiler ABI info - done +-- Check for working CXX compiler: C:/tools/ArmCompilerforEmbedded6.22/bin/armclang.exe - skipped +-- Detecting CXX compile features +-- Detecting CXX compile features - done +*** Using Compiler 'V6.22.0', folder: C:/tools/ArmCompilerforEmbedded6.22/bin +-- Configuring done (9.2s) +-- Generating done (0.0s) +-- Build files have been written to: C:/Sandbox/forked/cmsis-toolbox/test/build/build-cpp/out_dir/tmp/project/ARMCM55/AC6 +[1/4] Building C object CMakeFiles/project.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/build-cpp/project/RTE/Device/ARMCM55/system_ARMCM55.o +[2/4] Building C object CMakeFiles/project.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/build-cpp/project/RTE/Device/ARMCM55/startup_ARMCM55.o +[3/4] Building CXX object CMakeFiles/project.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/build-cpp/project/main.o +[4/4] Linking CXX executable C:\Sandbox\forked\cmsis-toolbox\test\build\build-cpp\out_dir\out\project\ARMCM55\AC6\project.axf +Program Size: Code=416 RO-data=2000 RW-data=4 ZI-data=3584 +info cbuild: build finished successfully! +============================================================ +(2/3) Building context: "project.CLANG+ARMCM55" + +M650: Command completed successfully. + +M652: Generated file for project build: 'C:/Sandbox/forked/cmsis-toolbox/test/build/build-cpp/out_dir/tmp/project/ARMCM55/CLANG/CMakeLists.txt' +-- The C compiler identification is Clang 17.0.1 +-- The CXX compiler identification is Clang 17.0.1 +-- Detecting C compiler ABI info +-- Detecting C compiler ABI info - done +-- Check for working C compiler: C:/tools/LLVMEmbeddedToolchainForArm/bin/clang.exe - skipped +-- Detecting C compile features +-- Detecting C compile features - done +-- Detecting CXX compiler ABI info +-- Detecting CXX compiler ABI info - done +-- Check for working CXX compiler: C:/tools/LLVMEmbeddedToolchainForArm/bin/clang++.exe - skipped +-- Detecting CXX compile features +-- Detecting CXX compile features - done +*** Using Compiler 'V17.0.1', folder: C:/tools/LLVMEmbeddedToolchainForArm/bin +-- Configuring done (3.7s) +-- Generating done (0.0s) +-- Build files have been written to: C:/Sandbox/forked/cmsis-toolbox/test/build/build-cpp/out_dir/tmp/project/ARMCM55/CLANG +[1/4] Building C object CMakeFiles/project.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/build-cpp/project/RTE/Device/ARMCM55/system_ARMCM55.c.obj +[2/4] Building C object CMakeFiles/project.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/build-cpp/project/RTE/Device/ARMCM55/startup_ARMCM55.c.obj +[3/4] Building CXX object CMakeFiles/project.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/build-cpp/project/main.cpp.obj +[4/4] Linking CXX executable C:\Sandbox\forked\cmsis-toolbox\test\build\build-cpp\out_dir\out\project\ARMCM55\CLANG\project.elf +info cbuild: build finished successfully! +========================================================== +(3/3) Building context: "project.GCC+ARMCM55" + +M650: Command completed successfully. + +M652: Generated file for project build: 'C:/Sandbox/forked/cmsis-toolbox/test/build/build-cpp/out_dir/tmp/project/ARMCM55/GCC/CMakeLists.txt' +-- The C compiler identification is GNU 13.2.1 +-- The CXX compiler identification is GNU 13.2.1 +-- Detecting C compiler ABI info +-- Detecting C compiler ABI info - done +-- Check for working C compiler: C:/Program Files (x86)/Arm GNU Toolchain arm-none-eabi/13.2 Rel1/bin/arm-none-eabi-gcc.exe - skipped +-- Detecting C compile features +-- Detecting C compile features - done +-- Detecting CXX compiler ABI info +-- Detecting CXX compiler ABI info - done +-- Check for working CXX compiler: C:/Program Files (x86)/Arm GNU Toolchain arm-none-eabi/13.2 Rel1/bin/arm-none-eabi-g++.exe - skipped +-- Detecting CXX compile features +-- Detecting CXX compile features - done +*** Using Compiler 'V13.2.1', folder: C:/Program Files (x86)/Arm GNU Toolchain arm-none-eabi/13.2 Rel1/bin +-- Registered toolchain version 10.3.1 does not match running version 13.2.1 +-- Configuring done (4.3s) +-- Generating done (0.0s) +-- Build files have been written to: C:/Sandbox/forked/cmsis-toolbox/test/build/build-cpp/out_dir/tmp/project/ARMCM55/GCC +[1/4] Building C object CMakeFiles/project.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/build-cpp/project/RTE/Device/ARMCM55/system_ARMCM55.c.obj +[2/4] Building C object CMakeFiles/project.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/build-cpp/project/RTE/Device/ARMCM55/startup_ARMCM55.c.obj +[3/4] Building CXX object CMakeFiles/project.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/build-cpp/project/main.cpp.obj +[4/4] Linking CXX executable C:\Sandbox\forked\cmsis-toolbox\test\build\build-cpp\out_dir\out\project\ARMCM55\GCC\project.elf +C:/PROGRA~2/ARMGNU~1/13C7F1~1.2RE/bin/../lib/gcc/arm-none-eabi/13.2.1/../../../../arm-none-eabi/bin/ld.exe: warning: C:\Sandbox\forked\cmsis-toolbox\test\build\build-cpp\out_dir\out\project\ARMCM55\GCC\project.elf has a LOAD segment with RWX permissions +info cbuild: build finished successfully! + +Build summary: Build completed successfully - Time Elapsed: 00:00:22 +StdOut: ${result.stdout} +Logs the given messages as separate entries using the INFO level. + + + +${ret_code} + + +${ret_code} = 0 +${ret_code} +cbuild +${input_file} +@{args} +Run specified executable with arguments + + + +${ret_code} + + +${ret_code} = 0 +${ret_code} +${input_file} +${ex_args} +Run cbuild with specified arguments + + + +${ret_code} +${expect} +msg=Unexpected status returned by cbuildgen execution +Fails if the given objects are unequal. + + +${input_file} +${expect} +${args} +Run the csolution project with cbuildgen + + + + + +${args} = ['--cbuild2cmake'] +${args} +${list} +${values} +Combines the given ``lists`` together and returns the result. + + + +${args} + + +${ex_args} = ['--cbuild2cmake'] +${ex_args} +${args} +--cbuild2cmake +Append values to the list + + + + +${args} +-p +-r +--update-rte +Adds ``values`` to the end of ``list``. + + + + +Starting process: +cbuild C:\Sandbox\forked\cmsis-toolbox\test\build\build-cpp\solution.csolution.yml --cbuild2cmake -p -r --update-rte +Waiting for process to complete. +Process completed. +${result} = <result object with rc 0> +${result} +${exe_path} +${input_File} +@{args} +shell=True +stdout=C:\\Sandbox\\forked\\cmsis-toolbox\\test\\resources/stdout.txt +Runs a process and waits for it to complete. + + + +${ret_code} = 0 +${ret_code} +${result.rc} == ${0} +${result.rc} +${1} +Sets variable based on the given condition. + + + +StdOut: info cbuild: Build Invocation (C) 2024 Arm Ltd. and Contributors +C:/Sandbox/forked/cmsis-toolbox/test/build/build-cpp/solution.cbuild-pack.yml - info csolution: file is already up-to-date +C:/Sandbox/forked/cmsis-toolbox/test/build/build-cpp/solution.cbuild-idx.yml - info csolution: file generated successfully +C:/Sandbox/forked/cmsis-toolbox/test/build/build-cpp/project/project.AC6+ARMCM55.cbuild.yml - info csolution: file generated successfully +C:/Sandbox/forked/cmsis-toolbox/test/build/build-cpp/project/project.CLANG+ARMCM55.cbuild.yml - info csolution: file generated successfully +C:/Sandbox/forked/cmsis-toolbox/test/build/build-cpp/project/project.GCC+ARMCM55.cbuild.yml - info csolution: file generated successfully +C:/Sandbox/forked/cmsis-toolbox/test/build/build-cpp/project/project.AC6+ARMCM55.cprj - info csolution: file generated successfully +C:/Sandbox/forked/cmsis-toolbox/test/build/build-cpp/project/project.CLANG+ARMCM55.cprj - info csolution: file generated successfully +C:/Sandbox/forked/cmsis-toolbox/test/build/build-cpp/project/project.GCC+ARMCM55.cprj - info csolution: file generated successfully +info cbuild: Processing 3 context(s) +info cbuild: Cleaning context: "project.AC6+ARMCM55" +info cbuild: clean finished successfully! +info cbuild: Cleaning context: "project.CLANG+ARMCM55" +info cbuild: clean finished successfully! +info cbuild: Cleaning context: "project.GCC+ARMCM55" +info cbuild: clean finished successfully! +info cbuild2cmake: Generate CMakeLists 0.9.0 (C) 2024 Arm Ltd. and Contributors +info cbuild2cmake: CMakeLists were successfully generated in the C:/Sandbox/forked/cmsis-toolbox/test/build/build-cpp/tmp directory +-- Configuring done (0.5s) +-- Generating done (0.1s) +-- Build files have been written to: C:/Sandbox/forked/cmsis-toolbox/test/build/build-cpp/tmp +[1/27] Creating directories for 'project.AC6+ARMCM55' +[2/27] Creating directories for 'project.CLANG+ARMCM55' +[3/27] Creating directories for 'project.GCC+ARMCM55' +[4/27] No download step for 'project.AC6+ARMCM55' +[5/27] No download step for 'project.CLANG+ARMCM55' +[6/27] No download step for 'project.GCC+ARMCM55' +[7/27] No update step for 'project.AC6+ARMCM55' +[8/27] No update step for 'project.CLANG+ARMCM55' +[9/27] No update step for 'project.GCC+ARMCM55' +[10/27] No patch step for 'project.AC6+ARMCM55' +[11/27] No patch step for 'project.CLANG+ARMCM55' +[12/27] No patch step for 'project.GCC+ARMCM55' +[13/27] Performing configure step for 'project.CLANG+ARMCM55' +-- The CXX compiler identification is Clang 17.0.1 +-- The C compiler identification is Clang 17.0.1 +-- Detecting CXX compiler ABI info +-- Detecting CXX compiler ABI info - done +-- Check for working CXX compiler: C:/tools/LLVMEmbeddedToolchainForArm/bin/clang++.exe - skipped +-- Detecting CXX compile features +-- Detecting CXX compile features - done +-- Detecting C compiler ABI info +-- Detecting C compiler ABI info - done +-- Check for working C compiler: C:/tools/LLVMEmbeddedToolchainForArm/bin/clang.exe - skipped +-- Detecting C compile features +-- Detecting C compile features - done +-- Configuring done (5.6s) +-- Generating done (0.1s) +-- Build files have been written to: C:/Sandbox/forked/cmsis-toolbox/test/build/build-cpp/tmp/2 +[14/27] Performing configure step for 'project.GCC+ARMCM55' +-- The CXX compiler identification is GNU 13.2.1 +-- The C compiler identification is GNU 13.2.1 +-- Detecting CXX compiler ABI info +-- Detecting CXX compiler ABI info - done +-- Check for working CXX compiler: C:/Program Files (x86)/Arm GNU Toolchain arm-none-eabi/13.2 Rel1/bin/arm-none-eabi-g++.exe - skipped +-- Detecting CXX compile features +-- Detecting CXX compile features - done +-- Detecting C compiler ABI info +-- Detecting C compiler ABI info - done +-- Check for working C compiler: C:/Program Files (x86)/Arm GNU Toolchain arm-none-eabi/13.2 Rel1/bin/arm-none-eabi-gcc.exe - skipped +-- Detecting C compile features +-- Detecting C compile features - done +-- Configuring done (6.2s) +-- Generating done (0.1s) +-- Build files have been written to: C:/Sandbox/forked/cmsis-toolbox/test/build/build-cpp/tmp/3 +[15/27] Performing build step for 'project.CLANG+ARMCM55' +[1/4] Building C object CMakeFiles/ARM_Device_Startup_C_Startup_2_2_0.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/build-cpp/project/RTE/Device/ARMCM55/startup_ARMCM55.c.obj +[2/4] Building C object CMakeFiles/ARM_Device_Startup_C_Startup_2_2_0.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/build-cpp/project/RTE/Device/ARMCM55/system_ARMCM55.c.obj +[3/4] Building CXX object CMakeFiles/Group_Source.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/build-cpp/project/main.cpp.obj +[4/4] Linking CXX executable C:\Sandbox\forked\cmsis-toolbox\test\build\build-cpp\out\project\ARMCM55\CLANG\project.elf +[16/27] No install step for 'project.CLANG+ARMCM55' +[17/27] No test step for 'project.CLANG+ARMCM55' +[18/27] Completed 'project.CLANG+ARMCM55' +[19/27] Performing build step for 'project.GCC+ARMCM55' +[1/4] Building C object CMakeFiles/ARM_Device_Startup_C_Startup_2_2_0.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/build-cpp/project/RTE/Device/ARMCM55/startup_ARMCM55.c.obj +[2/4] Building C object CMakeFiles/ARM_Device_Startup_C_Startup_2_2_0.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/build-cpp/project/RTE/Device/ARMCM55/system_ARMCM55.c.obj +[3/4] Building CXX object CMakeFiles/Group_Source.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/build-cpp/project/main.cpp.obj +[4/4] Linking CXX executable C:\Sandbox\forked\cmsis-toolbox\test\build\build-cpp\out\project\ARMCM55\GCC\project.elf +C:/PROGRA~2/ARMGNU~1/13C7F1~1.2RE/bin/../lib/gcc/arm-none-eabi/13.2.1/../../../../arm-none-eabi/bin/ld.exe: warning: C:\Sandbox\forked\cmsis-toolbox\test\build\build-cpp\out\project\ARMCM55\GCC\project.elf has a LOAD segment with RWX permissions +[20/27] No install step for 'project.GCC+ARMCM55' +[21/27] No test step for 'project.GCC+ARMCM55' +[22/27] Completed 'project.GCC+ARMCM55' +[23/27] Performing configure step for 'project.AC6+ARMCM55' +-- The CXX compiler identification is ARMClang 6.22.0 +-- The C compiler identification is ARMClang 6.22.0 +-- Detecting CXX compiler ABI info +-- Detecting CXX compiler ABI info - done +-- Check for working CXX compiler: C:/tools/ArmCompilerforEmbedded6.22/bin/armclang.exe - skipped +-- Detecting CXX compile features +-- Detecting CXX compile features - done +-- Detecting C compiler ABI info +-- Detecting C compiler ABI info - done +-- Check for working C compiler: C:/tools/ArmCompilerforEmbedded6.22/bin/armclang.exe - skipped +-- Detecting C compile features +-- Detecting C compile features - done +-- Configuring done (13.8s) +-- Generating done (0.0s) +-- Build files have been written to: C:/Sandbox/forked/cmsis-toolbox/test/build/build-cpp/tmp/1 +[24/27] Performing build step for 'project.AC6+ARMCM55' +[1/4] Building C object CMakeFiles/ARM_Device_Startup_C_Startup_2_2_0.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/build-cpp/project/RTE/Device/ARMCM55/startup_ARMCM55.o +[2/4] Building C object CMakeFiles/ARM_Device_Startup_C_Startup_2_2_0.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/build-cpp/project/RTE/Device/ARMCM55/system_ARMCM55.o +[3/4] Building CXX object CMakeFiles/Group_Source.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/build-cpp/project/main.o +[4/4] Linking CXX executable C:\Sandbox\forked\cmsis-toolbox\test\build\build-cpp\out\project\ARMCM55\AC6\project.axf +Program Size: Code=416 RO-data=2000 RW-data=4 ZI-data=3584 +[25/27] No install step for 'project.AC6+ARMCM55' +[26/27] No test step for 'project.AC6+ARMCM55' +[27/27] Completed 'project.AC6+ARMCM55' +info cbuild: build finished successfully! + +Build summary: Build completed successfully - Time Elapsed: 00:00:17 +StdOut: ${result.stdout} +Logs the given messages as separate entries using the INFO level. + + + +${ret_code} + + +${ret_code} = 0 +${ret_code} +cbuild +${input_file} +@{args} +Run specified executable with arguments + + + +${ret_code} + + +${ret_code} = 0 +${ret_code} +${input_file} +${ex_args} +Run cbuild with specified arguments + + + +${ret_code} +${expect} +msg=Unexpected status returned by cbuild2cmake execution +Fails if the given objects are unequal. + + +${input_file} +${expect} +${args} +Run the csolution project with cbuild2cmake + + + +${parent_path} = C:\Sandbox\forked\cmsis-toolbox\test\build\build-cpp +${parent_path} +${input_file} + + + + +Running Command: c b u i l d l i s t c o n t e x t s C : \ S a n d b o x \ f o r k e d \ c m s i s - t o o l b o x \ t e s t \ b u i l d \ b u i l d - c p p \ s o l u t i o n . c s o l u t i o n . y m l +Processing context: project.AC6+ARMCM55 +basePath: C:\Sandbox\forked\cmsis-toolbox\test\build\build-cpp\out_dir\out +Path: project/ARMCM55/AC6/project.axf +Running Command: f r o m e l f C : \ S a n d b o x \ f o r k e d \ c m s i s - t o o l b o x \ t e s t \ b u i l d \ b u i l d - c p p \ o u t _ d i r \ o u t \ p r o j e c t / A R M C M 5 5 / A C 6 / p r o j e c t . a x f - z +Running Command: f r o m e l f C : \ S a n d b o x \ f o r k e d \ c m s i s - t o o l b o x \ t e s t \ b u i l d \ b u i l d - c p p \ o u t \ p r o j e c t / A R M C M 5 5 / A C 6 / p r o j e c t . a x f - z +Object Info +======================================================================== + +** Object/Image Component Sizes + + Code (inc. data) RO Data RW Data ZI Data Debug Object Name + + 416 16 2000 4 3584 672 C:\Sandbox\forked\cmsis-toolbox\test\build\build-cpp\out_dir\out\project/ARMCM55/AC6/project.axf + 416 16 2000 4 0 0 ROM Totals for C:\Sandbox\forked\cmsis-toolbox\test\build\build-cpp\out_dir\out\project/ARMCM55/AC6/project.axf + +Object Info +======================================================================== + +** Object/Image Component Sizes + + Code (inc. data) RO Data RW Data ZI Data Debug Object Name + + 416 16 2000 4 3584 672 C:\Sandbox\forked\cmsis-toolbox\test\build\build-cpp\out\project/ARMCM55/AC6/project.axf + 416 16 2000 4 0 0 ROM Totals for C:\Sandbox\forked\cmsis-toolbox\test\build\build-cpp\out\project/ARMCM55/AC6/project.axf + +Processing context: project.CLANG+ARMCM55 +basePath: C:\Sandbox\forked\cmsis-toolbox\test\build\build-cpp\out_dir\out +Path: project/ARMCM55/CLANG/project.elf +Running Command: f r o m e l f C : \ S a n d b o x \ f o r k e d \ c m s i s - t o o l b o x \ t e s t \ b u i l d \ b u i l d - c p p \ o u t _ d i r \ o u t \ p r o j e c t / A R M C M 5 5 / C L A N G / p r o j e c t . e l f - z +Running Command: f r o m e l f C : \ S a n d b o x \ f o r k e d \ c m s i s - t o o l b o x \ t e s t \ b u i l d \ b u i l d - c p p \ o u t \ p r o j e c t / A R M C M 5 5 / C L A N G / p r o j e c t . e l f - z +Object Info +======================================================================== + +** Object/Image Component Sizes + + Code (inc. data) RO Data RW Data ZI Data Debug Object Name + + 8864 240 2176 24 4872 45710 C:\Sandbox\forked\cmsis-toolbox\test\build\build-cpp\out_dir\out\project/ARMCM55/CLANG/project.elf + 8864 240 2176 24 0 0 ROM Totals for C:\Sandbox\forked\cmsis-toolbox\test\build\build-cpp\out_dir\out\project/ARMCM55/CLANG/project.elf + +Object Info +======================================================================== + +** Object/Image Component Sizes + + Code (inc. data) RO Data RW Data ZI Data Debug Object Name + + 8872 240 2176 24 4872 45710 C:\Sandbox\forked\cmsis-toolbox\test\build\build-cpp\out\project/ARMCM55/CLANG/project.elf + 8872 240 2176 24 0 0 ROM Totals for C:\Sandbox\forked\cmsis-toolbox\test\build\build-cpp\out\project/ARMCM55/CLANG/project.elf + +Processing context: project.GCC+ARMCM55 +basePath: C:\Sandbox\forked\cmsis-toolbox\test\build\build-cpp\out_dir\out +Path: project/ARMCM55/GCC/project.elf +Running Command: f r o m e l f C : \ S a n d b o x \ f o r k e d \ c m s i s - t o o l b o x \ t e s t \ b u i l d \ b u i l d - c p p \ o u t _ d i r \ o u t \ p r o j e c t / A R M C M 5 5 / G C C / p r o j e c t . e l f - z +Running Command: f r o m e l f C : \ S a n d b o x \ f o r k e d \ c m s i s - t o o l b o x \ t e s t \ b u i l d \ b u i l d - c p p \ o u t \ p r o j e c t / A R M C M 5 5 / G C C / p r o j e c t . e l f - z +Object Info +======================================================================== + +** Object/Image Component Sizes + + Code (inc. data) RO Data RW Data ZI Data Debug Object Name + + 5456 2376 8 408 4628 2829 C:\Sandbox\forked\cmsis-toolbox\test\build\build-cpp\out_dir\out\project/ARMCM55/GCC/project.elf + 5456 2376 8 408 0 0 ROM Totals for C:\Sandbox\forked\cmsis-toolbox\test\build\build-cpp\out_dir\out\project/ARMCM55/GCC/project.elf + +Object Info +======================================================================== + +** Object/Image Component Sizes + + Code (inc. data) RO Data RW Data ZI Data Debug Object Name + + 5456 2376 8 408 4628 2829 C:\Sandbox\forked\cmsis-toolbox\test\build\build-cpp\out\project/ARMCM55/GCC/project.elf + 5456 2376 8 408 0 0 ROM Totals for C:\Sandbox\forked\cmsis-toolbox\test\build\build-cpp\out\project/ARMCM55/GCC/project.elf + +${input_file} +${parent_path}${/}${Out_Dir}${/}${Default_Out_Dir} +${parent_path}${/}${Default_Out_Dir} + + +Returning from the enclosing user keyword. +${result} +Compare Elf Information +${input_file} +${parent_path}${/}${Out_Dir}${/}${Default_Out_Dir} +${parent_path}${/}${Default_Out_Dir} +Runs the specified keyword and returns from the enclosing user keyword. + + + +${result} +Fails if the given condition is not true. + + +${TEST_DATA_DIR}${/}${build-cpp}${/}solution.csolution.yml +${Pass} + + + + + + + + +${parent_path} = C:\Sandbox\forked\cmsis-toolbox\test\build\include-define +${parent_path} +${input_file} + + + + +${args} = ['--output', 'C:\\Sandbox\\forked\\cmsis-toolbox\\test\\build\\include-define\\out_dir'] +${args} +${list} +${values} +Combines the given ``lists`` together and returns the result. + + + +${args} + + +${ex_args} = ['--output', 'C:\\Sandbox\\forked\\cmsis-toolbox\\test\\build\\include-define\\out_dir'] +${ex_args} +${args} +--output +${parent_path}${/}${Out_Dir} +Append values to the list + + + + +${args} +-p +-r +--update-rte +Adds ``values`` to the end of ``list``. + + + + +Starting process: +cbuild C:\Sandbox\forked\cmsis-toolbox\test\build\include-define\solution.csolution.yml --output C:\Sandbox\forked\cmsis-toolbox\test\build\include-define\out_dir -p -r --update-rte +Waiting for process to complete. +Process completed. +${result} = <result object with rc 4294967295> +${result} +${exe_path} +${input_File} +@{args} +shell=True +stdout=C:\\Sandbox\\forked\\cmsis-toolbox\\test\\resources/stdout.txt +Runs a process and waits for it to complete. + + + +${ret_code} = 1 +${ret_code} +${result.rc} == ${0} +${result.rc} +${1} +Sets variable based on the given condition. + + + +StdOut: info cbuild: Build Invocation (C) 2024 Arm Ltd. and Contributors +C:/Sandbox/forked/cmsis-toolbox/test/build/include-define/solution.cbuild-pack.yml - info csolution: file generated successfully +C:/Sandbox/forked/cmsis-toolbox/test/build/include-define/out_dir/solution.cbuild-idx.yml - info csolution: file generated successfully +C:/Sandbox/forked/cmsis-toolbox/test/build/include-define/out_dir/project.AC6+ARMCM0.cbuild.yml - info csolution: file generated successfully +C:/Sandbox/forked/cmsis-toolbox/test/build/include-define/out_dir/project.CLANG+ARMCM0.cbuild.yml - info csolution: file generated successfully +C:/Sandbox/forked/cmsis-toolbox/test/build/include-define/out_dir/project.GCC+ARMCM0.cbuild.yml - info csolution: file generated successfully +C:/Sandbox/forked/cmsis-toolbox/test/build/include-define/out_dir/project.AC6+ARMCM0.cprj - info csolution: file generated successfully +C:/Sandbox/forked/cmsis-toolbox/test/build/include-define/out_dir/project.CLANG+ARMCM0.cprj - info csolution: file generated successfully +C:/Sandbox/forked/cmsis-toolbox/test/build/include-define/out_dir/project.GCC+ARMCM0.cprj - info csolution: file generated successfully +info cbuild: Processing 3 context(s) +info cbuild: Retrieve build information for context: "project.AC6+ARMCM0" +info cbuild: Retrieve build information for context: "project.CLANG+ARMCM0" +info cbuild: Retrieve build information for context: "project.GCC+ARMCM0" +info cbuild: Cleaning context: "project.AC6+ARMCM0" +info cbuild: clean finished successfully! +info cbuild: Cleaning context: "project.CLANG+ARMCM0" +info cbuild: clean finished successfully! +info cbuild: Cleaning context: "project.GCC+ARMCM0" +info cbuild: clean finished successfully! +========================================================= +(1/3) Building context: "project.AC6+ARMCM0" + +M650: Command completed successfully. + +M652: Generated file for project build: 'C:/Sandbox/forked/cmsis-toolbox/test/build/include-define/out_dir/tmp/project/ARMCM0/AC6/CMakeLists.txt' +-- The C compiler identification is ARMClang 6.22.0 +-- Detecting C compiler ABI info +-- Detecting C compiler ABI info - done +-- Check for working C compiler: C:/tools/ArmCompilerforEmbedded6.22/bin/armclang.exe - skipped +-- Detecting C compile features +-- Detecting C compile features - done +*** Using Compiler 'V6.22.0', folder: C:/tools/ArmCompilerforEmbedded6.22/bin +-- Configuring done (4.1s) +-- Generating done (0.0s) +-- Build files have been written to: C:/Sandbox/forked/cmsis-toolbox/test/build/include-define/out_dir/tmp/project/ARMCM0/AC6 +[1/6] Building C object CMakeFiles/project.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/include-define/project/RTE/Device/ARMCM0/startup_ARMCM0.o +[2/6] Building C object CMakeFiles/project.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/include-define/project/source1.o +[3/6] Building C object CMakeFiles/project.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/include-define/project/RTE/Device/ARMCM0/system_ARMCM0.o +[4/6] Building C object CMakeFiles/project.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/include-define/project/main.o +[5/6] Building C object CMakeFiles/project.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/include-define/project/source2.o +FAILED: CMakeFiles/project.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/include-define/project/source2.o +C:\tools\ArmCompilerforEmbedded6.22\bin\armclang.exe --target=arm-arm-none-eabi -IC:\Sandbox\forked\cmsis-toolbox\test\build\include-define\project\inc2 -IC:\Sandbox\forked\cmsis-toolbox\test\build\include-define\project\RTE\_AC6_ARMCM0 -IC:\Users\soumeh01\AppData\Local\Arm\Packs\ARM\CMSIS\6.0.0\CMSIS\Core\Include -IC:\Users\soumeh01\AppData\Local\Arm\Packs\ARM\Cortex_DFP\1.0.0\Device\ARMCM0\Include -IC:/Sandbox/forked/cmsis-toolbox/test/build/include-define/project/RTE/_AC6_ARMCM0 -IC:/Users/soumeh01/AppData/Local/Arm/Packs/ARM/CMSIS/6.0.0/CMSIS/Core/Include -IC:/Users/soumeh01/AppData/Local/Arm/Packs/ARM/Cortex_DFP/1.0.0/Device/ARMCM0/Include -IC:/Sandbox/forked/cmsis-toolbox/test/build/include-define/project/inc3 -mcpu=Cortex-M0 -mfpu=none --target=arm-arm-none-eabi -c -std=gnu11 -Wno-macro-redefined -Wno-pragma-pack -Wno-parentheses-equality -Wno-license-management -isystem "C:/tools/ArmCompilerforEmbedded6.22/include" -DARMCM0 -D_RTE_ -DDEF1=1 -DDEF2=1 -MD -MT CMakeFiles/project.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/include-define/project/source2.o -MF CMakeFiles\project.dir\C_\Sandbox\forked\cmsis-toolbox\test\build\include-define\project\source2.o.d -o CMakeFiles/project.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/include-define/project/source2.o -c C:/Sandbox/forked/cmsis-toolbox/test/build/include-define/project/source2.c +C:/Sandbox/forked/cmsis-toolbox/test/build/include-define/project/source2.c:12:2: error: "DEF1 is defined" + 12 | #error "DEF1 is defined" + | ^ +1 error generated. +ninja: build stopped: subcommand failed. +error cbuild: error executing 'cmake' build +error cbuild: error building 'C:\Sandbox\forked\cmsis-toolbox\test\build\include-define\out_dir\project.AC6+ARMCM0.cprj' +=========================================================== +(2/3) Building context: "project.CLANG+ARMCM0" + +M650: Command completed successfully. + +M652: Generated file for project build: 'C:/Sandbox/forked/cmsis-toolbox/test/build/include-define/out_dir/tmp/project/ARMCM0/CLANG/CMakeLists.txt' +-- The C compiler identification is Clang 17.0.1 +-- Detecting C compiler ABI info +-- Detecting C compiler ABI info - done +-- Check for working C compiler: C:/tools/LLVMEmbeddedToolchainForArm/bin/clang.exe - skipped +-- Detecting C compile features +-- Detecting C compile features - done +*** Using Compiler 'V17.0.1', folder: C:/tools/LLVMEmbeddedToolchainForArm/bin +-- Configuring done (1.7s) +-- Generating done (0.0s) +-- Build files have been written to: C:/Sandbox/forked/cmsis-toolbox/test/build/include-define/out_dir/tmp/project/ARMCM0/CLANG +[1/6] Building C object CMakeFiles/project.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/include-define/project/RTE/Device/ARMCM0/startup_ARMCM0.c.obj +[2/6] Building C object CMakeFiles/project.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/include-define/project/source2.c.obj +FAILED: CMakeFiles/project.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/include-define/project/source2.c.obj +C:\tools\LLVMEmbeddedToolchainForArm\bin\clang.exe -IC:\Sandbox\forked\cmsis-toolbox\test\build\include-define\project\inc2 -IC:\Sandbox\forked\cmsis-toolbox\test\build\include-define\project\RTE\_CLANG_ARMCM0 -IC:\Users\soumeh01\AppData\Local\Arm\Packs\ARM\CMSIS\6.0.0\CMSIS\Core\Include -IC:\Users\soumeh01\AppData\Local\Arm\Packs\ARM\Cortex_DFP\1.0.0\Device\ARMCM0\Include -IC:/Sandbox/forked/cmsis-toolbox/test/build/include-define/project/RTE/_CLANG_ARMCM0 -IC:/Users/soumeh01/AppData/Local/Arm/Packs/ARM/CMSIS/6.0.0/CMSIS/Core/Include -IC:/Users/soumeh01/AppData/Local/Arm/Packs/ARM/Cortex_DFP/1.0.0/Device/ARMCM0/Include -IC:/Sandbox/forked/cmsis-toolbox/test/build/include-define/project/inc3 --target=armv6m-none-unknown-eabi -mcpu=cortex-m0 -mfloat-abi=soft -std=gnu11 -fomit-frame-pointer -ffunction-sections -fdata-sections -isystem "C:/tools/LLVMEmbeddedToolchainForArm/lib/clang/17/include" -isystem "C:/tools/LLVMEmbeddedToolchainForArm/lib/clang-runtimes/arm-none-eabi/armv6m_soft_nofp/include" -DARMCM0 -D_RTE_ -DDEF1=1 -DDEF2=1 -MD -MT CMakeFiles/project.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/include-define/project/source2.c.obj -MF CMakeFiles\project.dir\C_\Sandbox\forked\cmsis-toolbox\test\build\include-define\project\source2.c.obj.d -o CMakeFiles/project.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/include-define/project/source2.c.obj -c C:/Sandbox/forked/cmsis-toolbox/test/build/include-define/project/source2.c +C:/Sandbox/forked/cmsis-toolbox/test/build/include-define/project/source2.c:12:2: error: "DEF1 is defined" + 12 | #error "DEF1 is defined" + | ^ +1 error generated. +[3/6] Building C object CMakeFiles/project.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/include-define/project/source1.c.obj +[4/6] Building C object CMakeFiles/project.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/include-define/project/RTE/Device/ARMCM0/system_ARMCM0.c.obj +[5/6] Building C object CMakeFiles/project.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/include-define/project/main.c.obj +ninja: build stopped: subcommand failed. +error cbuild: error executing 'cmake' build +error cbuild: error building 'C:\Sandbox\forked\cmsis-toolbox\test\build\include-define\out_dir\project.CLANG+ARMCM0.cprj' +========================================================= +(3/3) Building context: "project.GCC+ARMCM0" + +M650: Command completed successfully. + +M652: Generated file for project build: 'C:/Sandbox/forked/cmsis-toolbox/test/build/include-define/out_dir/tmp/project/ARMCM0/GCC/CMakeLists.txt' +-- The C compiler identification is GNU 13.2.1 +-- Detecting C compiler ABI info +-- Detecting C compiler ABI info - done +-- Check for working C compiler: C:/Program Files (x86)/Arm GNU Toolchain arm-none-eabi/13.2 Rel1/bin/arm-none-eabi-gcc.exe - skipped +-- Detecting C compile features +-- Detecting C compile features - done +*** Using Compiler 'V13.2.1', folder: C:/Program Files (x86)/Arm GNU Toolchain arm-none-eabi/13.2 Rel1/bin +-- Registered toolchain version 10.3.1 does not match running version 13.2.1 +-- Configuring done (2.4s) +-- Generating done (0.0s) +-- Build files have been written to: C:/Sandbox/forked/cmsis-toolbox/test/build/include-define/out_dir/tmp/project/ARMCM0/GCC +[1/6] Building C object CMakeFiles/project.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/include-define/project/source2.c.obj +FAILED: CMakeFiles/project.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/include-define/project/source2.c.obj +C:\PROGRA~2\ARMGNU~1\13C7F1~1.2RE\bin\AR19DD~1.EXE -IC:\Sandbox\forked\cmsis-toolbox\test\build\include-define\project\inc2 -IC:\Sandbox\forked\cmsis-toolbox\test\build\include-define\project\RTE\_GCC_ARMCM0 -IC:\Users\soumeh01\AppData\Local\Arm\Packs\ARM\CMSIS\6.0.0\CMSIS\Core\Include -IC:\Users\soumeh01\AppData\Local\Arm\Packs\ARM\Cortex_DFP\1.0.0\Device\ARMCM0\Include -IC:/Sandbox/forked/cmsis-toolbox/test/build/include-define/project/RTE/_GCC_ARMCM0 -IC:/Users/soumeh01/AppData/Local/Arm/Packs/ARM/CMSIS/6.0.0/CMSIS/Core/Include -IC:/Users/soumeh01/AppData/Local/Arm/Packs/ARM/Cortex_DFP/1.0.0/Device/ARMCM0/Include -IC:/Sandbox/forked/cmsis-toolbox/test/build/include-define/project/inc3 -mcpu=cortex-m0 -std=gnu11 -masm-syntax-unified -fomit-frame-pointer -ffunction-sections -fdata-sections -isystem "C:/Program Files (x86)/Arm GNU Toolchain arm-none-eabi/13.2 Rel1/lib/gcc/arm-none-eabi/13.2.1/include" -isystem "C:/Program Files (x86)/Arm GNU Toolchain arm-none-eabi/13.2 Rel1/lib/gcc/arm-none-eabi/13.2.1/include-fixed" -isystem "C:/Program Files (x86)/Arm GNU Toolchain arm-none-eabi/13.2 Rel1/arm-none-eabi/include" -DARMCM0 -D_RTE_ -DDEF1=1 -DDEF2=1 -MD -MT CMakeFiles/project.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/include-define/project/source2.c.obj -MF CMakeFiles\project.dir\C_\Sandbox\forked\cmsis-toolbox\test\build\include-define\project\source2.c.obj.d -o CMakeFiles/project.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/include-define/project/source2.c.obj -c C:/Sandbox/forked/cmsis-toolbox/test/build/include-define/project/source2.c +C:/Sandbox/forked/cmsis-toolbox/test/build/include-define/project/source2.c:12:2: error: #error "DEF1 is defined" + 12 | #error "DEF1 is defined" + | ^~~~~ +[2/6] Building C object CMakeFiles/project.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/include-define/project/RTE/Device/ARMCM0/startup_ARMCM0.c.obj +[3/6] Building C object CMakeFiles/project.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/include-define/project/RTE/Device/ARMCM0/system_ARMCM0.c.obj +[4/6] Building C object CMakeFiles/project.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/include-define/project/main.c.obj +[5/6] Building C object CMakeFiles/project.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/include-define/project/source1.c.obj +ninja: build stopped: subcommand failed. +error cbuild: error executing 'cmake' build +error cbuild: error building 'C:\Sandbox\forked\cmsis-toolbox\test\build\include-define\out_dir\project.GCC+ARMCM0.cprj' + +Build summary: Build failed - Time Elapsed: 00:00:13 +error cbuild: exit status 1 +StdOut: ${result.stdout} +Logs the given messages as separate entries using the INFO level. + + + +${ret_code} + + +${ret_code} = 1 +${ret_code} +cbuild +${input_file} +@{args} +Run specified executable with arguments + + + +${ret_code} + + +${ret_code} = 1 +${ret_code} +${input_file} +${ex_args} +Run cbuild with specified arguments + + + +Unexpected status returned by cbuildgen execution: 1 != 0 +${ret_code} +${expect} +msg=Unexpected status returned by cbuildgen execution +Fails if the given objects are unequal. +Unexpected status returned by cbuildgen execution: 1 != 0 + +${input_file} +${expect} +${args} +Run the csolution project with cbuildgen +Unexpected status returned by cbuildgen execution: 1 != 0 + + +${input_file} +${expect} +${args} +Run the csolution project with cbuild2cmake + + + +${parent_path} +${input_file} + + + +${result} +Compare Elf Information +${input_file} +${parent_path}${/}${Out_Dir}${/}${Default_Out_Dir} +${parent_path}${/}${Default_Out_Dir} +Runs the specified keyword and returns from the enclosing user keyword. + + + +${result} +Fails if the given condition is not true. + + +${TEST_DATA_DIR}${/}${include-define}${/}solution.csolution.yml +${Pass} +Unexpected status returned by cbuildgen execution: 1 != 0 + +Unexpected status returned by cbuildgen execution: 1 != 0 + + + + + +${parent_path} = C:\Sandbox\forked\cmsis-toolbox\test\build\language-scope +${parent_path} +${input_file} + + + + +${args} = ['--output', 'C:\\Sandbox\\forked\\cmsis-toolbox\\test\\build\\language-scope\\out_dir'] +${args} +${list} +${values} +Combines the given ``lists`` together and returns the result. + + + +${args} + + +${ex_args} = ['--output', 'C:\\Sandbox\\forked\\cmsis-toolbox\\test\\build\\language-scope\\out_dir'] +${ex_args} +${args} +--output +${parent_path}${/}${Out_Dir} +Append values to the list + + + + +${args} +-p +-r +--update-rte +Adds ``values`` to the end of ``list``. + + + + +Starting process: +cbuild C:\Sandbox\forked\cmsis-toolbox\test\build\language-scope\solution.csolution.yml --output C:\Sandbox\forked\cmsis-toolbox\test\build\language-scope\out_dir -p -r --update-rte +Waiting for process to complete. +Process completed. +${result} = <result object with rc 4294967295> +${result} +${exe_path} +${input_File} +@{args} +shell=True +stdout=C:\\Sandbox\\forked\\cmsis-toolbox\\test\\resources/stdout.txt +Runs a process and waits for it to complete. + + + +${ret_code} = 1 +${ret_code} +${result.rc} == ${0} +${result.rc} +${1} +Sets variable based on the given condition. + + + +StdOut: info cbuild: Build Invocation (C) 2024 Arm Ltd. and Contributors +C:/Sandbox/forked/cmsis-toolbox/test/build/language-scope/solution.cbuild-pack.yml - info csolution: file generated successfully +C:/Sandbox/forked/cmsis-toolbox/test/build/language-scope/out_dir/solution.cbuild-idx.yml - info csolution: file generated successfully +C:/Sandbox/forked/cmsis-toolbox/test/build/language-scope/out_dir/project.AC6+ARMCM0.cbuild.yml - info csolution: file generated successfully +C:/Sandbox/forked/cmsis-toolbox/test/build/language-scope/out_dir/project.CLANG+ARMCM0.cbuild.yml - info csolution: file generated successfully +C:/Sandbox/forked/cmsis-toolbox/test/build/language-scope/out_dir/project.GCC+ARMCM0.cbuild.yml - info csolution: file generated successfully +C:/Sandbox/forked/cmsis-toolbox/test/build/language-scope/out_dir/project.AC6+ARMCM0.cprj - info csolution: file generated successfully +C:/Sandbox/forked/cmsis-toolbox/test/build/language-scope/out_dir/project.CLANG+ARMCM0.cprj - info csolution: file generated successfully +C:/Sandbox/forked/cmsis-toolbox/test/build/language-scope/out_dir/project.GCC+ARMCM0.cprj - info csolution: file generated successfully +info cbuild: Processing 3 context(s) +info cbuild: Retrieve build information for context: "project.AC6+ARMCM0" +info cbuild: Retrieve build information for context: "project.CLANG+ARMCM0" +info cbuild: Retrieve build information for context: "project.GCC+ARMCM0" +info cbuild: Cleaning context: "project.AC6+ARMCM0" +info cbuild: clean finished successfully! +info cbuild: Cleaning context: "project.CLANG+ARMCM0" +info cbuild: clean finished successfully! +info cbuild: Cleaning context: "project.GCC+ARMCM0" +info cbuild: clean finished successfully! +========================================================= +(1/3) Building context: "project.AC6+ARMCM0" + +M650: Command completed successfully. + +M652: Generated file for project build: 'C:/Sandbox/forked/cmsis-toolbox/test/build/language-scope/out_dir/tmp/project/ARMCM0/AC6/CMakeLists.txt' +-- The C compiler identification is ARMClang 6.22.0 +-- The CXX compiler identification is ARMClang 6.22.0 +-- Detecting C compiler ABI info +-- Detecting C compiler ABI info - done +-- Check for working C compiler: C:/tools/ArmCompilerforEmbedded6.22/bin/armclang.exe - skipped +-- Detecting C compile features +-- Detecting C compile features - done +-- Detecting CXX compiler ABI info +-- Detecting CXX compiler ABI info - done +-- Check for working CXX compiler: C:/tools/ArmCompilerforEmbedded6.22/bin/armclang.exe - skipped +-- Detecting CXX compile features +-- Detecting CXX compile features - done +*** Using Compiler 'V6.22.0', folder: C:/tools/ArmCompilerforEmbedded6.22/bin +-- Configuring done (10.9s) +-- Generating done (0.0s) +-- Build files have been written to: C:/Sandbox/forked/cmsis-toolbox/test/build/language-scope/out_dir/tmp/project/ARMCM0/AC6 +[1/6] Building C object CMakeFiles/project.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/language-scope/pack/LanguageAndScope/Dummy1.o +FAILED: CMakeFiles/project.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/language-scope/pack/LanguageAndScope/Dummy1.o +C:\tools\ArmCompilerforEmbedded6.22\bin\armclang.exe --target=arm-arm-none-eabi -IC:/Sandbox/forked/cmsis-toolbox/test/build/language-scope/project/RTE/_AC6_ARMCM0 -IC:/Users/soumeh01/AppData/Local/Arm/Packs/ARM/CMSIS/6.0.0/CMSIS/Core/Include -IC:/Users/soumeh01/AppData/Local/Arm/Packs/ARM/Cortex_DFP/1.0.0/Device/ARMCM0/Include -mcpu=Cortex-M0 -mfpu=none -DARMCM0 -D_RTE_ --target=arm-arm-none-eabi -c -std=gnu11 -Wno-macro-redefined -Wno-pragma-pack -Wno-parentheses-equality -Wno-license-management -isystem "C:/tools/ArmCompilerforEmbedded6.22/include" -MD -MT CMakeFiles/project.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/language-scope/pack/LanguageAndScope/Dummy1.o -MF CMakeFiles\project.dir\C_\Sandbox\forked\cmsis-toolbox\test\build\language-scope\pack\LanguageAndScope\Dummy1.o.d -o CMakeFiles/project.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/language-scope/pack/LanguageAndScope/Dummy1.o -c C:/Sandbox/forked/cmsis-toolbox/test/build/language-scope/pack/LanguageAndScope/Dummy1.c +C:/Sandbox/forked/cmsis-toolbox/test/build/language-scope/pack/LanguageAndScope/Dummy1.c:1:10: fatal error: 'Hidden.h' file not found + 1 | #include "Hidden.h" + | ^~~~~~~~~~ +1 error generated. +[2/6] Building CXX object CMakeFiles/project.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/language-scope/pack/LanguageAndScope/Dummy2.o +FAILED: CMakeFiles/project.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/language-scope/pack/LanguageAndScope/Dummy2.o +C:\tools\ArmCompilerforEmbedded6.22\bin\armclang.exe --target=arm-arm-none-eabi -IC:/Sandbox/forked/cmsis-toolbox/test/build/language-scope/project/RTE/_AC6_ARMCM0 -IC:/Users/soumeh01/AppData/Local/Arm/Packs/ARM/CMSIS/6.0.0/CMSIS/Core/Include -IC:/Users/soumeh01/AppData/Local/Arm/Packs/ARM/Cortex_DFP/1.0.0/Device/ARMCM0/Include -mcpu=Cortex-M0 -mfpu=none -DARMCM0 -D_RTE_ --target=arm-arm-none-eabi -c -Wno-macro-redefined -Wno-pragma-pack -Wno-parentheses-equality -Wno-license-management -isystem "C:/tools/ArmCompilerforEmbedded6.22/include/libcxx" -isystem "C:/tools/ArmCompilerforEmbedded6.22/include" -MD -MT CMakeFiles/project.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/language-scope/pack/LanguageAndScope/Dummy2.o -MF CMakeFiles\project.dir\C_\Sandbox\forked\cmsis-toolbox\test\build\language-scope\pack\LanguageAndScope\Dummy2.o.d -o CMakeFiles/project.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/language-scope/pack/LanguageAndScope/Dummy2.o -c C:/Sandbox/forked/cmsis-toolbox/test/build/language-scope/pack/LanguageAndScope/Dummy2.cpp +C:/Sandbox/forked/cmsis-toolbox/test/build/language-scope/pack/LanguageAndScope/Dummy2.cpp:1:10: fatal error: 'Hidden.h' file not found + 1 | #include "Hidden.h" + | ^~~~~~~~~~ +1 error generated. +[3/6] Building C object CMakeFiles/project.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/language-scope/project/main.o +FAILED: CMakeFiles/project.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/language-scope/project/main.o +C:\tools\ArmCompilerforEmbedded6.22\bin\armclang.exe --target=arm-arm-none-eabi -IC:/Sandbox/forked/cmsis-toolbox/test/build/language-scope/project/RTE/_AC6_ARMCM0 -IC:/Users/soumeh01/AppData/Local/Arm/Packs/ARM/CMSIS/6.0.0/CMSIS/Core/Include -IC:/Users/soumeh01/AppData/Local/Arm/Packs/ARM/Cortex_DFP/1.0.0/Device/ARMCM0/Include -mcpu=Cortex-M0 -mfpu=none -DARMCM0 -D_RTE_ --target=arm-arm-none-eabi -c -std=gnu11 -Wno-macro-redefined -Wno-pragma-pack -Wno-parentheses-equality -Wno-license-management -isystem "C:/tools/ArmCompilerforEmbedded6.22/include" -MD -MT CMakeFiles/project.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/language-scope/project/main.o -MF CMakeFiles\project.dir\C_\Sandbox\forked\cmsis-toolbox\test\build\language-scope\project\main.o.d -o CMakeFiles/project.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/language-scope/project/main.o -c C:/Sandbox/forked/cmsis-toolbox/test/build/language-scope/project/main.c +C:/Sandbox/forked/cmsis-toolbox/test/build/language-scope/project/main.c:22:2: error: "PUBLIC_H is not defined" + 22 | #error "PUBLIC_H is not defined" + | ^ +C:/Sandbox/forked/cmsis-toolbox/test/build/language-scope/project/main.c:29:2: error: "VISIBLE_H is not defined" + 29 | #error "VISIBLE_H is not defined" + | ^ +2 errors generated. +[4/6] Building C object CMakeFiles/project.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/language-scope/project/RTE/Device/ARMCM0/system_ARMCM0.o +[5/6] Building C object CMakeFiles/project.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/language-scope/project/RTE/Device/ARMCM0/startup_ARMCM0.o +ninja: build stopped: subcommand failed. +error cbuild: error executing 'cmake' build +error cbuild: error building 'C:\Sandbox\forked\cmsis-toolbox\test\build\language-scope\out_dir\project.AC6+ARMCM0.cprj' +=========================================================== +(2/3) Building context: "project.CLANG+ARMCM0" + +M650: Command completed successfully. + +M652: Generated file for project build: 'C:/Sandbox/forked/cmsis-toolbox/test/build/language-scope/out_dir/tmp/project/ARMCM0/CLANG/CMakeLists.txt' +-- The C compiler identification is Clang 17.0.1 +-- The CXX compiler identification is Clang 17.0.1 +-- Detecting C compiler ABI info +-- Detecting C compiler ABI info - done +-- Check for working C compiler: C:/tools/LLVMEmbeddedToolchainForArm/bin/clang.exe - skipped +-- Detecting C compile features +-- Detecting C compile features - done +-- Detecting CXX compiler ABI info +-- Detecting CXX compiler ABI info - done +-- Check for working CXX compiler: C:/tools/LLVMEmbeddedToolchainForArm/bin/clang++.exe - skipped +-- Detecting CXX compile features +-- Detecting CXX compile features - done +*** Using Compiler 'V17.0.1', folder: C:/tools/LLVMEmbeddedToolchainForArm/bin +-- Configuring done (3.6s) +-- Generating done (0.0s) +-- Build files have been written to: C:/Sandbox/forked/cmsis-toolbox/test/build/language-scope/out_dir/tmp/project/ARMCM0/CLANG +[1/6] Building C object CMakeFiles/project.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/language-scope/pack/LanguageAndScope/Dummy1.c.obj +FAILED: CMakeFiles/project.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/language-scope/pack/LanguageAndScope/Dummy1.c.obj +C:\tools\LLVMEmbeddedToolchainForArm\bin\clang.exe -IC:/Sandbox/forked/cmsis-toolbox/test/build/language-scope/project/RTE/_CLANG_ARMCM0 -IC:/Users/soumeh01/AppData/Local/Arm/Packs/ARM/CMSIS/6.0.0/CMSIS/Core/Include -IC:/Users/soumeh01/AppData/Local/Arm/Packs/ARM/Cortex_DFP/1.0.0/Device/ARMCM0/Include --target=armv6m-none-unknown-eabi -mcpu=cortex-m0 -mfloat-abi=soft -DARMCM0 -D_RTE_ -std=gnu11 -fomit-frame-pointer -ffunction-sections -fdata-sections -isystem "C:/tools/LLVMEmbeddedToolchainForArm/lib/clang/17/include" -isystem "C:/tools/LLVMEmbeddedToolchainForArm/lib/clang-runtimes/arm-none-eabi/armv6m_soft_nofp/include" -MD -MT CMakeFiles/project.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/language-scope/pack/LanguageAndScope/Dummy1.c.obj -MF CMakeFiles\project.dir\C_\Sandbox\forked\cmsis-toolbox\test\build\language-scope\pack\LanguageAndScope\Dummy1.c.obj.d -o CMakeFiles/project.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/language-scope/pack/LanguageAndScope/Dummy1.c.obj -c C:/Sandbox/forked/cmsis-toolbox/test/build/language-scope/pack/LanguageAndScope/Dummy1.c +C:/Sandbox/forked/cmsis-toolbox/test/build/language-scope/pack/LanguageAndScope/Dummy1.c:1:10: fatal error: 'Hidden.h' file not found + 1 | #include "Hidden.h" + | ^~~~~~~~~~ +1 error generated. +[2/6] Building C object CMakeFiles/project.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/language-scope/project/main.c.obj +FAILED: CMakeFiles/project.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/language-scope/project/main.c.obj +C:\tools\LLVMEmbeddedToolchainForArm\bin\clang.exe -IC:/Sandbox/forked/cmsis-toolbox/test/build/language-scope/project/RTE/_CLANG_ARMCM0 -IC:/Users/soumeh01/AppData/Local/Arm/Packs/ARM/CMSIS/6.0.0/CMSIS/Core/Include -IC:/Users/soumeh01/AppData/Local/Arm/Packs/ARM/Cortex_DFP/1.0.0/Device/ARMCM0/Include --target=armv6m-none-unknown-eabi -mcpu=cortex-m0 -mfloat-abi=soft -DARMCM0 -D_RTE_ -std=gnu11 -fomit-frame-pointer -ffunction-sections -fdata-sections -isystem "C:/tools/LLVMEmbeddedToolchainForArm/lib/clang/17/include" -isystem "C:/tools/LLVMEmbeddedToolchainForArm/lib/clang-runtimes/arm-none-eabi/armv6m_soft_nofp/include" -MD -MT CMakeFiles/project.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/language-scope/project/main.c.obj -MF CMakeFiles\project.dir\C_\Sandbox\forked\cmsis-toolbox\test\build\language-scope\project\main.c.obj.d -o CMakeFiles/project.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/language-scope/project/main.c.obj -c C:/Sandbox/forked/cmsis-toolbox/test/build/language-scope/project/main.c +C:/Sandbox/forked/cmsis-toolbox/test/build/language-scope/project/main.c:22:2: error: "PUBLIC_H is not defined" + 22 | #error "PUBLIC_H is not defined" + | ^ +C:/Sandbox/forked/cmsis-toolbox/test/build/language-scope/project/main.c:29:2: error: "VISIBLE_H is not defined" + 29 | #error "VISIBLE_H is not defined" + | ^ +2 errors generated. +[3/6] Building CXX object CMakeFiles/project.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/language-scope/pack/LanguageAndScope/Dummy2.cpp.obj +FAILED: CMakeFiles/project.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/language-scope/pack/LanguageAndScope/Dummy2.cpp.obj +C:\tools\LLVMEmbeddedToolchainForArm\bin\clang++.exe -IC:/Sandbox/forked/cmsis-toolbox/test/build/language-scope/project/RTE/_CLANG_ARMCM0 -IC:/Users/soumeh01/AppData/Local/Arm/Packs/ARM/CMSIS/6.0.0/CMSIS/Core/Include -IC:/Users/soumeh01/AppData/Local/Arm/Packs/ARM/Cortex_DFP/1.0.0/Device/ARMCM0/Include --target=armv6m-none-unknown-eabi -mcpu=cortex-m0 -mfloat-abi=soft -DARMCM0 -D_RTE_ -fomit-frame-pointer -ffunction-sections -fdata-sections -isystem "C:/tools/LLVMEmbeddedToolchainForArm/lib/clang-runtimes/arm-none-eabi/armv6m_soft_nofp/include/c++/v1" -isystem "C:/tools/LLVMEmbeddedToolchainForArm/lib/clang/17/include" -isystem "C:/tools/LLVMEmbeddedToolchainForArm/lib/clang-runtimes/arm-none-eabi/armv6m_soft_nofp/include" -MD -MT CMakeFiles/project.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/language-scope/pack/LanguageAndScope/Dummy2.cpp.obj -MF CMakeFiles\project.dir\C_\Sandbox\forked\cmsis-toolbox\test\build\language-scope\pack\LanguageAndScope\Dummy2.cpp.obj.d -o CMakeFiles/project.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/language-scope/pack/LanguageAndScope/Dummy2.cpp.obj -c C:/Sandbox/forked/cmsis-toolbox/test/build/language-scope/pack/LanguageAndScope/Dummy2.cpp +C:/Sandbox/forked/cmsis-toolbox/test/build/language-scope/pack/LanguageAndScope/Dummy2.cpp:1:10: fatal error: 'Hidden.h' file not found + 1 | #include "Hidden.h" + | ^~~~~~~~~~ +1 error generated. +[4/6] Building C object CMakeFiles/project.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/language-scope/project/RTE/Device/ARMCM0/startup_ARMCM0.c.obj +[5/6] Building C object CMakeFiles/project.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/language-scope/project/RTE/Device/ARMCM0/system_ARMCM0.c.obj +ninja: build stopped: subcommand failed. +error cbuild: error executing 'cmake' build +error cbuild: error building 'C:\Sandbox\forked\cmsis-toolbox\test\build\language-scope\out_dir\project.CLANG+ARMCM0.cprj' +========================================================= +(3/3) Building context: "project.GCC+ARMCM0" + +M650: Command completed successfully. + +M652: Generated file for project build: 'C:/Sandbox/forked/cmsis-toolbox/test/build/language-scope/out_dir/tmp/project/ARMCM0/GCC/CMakeLists.txt' +-- The C compiler identification is GNU 13.2.1 +-- The CXX compiler identification is GNU 13.2.1 +-- Detecting C compiler ABI info +-- Detecting C compiler ABI info - done +-- Check for working C compiler: C:/Program Files (x86)/Arm GNU Toolchain arm-none-eabi/13.2 Rel1/bin/arm-none-eabi-gcc.exe - skipped +-- Detecting C compile features +-- Detecting C compile features - done +-- Detecting CXX compiler ABI info +-- Detecting CXX compiler ABI info - done +-- Check for working CXX compiler: C:/Program Files (x86)/Arm GNU Toolchain arm-none-eabi/13.2 Rel1/bin/arm-none-eabi-g++.exe - skipped +-- Detecting CXX compile features +-- Detecting CXX compile features - done +-- Registered toolchain version 10.3.1 does not match running version 13.2.1 +*** Using Compiler 'V13.2.1', folder: C:/Program Files (x86)/Arm GNU Toolchain arm-none-eabi/13.2 Rel1/bin +-- Configuring done (3.6s) +-- Generating done (0.0s) +-- Build files have been written to: C:/Sandbox/forked/cmsis-toolbox/test/build/language-scope/out_dir/tmp/project/ARMCM0/GCC +[1/6] Building C object CMakeFiles/project.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/language-scope/pack/LanguageAndScope/Dummy1.c.obj +FAILED: CMakeFiles/project.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/language-scope/pack/LanguageAndScope/Dummy1.c.obj +C:\PROGRA~2\ARMGNU~1\13C7F1~1.2RE\bin\AR19DD~1.EXE -IC:/Sandbox/forked/cmsis-toolbox/test/build/language-scope/project/RTE/_GCC_ARMCM0 -IC:/Users/soumeh01/AppData/Local/Arm/Packs/ARM/CMSIS/6.0.0/CMSIS/Core/Include -IC:/Users/soumeh01/AppData/Local/Arm/Packs/ARM/Cortex_DFP/1.0.0/Device/ARMCM0/Include -mcpu=cortex-m0 -DARMCM0 -D_RTE_ -std=gnu11 -masm-syntax-unified -fomit-frame-pointer -ffunction-sections -fdata-sections -isystem "C:/Program Files (x86)/Arm GNU Toolchain arm-none-eabi/13.2 Rel1/lib/gcc/arm-none-eabi/13.2.1/include" -isystem "C:/Program Files (x86)/Arm GNU Toolchain arm-none-eabi/13.2 Rel1/lib/gcc/arm-none-eabi/13.2.1/include-fixed" -isystem "C:/Program Files (x86)/Arm GNU Toolchain arm-none-eabi/13.2 Rel1/arm-none-eabi/include" -MD -MT CMakeFiles/project.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/language-scope/pack/LanguageAndScope/Dummy1.c.obj -MF CMakeFiles\project.dir\C_\Sandbox\forked\cmsis-toolbox\test\build\language-scope\pack\LanguageAndScope\Dummy1.c.obj.d -o CMakeFiles/project.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/language-scope/pack/LanguageAndScope/Dummy1.c.obj -c C:/Sandbox/forked/cmsis-toolbox/test/build/language-scope/pack/LanguageAndScope/Dummy1.c +C:/Sandbox/forked/cmsis-toolbox/test/build/language-scope/pack/LanguageAndScope/Dummy1.c:1:10: fatal error: Hidden.h: No such file or directory + 1 | #include "Hidden.h" + | ^~~~~~~~~~ +compilation terminated. +[2/6] Building C object CMakeFiles/project.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/language-scope/project/main.c.obj +FAILED: CMakeFiles/project.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/language-scope/project/main.c.obj +C:\PROGRA~2\ARMGNU~1\13C7F1~1.2RE\bin\AR19DD~1.EXE -IC:/Sandbox/forked/cmsis-toolbox/test/build/language-scope/project/RTE/_GCC_ARMCM0 -IC:/Users/soumeh01/AppData/Local/Arm/Packs/ARM/CMSIS/6.0.0/CMSIS/Core/Include -IC:/Users/soumeh01/AppData/Local/Arm/Packs/ARM/Cortex_DFP/1.0.0/Device/ARMCM0/Include -mcpu=cortex-m0 -DARMCM0 -D_RTE_ -std=gnu11 -masm-syntax-unified -fomit-frame-pointer -ffunction-sections -fdata-sections -isystem "C:/Program Files (x86)/Arm GNU Toolchain arm-none-eabi/13.2 Rel1/lib/gcc/arm-none-eabi/13.2.1/include" -isystem "C:/Program Files (x86)/Arm GNU Toolchain arm-none-eabi/13.2 Rel1/lib/gcc/arm-none-eabi/13.2.1/include-fixed" -isystem "C:/Program Files (x86)/Arm GNU Toolchain arm-none-eabi/13.2 Rel1/arm-none-eabi/include" -MD -MT CMakeFiles/project.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/language-scope/project/main.c.obj -MF CMakeFiles\project.dir\C_\Sandbox\forked\cmsis-toolbox\test\build\language-scope\project\main.c.obj.d -o CMakeFiles/project.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/language-scope/project/main.c.obj -c C:/Sandbox/forked/cmsis-toolbox/test/build/language-scope/project/main.c +C:/Sandbox/forked/cmsis-toolbox/test/build/language-scope/project/main.c:22:2: error: #error "PUBLIC_H is not defined" + 22 | #error "PUBLIC_H is not defined" + | ^~~~~ +C:/Sandbox/forked/cmsis-toolbox/test/build/language-scope/project/main.c:29:2: error: #error "VISIBLE_H is not defined" + 29 | #error "VISIBLE_H is not defined" + | ^~~~~ +[3/6] Building CXX object CMakeFiles/project.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/language-scope/pack/LanguageAndScope/Dummy2.cpp.obj +FAILED: CMakeFiles/project.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/language-scope/pack/LanguageAndScope/Dummy2.cpp.obj +C:\PROGRA~2\ARMGNU~1\13C7F1~1.2RE\bin\AR10B2~1.EXE -IC:/Sandbox/forked/cmsis-toolbox/test/build/language-scope/project/RTE/_GCC_ARMCM0 -IC:/Users/soumeh01/AppData/Local/Arm/Packs/ARM/CMSIS/6.0.0/CMSIS/Core/Include -IC:/Users/soumeh01/AppData/Local/Arm/Packs/ARM/Cortex_DFP/1.0.0/Device/ARMCM0/Include -mcpu=cortex-m0 -DARMCM0 -D_RTE_ -masm-syntax-unified -fomit-frame-pointer -ffunction-sections -fdata-sections -isystem "C:/Program Files (x86)/Arm GNU Toolchain arm-none-eabi/13.2 Rel1/arm-none-eabi/include/c++/13.2.1" -isystem "C:/Program Files (x86)/Arm GNU Toolchain arm-none-eabi/13.2 Rel1/arm-none-eabi/include/c++/13.2.1/arm-none-eabi" -isystem "C:/Program Files (x86)/Arm GNU Toolchain arm-none-eabi/13.2 Rel1/arm-none-eabi/include/c++/13.2.1/backward" -isystem "C:/Program Files (x86)/Arm GNU Toolchain arm-none-eabi/13.2 Rel1/lib/gcc/arm-none-eabi/13.2.1/include" -isystem "C:/Program Files (x86)/Arm GNU Toolchain arm-none-eabi/13.2 Rel1/lib/gcc/arm-none-eabi/13.2.1/include-fixed" -isystem "C:/Program Files (x86)/Arm GNU Toolchain arm-none-eabi/13.2 Rel1/arm-none-eabi/include" -MD -MT CMakeFiles/project.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/language-scope/pack/LanguageAndScope/Dummy2.cpp.obj -MF CMakeFiles\project.dir\C_\Sandbox\forked\cmsis-toolbox\test\build\language-scope\pack\LanguageAndScope\Dummy2.cpp.obj.d -o CMakeFiles/project.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/language-scope/pack/LanguageAndScope/Dummy2.cpp.obj -c C:/Sandbox/forked/cmsis-toolbox/test/build/language-scope/pack/LanguageAndScope/Dummy2.cpp +C:/Sandbox/forked/cmsis-toolbox/test/build/language-scope/pack/LanguageAndScope/Dummy2.cpp:1:10: fatal error: Hidden.h: No such file or directory + 1 | #include "Hidden.h" + | ^~~~~~~~~~ +compilation terminated. +[4/6] Building C object CMakeFiles/project.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/language-scope/project/RTE/Device/ARMCM0/system_ARMCM0.c.obj +[5/6] Building C object CMakeFiles/project.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/language-scope/project/RTE/Device/ARMCM0/startup_ARMCM0.c.obj +ninja: build stopped: subcommand failed. +error cbuild: error executing 'cmake' build +error cbuild: error building 'C:\Sandbox\forked\cmsis-toolbox\test\build\language-scope\out_dir\project.GCC+ARMCM0.cprj' + +Build summary: Build failed - Time Elapsed: 00:00:21 +error cbuild: exit status 1 +StdOut: ${result.stdout} +Logs the given messages as separate entries using the INFO level. + + + +${ret_code} + + +${ret_code} = 1 +${ret_code} +cbuild +${input_file} +@{args} +Run specified executable with arguments + + + +${ret_code} + + +${ret_code} = 1 +${ret_code} +${input_file} +${ex_args} +Run cbuild with specified arguments + + + +Unexpected status returned by cbuildgen execution: 1 != 0 +${ret_code} +${expect} +msg=Unexpected status returned by cbuildgen execution +Fails if the given objects are unequal. +Unexpected status returned by cbuildgen execution: 1 != 0 + +${input_file} +${expect} +${args} +Run the csolution project with cbuildgen +Unexpected status returned by cbuildgen execution: 1 != 0 + + +${input_file} +${expect} +${args} +Run the csolution project with cbuild2cmake + + + +${parent_path} +${input_file} + + + +${result} +Compare Elf Information +${input_file} +${parent_path}${/}${Out_Dir}${/}${Default_Out_Dir} +${parent_path}${/}${Default_Out_Dir} +Runs the specified keyword and returns from the enclosing user keyword. + + + +${result} +Fails if the given condition is not true. + + +${TEST_DATA_DIR}${/}${language-scope}${/}solution.csolution.yml +${Pass} +Unexpected status returned by cbuildgen execution: 1 != 0 + +Unexpected status returned by cbuildgen execution: 1 != 0 + + + + + +${parent_path} = C:\Sandbox\forked\cmsis-toolbox\test\build\linker-pre-processing +${parent_path} +${input_file} + + + + +${args} = ['--output', 'C:\\Sandbox\\forked\\cmsis-toolbox\\test\\build\\linker-pre-processing\\out_dir'] +${args} +${list} +${values} +Combines the given ``lists`` together and returns the result. + + + +${args} + + +${ex_args} = ['--output', 'C:\\Sandbox\\forked\\cmsis-toolbox\\test\\build\\linker-pre-processing\\out_dir'] +${ex_args} +${args} +--output +${parent_path}${/}${Out_Dir} +Append values to the list + + + + +${args} +-p +-r +--update-rte +Adds ``values`` to the end of ``list``. + + + + +Starting process: +cbuild C:\Sandbox\forked\cmsis-toolbox\test\build\linker-pre-processing\solution.csolution.yml --output C:\Sandbox\forked\cmsis-toolbox\test\build\linker-pre-processing\out_dir -p -r --update-rte +Waiting for process to complete. +Process completed. +${result} = <result object with rc 0> +${result} +${exe_path} +${input_File} +@{args} +shell=True +stdout=C:\\Sandbox\\forked\\cmsis-toolbox\\test\\resources/stdout.txt +Runs a process and waits for it to complete. + + + +${ret_code} = 0 +${ret_code} +${result.rc} == ${0} +${result.rc} +${1} +Sets variable based on the given condition. + + + +StdOut: info cbuild: Build Invocation (C) 2024 Arm Ltd. and Contributors +C:/Sandbox/forked/cmsis-toolbox/test/build/linker-pre-processing/solution.cbuild-pack.yml - info csolution: file generated successfully +C:/Sandbox/forked/cmsis-toolbox/test/build/linker-pre-processing/out_dir/solution.cbuild-idx.yml - info csolution: file generated successfully +C:/Sandbox/forked/cmsis-toolbox/test/build/linker-pre-processing/out_dir/project.AC6+ARMCM0.cbuild.yml - info csolution: file generated successfully +C:/Sandbox/forked/cmsis-toolbox/test/build/linker-pre-processing/out_dir/project.CLANG+ARMCM0.cbuild.yml - info csolution: file generated successfully +C:/Sandbox/forked/cmsis-toolbox/test/build/linker-pre-processing/out_dir/project.GCC+ARMCM0.cbuild.yml - info csolution: file generated successfully +C:/Sandbox/forked/cmsis-toolbox/test/build/linker-pre-processing/out_dir/project.AC6+ARMCM0.cprj - info csolution: file generated successfully +C:/Sandbox/forked/cmsis-toolbox/test/build/linker-pre-processing/out_dir/project.CLANG+ARMCM0.cprj - info csolution: file generated successfully +C:/Sandbox/forked/cmsis-toolbox/test/build/linker-pre-processing/out_dir/project.GCC+ARMCM0.cprj - info csolution: file generated successfully +info cbuild: Processing 3 context(s) +info cbuild: Retrieve build information for context: "project.AC6+ARMCM0" +info cbuild: Retrieve build information for context: "project.CLANG+ARMCM0" +info cbuild: Retrieve build information for context: "project.GCC+ARMCM0" +info cbuild: Cleaning context: "project.AC6+ARMCM0" +info cbuild: clean finished successfully! +info cbuild: Cleaning context: "project.CLANG+ARMCM0" +info cbuild: clean finished successfully! +info cbuild: Cleaning context: "project.GCC+ARMCM0" +info cbuild: clean finished successfully! +========================================================= +(1/3) Building context: "project.AC6+ARMCM0" + +M650: Command completed successfully. + +M652: Generated file for project build: 'C:/Sandbox/forked/cmsis-toolbox/test/build/linker-pre-processing/out_dir/tmp/project/ARMCM0/AC6/CMakeLists.txt' +-- The C compiler identification is ARMClang 6.22.0 +-- Detecting C compiler ABI info +-- Detecting C compiler ABI info - done +-- Check for working C compiler: C:/tools/ArmCompilerforEmbedded6.22/bin/armclang.exe - skipped +-- Detecting C compile features +-- Detecting C compile features - done +*** Using Compiler 'V6.22.0', folder: C:/tools/ArmCompilerforEmbedded6.22/bin +-- Configuring done (5.2s) +-- Generating done (0.0s) +-- Build files have been written to: C:/Sandbox/forked/cmsis-toolbox/test/build/linker-pre-processing/out_dir/tmp/project/ARMCM0/AC6 +[1/4] Building C object CMakeFiles/project.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/linker-pre-processing/project/RTE/Device/ARMCM0/startup_ARMCM0.o +[2/4] Building C object CMakeFiles/project.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/linker-pre-processing/project/main.o +[3/4] Building C object CMakeFiles/project.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/linker-pre-processing/project/RTE/Device/ARMCM0/system_ARMCM0.o +[4/4] Linking C executable C:\Sandbox\forked\cmsis-toolbox\test\build\linker-pre-processing\out_dir\out\project\ARMCM0\AC6\project.axf +Program Size: Code=240 RO-data=208 RW-data=4 ZI-data=3584 +info cbuild: build finished successfully! +=========================================================== +(2/3) Building context: "project.CLANG+ARMCM0" + +M650: Command completed successfully. + +M652: Generated file for project build: 'C:/Sandbox/forked/cmsis-toolbox/test/build/linker-pre-processing/out_dir/tmp/project/ARMCM0/CLANG/CMakeLists.txt' +-- The C compiler identification is Clang 17.0.1 +-- Detecting C compiler ABI info +-- Detecting C compiler ABI info - done +-- Check for working C compiler: C:/tools/LLVMEmbeddedToolchainForArm/bin/clang.exe - skipped +-- Detecting C compile features +-- Detecting C compile features - done +*** Using Compiler 'V17.0.1', folder: C:/tools/LLVMEmbeddedToolchainForArm/bin +-- Configuring done (1.8s) +-- Generating done (0.0s) +-- Build files have been written to: C:/Sandbox/forked/cmsis-toolbox/test/build/linker-pre-processing/out_dir/tmp/project/ARMCM0/CLANG +[1/4] Building C object CMakeFiles/project.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/linker-pre-processing/project/RTE/Device/ARMCM0/startup_ARMCM0.c.obj +[2/4] Building C object CMakeFiles/project.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/linker-pre-processing/project/main.c.obj +[3/4] Building C object CMakeFiles/project.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/linker-pre-processing/project/RTE/Device/ARMCM0/system_ARMCM0.c.obj +[4/4] Linking C executable C:\Sandbox\forked\cmsis-toolbox\test\build\linker-pre-processing\out_dir\out\project\ARMCM0\CLANG\project.elf +info cbuild: build finished successfully! +========================================================= +(3/3) Building context: "project.GCC+ARMCM0" + +M650: Command completed successfully. + +M652: Generated file for project build: 'C:/Sandbox/forked/cmsis-toolbox/test/build/linker-pre-processing/out_dir/tmp/project/ARMCM0/GCC/CMakeLists.txt' +-- The C compiler identification is GNU 13.2.1 +-- Detecting C compiler ABI info +-- Detecting C compiler ABI info - done +-- Check for working C compiler: C:/Program Files (x86)/Arm GNU Toolchain arm-none-eabi/13.2 Rel1/bin/arm-none-eabi-gcc.exe - skipped +-- Detecting C compile features +-- Detecting C compile features - done +*** Using Compiler 'V13.2.1', folder: C:/Program Files (x86)/Arm GNU Toolchain arm-none-eabi/13.2 Rel1/bin-- Registered toolchain version 10.3.1 does not match running version 13.2.1 + +-- Configuring done (3.1s) +-- Generating done (0.0s) +-- Build files have been written to: C:/Sandbox/forked/cmsis-toolbox/test/build/linker-pre-processing/out_dir/tmp/project/ARMCM0/GCC +[1/4] Building C object CMakeFiles/project.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/linker-pre-processing/project/RTE/Device/ARMCM0/startup_ARMCM0.c.obj +[2/4] Building C object CMakeFiles/project.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/linker-pre-processing/project/RTE/Device/ARMCM0/system_ARMCM0.c.obj +[3/4] Building C object CMakeFiles/project.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/linker-pre-processing/project/main.c.obj +[4/4] Linking C executable C:\Sandbox\forked\cmsis-toolbox\test\build\linker-pre-processing\out_dir\out\project\ARMCM0\GCC\project.elf +C:/PROGRA~2/ARMGNU~1/13C7F1~1.2RE/bin/../lib/gcc/arm-none-eabi/13.2.1/../../../../arm-none-eabi/bin/ld.exe: warning: C:\Sandbox\forked\cmsis-toolbox\test\build\linker-pre-processing\out_dir\out\project\ARMCM0\GCC\project.elf has a LOAD segment with RWX permissions +info cbuild: build finished successfully! + +Build summary: Build completed successfully - Time Elapsed: 00:00:14 +StdOut: ${result.stdout} +Logs the given messages as separate entries using the INFO level. + + + +${ret_code} + + +${ret_code} = 0 +${ret_code} +cbuild +${input_file} +@{args} +Run specified executable with arguments + + + +${ret_code} + + +${ret_code} = 0 +${ret_code} +${input_file} +${ex_args} +Run cbuild with specified arguments + + + +${ret_code} +${expect} +msg=Unexpected status returned by cbuildgen execution +Fails if the given objects are unequal. + + +${input_file} +${expect} +${args} +Run the csolution project with cbuildgen + + + + + +${args} = ['--cbuild2cmake'] +${args} +${list} +${values} +Combines the given ``lists`` together and returns the result. + + + +${args} + + +${ex_args} = ['--cbuild2cmake'] +${ex_args} +${args} +--cbuild2cmake +Append values to the list + + + + +${args} +-p +-r +--update-rte +Adds ``values`` to the end of ``list``. + + + + +Starting process: +cbuild C:\Sandbox\forked\cmsis-toolbox\test\build\linker-pre-processing\solution.csolution.yml --cbuild2cmake -p -r --update-rte +Waiting for process to complete. +Process completed. +${result} = <result object with rc 0> +${result} +${exe_path} +${input_File} +@{args} +shell=True +stdout=C:\\Sandbox\\forked\\cmsis-toolbox\\test\\resources/stdout.txt +Runs a process and waits for it to complete. + + + +${ret_code} = 0 +${ret_code} +${result.rc} == ${0} +${result.rc} +${1} +Sets variable based on the given condition. + + + +StdOut: info cbuild: Build Invocation (C) 2024 Arm Ltd. and Contributors +C:/Sandbox/forked/cmsis-toolbox/test/build/linker-pre-processing/solution.cbuild-pack.yml - info csolution: file is already up-to-date +C:/Sandbox/forked/cmsis-toolbox/test/build/linker-pre-processing/solution.cbuild-idx.yml - info csolution: file generated successfully +C:/Sandbox/forked/cmsis-toolbox/test/build/linker-pre-processing/project/project.AC6+ARMCM0.cbuild.yml - info csolution: file generated successfully +C:/Sandbox/forked/cmsis-toolbox/test/build/linker-pre-processing/project/project.CLANG+ARMCM0.cbuild.yml - info csolution: file generated successfully +C:/Sandbox/forked/cmsis-toolbox/test/build/linker-pre-processing/project/project.GCC+ARMCM0.cbuild.yml - info csolution: file generated successfully +C:/Sandbox/forked/cmsis-toolbox/test/build/linker-pre-processing/project/project.AC6+ARMCM0.cprj - info csolution: file generated successfully +C:/Sandbox/forked/cmsis-toolbox/test/build/linker-pre-processing/project/project.CLANG+ARMCM0.cprj - info csolution: file generated successfully +C:/Sandbox/forked/cmsis-toolbox/test/build/linker-pre-processing/project/project.GCC+ARMCM0.cprj - info csolution: file generated successfully +info cbuild: Processing 3 context(s) +info cbuild: Cleaning context: "project.AC6+ARMCM0" +info cbuild: clean finished successfully! +info cbuild: Cleaning context: "project.CLANG+ARMCM0" +info cbuild: clean finished successfully! +info cbuild: Cleaning context: "project.GCC+ARMCM0" +info cbuild: clean finished successfully! +info cbuild2cmake: Generate CMakeLists 0.9.0 (C) 2024 Arm Ltd. and Contributors +info cbuild2cmake: CMakeLists were successfully generated in the C:/Sandbox/forked/cmsis-toolbox/test/build/linker-pre-processing/tmp directory +-- Configuring done (0.5s) +-- Generating done (0.1s) +-- Build files have been written to: C:/Sandbox/forked/cmsis-toolbox/test/build/linker-pre-processing/tmp +[1/27] Creating directories for 'project.AC6+ARMCM0' +[2/27] Creating directories for 'project.CLANG+ARMCM0' +[3/27] Creating directories for 'project.GCC+ARMCM0' +[4/27] No download step for 'project.AC6+ARMCM0' +[5/27] No download step for 'project.CLANG+ARMCM0' +[6/27] No download step for 'project.GCC+ARMCM0' +[7/27] No update step for 'project.AC6+ARMCM0' +[8/27] No update step for 'project.CLANG+ARMCM0' +[9/27] No update step for 'project.GCC+ARMCM0' +[10/27] No patch step for 'project.AC6+ARMCM0' +[11/27] No patch step for 'project.CLANG+ARMCM0' +[12/27] No patch step for 'project.GCC+ARMCM0' +[13/27] Performing configure step for 'project.CLANG+ARMCM0' +-- The C compiler identification is Clang 17.0.1 +-- Detecting C compiler ABI info +-- Detecting C compiler ABI info - done +-- Check for working C compiler: C:/tools/LLVMEmbeddedToolchainForArm/bin/clang.exe - skipped +-- Detecting C compile features +-- Detecting C compile features - done +-- Configuring done (4.8s) +-- Generating done (0.1s) +-- Build files have been written to: C:/Sandbox/forked/cmsis-toolbox/test/build/linker-pre-processing/tmp/2 +[14/27] Performing configure step for 'project.GCC+ARMCM0' +-- The C compiler identification is GNU 13.2.1 +-- Detecting C compiler ABI info +-- Detecting C compiler ABI info - done +-- Check for working C compiler: C:/Program Files (x86)/Arm GNU Toolchain arm-none-eabi/13.2 Rel1/bin/arm-none-eabi-gcc.exe - skipped +-- Detecting C compile features +-- Detecting C compile features - done +-- Configuring done (5.0s) +-- Generating done (0.1s) +-- Build files have been written to: C:/Sandbox/forked/cmsis-toolbox/test/build/linker-pre-processing/tmp/3 +[15/27] Performing build step for 'project.CLANG+ARMCM0' +[1/4] Building C object CMakeFiles/ARM_Device_Startup_C_Startup_2_2_0.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/linker-pre-processing/project/RTE/Device/ARMCM0/startup_ARMCM0.c.obj +[2/4] Building C object CMakeFiles/Group_Source.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/linker-pre-processing/project/main.c.obj +[3/4] Building C object CMakeFiles/ARM_Device_Startup_C_Startup_2_2_0.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/linker-pre-processing/project/RTE/Device/ARMCM0/system_ARMCM0.c.obj +[4/4] Linking C executable C:\Sandbox\forked\cmsis-toolbox\test\build\linker-pre-processing\out\project\ARMCM0\CLANG\project.elf +[16/27] No install step for 'project.CLANG+ARMCM0' +[17/27] No test step for 'project.CLANG+ARMCM0' +[18/27] Completed 'project.CLANG+ARMCM0' +[19/27] Performing build step for 'project.GCC+ARMCM0' +[1/4] Building C object CMakeFiles/Group_Source.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/linker-pre-processing/project/main.c.obj +[2/4] Building C object CMakeFiles/ARM_Device_Startup_C_Startup_2_2_0.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/linker-pre-processing/project/RTE/Device/ARMCM0/startup_ARMCM0.c.obj +[3/4] Building C object CMakeFiles/ARM_Device_Startup_C_Startup_2_2_0.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/linker-pre-processing/project/RTE/Device/ARMCM0/system_ARMCM0.c.obj +[4/4] Linking C executable C:\Sandbox\forked\cmsis-toolbox\test\build\linker-pre-processing\out\project\ARMCM0\GCC\project.elf +C:/PROGRA~2/ARMGNU~1/13C7F1~1.2RE/bin/../lib/gcc/arm-none-eabi/13.2.1/../../../../arm-none-eabi/bin/ld.exe: warning: C:\Sandbox\forked\cmsis-toolbox\test\build\linker-pre-processing\out\project\ARMCM0\GCC\project.elf has a LOAD segment with RWX permissions +[20/27] No install step for 'project.GCC+ARMCM0' +[21/27] No test step for 'project.GCC+ARMCM0' +[22/27] Completed 'project.GCC+ARMCM0' +[23/27] Performing configure step for 'project.AC6+ARMCM0' +-- The C compiler identification is ARMClang 6.22.0 +-- Detecting C compiler ABI info +-- Detecting C compiler ABI info - done +-- Check for working C compiler: C:/tools/ArmCompilerforEmbedded6.22/bin/armclang.exe - skipped +-- Detecting C compile features +-- Detecting C compile features - done +-- Configuring done (10.1s) +-- Generating done (0.0s) +-- Build files have been written to: C:/Sandbox/forked/cmsis-toolbox/test/build/linker-pre-processing/tmp/1 +[24/27] Performing build step for 'project.AC6+ARMCM0' +[1/4] Building C object CMakeFiles/ARM_Device_Startup_C_Startup_2_2_0.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/linker-pre-processing/project/RTE/Device/ARMCM0/startup_ARMCM0.o +[2/4] Building C object CMakeFiles/ARM_Device_Startup_C_Startup_2_2_0.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/linker-pre-processing/project/RTE/Device/ARMCM0/system_ARMCM0.o +[3/4] Building C object CMakeFiles/Group_Source.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/linker-pre-processing/project/main.o +[4/4] Linking C executable C:\Sandbox\forked\cmsis-toolbox\test\build\linker-pre-processing\out\project\ARMCM0\AC6\project.axf +Program Size: Code=240 RO-data=208 RW-data=4 ZI-data=3584 +[25/27] No install step for 'project.AC6+ARMCM0' +[26/27] No test step for 'project.AC6+ARMCM0' +[27/27] Completed 'project.AC6+ARMCM0' +info cbuild: build finished successfully! + +Build summary: Build completed successfully - Time Elapsed: 00:00:14 +StdOut: ${result.stdout} +Logs the given messages as separate entries using the INFO level. + + + +${ret_code} + + +${ret_code} = 0 +${ret_code} +cbuild +${input_file} +@{args} +Run specified executable with arguments + + + +${ret_code} + + +${ret_code} = 0 +${ret_code} +${input_file} +${ex_args} +Run cbuild with specified arguments + + + +${ret_code} +${expect} +msg=Unexpected status returned by cbuild2cmake execution +Fails if the given objects are unequal. + + +${input_file} +${expect} +${args} +Run the csolution project with cbuild2cmake + + + +${parent_path} = C:\Sandbox\forked\cmsis-toolbox\test\build\linker-pre-processing +${parent_path} +${input_file} + + + + +Running Command: c b u i l d l i s t c o n t e x t s C : \ S a n d b o x \ f o r k e d \ c m s i s - t o o l b o x \ t e s t \ b u i l d \ l i n k e r - p r e - p r o c e s s i n g \ s o l u t i o n . c s o l u t i o n . y m l +Processing context: project.AC6+ARMCM0 +basePath: C:\Sandbox\forked\cmsis-toolbox\test\build\linker-pre-processing\out_dir\out +Path: project/ARMCM0/AC6/project.axf +Running Command: f r o m e l f C : \ S a n d b o x \ f o r k e d \ c m s i s - t o o l b o x \ t e s t \ b u i l d \ l i n k e r - p r e - p r o c e s s i n g \ o u t _ d i r \ o u t \ p r o j e c t / A R M C M 0 / A C 6 / p r o j e c t . a x f - z +Running Command: f r o m e l f C : \ S a n d b o x \ f o r k e d \ c m s i s - t o o l b o x \ t e s t \ b u i l d \ l i n k e r - p r e - p r o c e s s i n g \ o u t \ p r o j e c t / A R M C M 0 / A C 6 / p r o j e c t . a x f - z +Object Info +======================================================================== + +** Object/Image Component Sizes + + Code (inc. data) RO Data RW Data ZI Data Debug Object Name + + 240 26 208 4 3584 492 C:\Sandbox\forked\cmsis-toolbox\test\build\linker-pre-processing\out_dir\out\project/ARMCM0/AC6/project.axf + 240 26 208 4 0 0 ROM Totals for C:\Sandbox\forked\cmsis-toolbox\test\build\linker-pre-processing\out_dir\out\project/ARMCM0/AC6/project.axf + +Object Info +======================================================================== + +** Object/Image Component Sizes + + Code (inc. data) RO Data RW Data ZI Data Debug Object Name + + 240 26 208 4 3584 492 C:\Sandbox\forked\cmsis-toolbox\test\build\linker-pre-processing\out\project/ARMCM0/AC6/project.axf + 240 26 208 4 0 0 ROM Totals for C:\Sandbox\forked\cmsis-toolbox\test\build\linker-pre-processing\out\project/ARMCM0/AC6/project.axf + +Processing context: project.CLANG+ARMCM0 +basePath: C:\Sandbox\forked\cmsis-toolbox\test\build\linker-pre-processing\out_dir\out +Path: project/ARMCM0/CLANG/project.elf +Running Command: f r o m e l f C : \ S a n d b o x \ f o r k e d \ c m s i s - t o o l b o x \ t e s t \ b u i l d \ l i n k e r - p r e - p r o c e s s i n g \ o u t _ d i r \ o u t \ p r o j e c t / A R M C M 0 / C L A N G / p r o j e c t . e l f - z +Running Command: f r o m e l f C : \ S a n d b o x \ f o r k e d \ c m s i s - t o o l b o x \ t e s t \ b u i l d \ l i n k e r - p r e - p r o c e s s i n g \ o u t \ p r o j e c t / A R M C M 0 / C L A N G / p r o j e c t . e l f - z +Object Info +======================================================================== + +** Object/Image Component Sizes + + Code (inc. data) RO Data RW Data ZI Data Debug Object Name + + 9736 352 336 24 4872 48965 C:\Sandbox\forked\cmsis-toolbox\test\build\linker-pre-processing\out_dir\out\project/ARMCM0/CLANG/project.elf + 9736 352 336 24 0 0 ROM Totals for C:\Sandbox\forked\cmsis-toolbox\test\build\linker-pre-processing\out_dir\out\project/ARMCM0/CLANG/project.elf + +Object Info +======================================================================== + +** Object/Image Component Sizes + + Code (inc. data) RO Data RW Data ZI Data Debug Object Name + + 9736 352 336 24 4872 48965 C:\Sandbox\forked\cmsis-toolbox\test\build\linker-pre-processing\out\project/ARMCM0/CLANG/project.elf + 9736 352 336 24 0 0 ROM Totals for C:\Sandbox\forked\cmsis-toolbox\test\build\linker-pre-processing\out\project/ARMCM0/CLANG/project.elf + +Processing context: project.GCC+ARMCM0 +basePath: C:\Sandbox\forked\cmsis-toolbox\test\build\linker-pre-processing\out_dir\out +Path: project/ARMCM0/GCC/project.elf +Running Command: f r o m e l f C : \ S a n d b o x \ f o r k e d \ c m s i s - t o o l b o x \ t e s t \ b u i l d \ l i n k e r - p r e - p r o c e s s i n g \ o u t _ d i r \ o u t \ p r o j e c t / A R M C M 0 / G C C / p r o j e c t . e l f - z +Running Command: f r o m e l f C : \ S a n d b o x \ f o r k e d \ c m s i s - t o o l b o x \ t e s t \ b u i l d \ l i n k e r - p r e - p r o c e s s i n g \ o u t \ p r o j e c t / A R M C M 0 / G C C / p r o j e c t . e l f - z +Object Info +======================================================================== + +** Object/Image Component Sizes + + Code (inc. data) RO Data RW Data ZI Data Debug Object Name + + 3560 556 8 408 4116 2785 C:\Sandbox\forked\cmsis-toolbox\test\build\linker-pre-processing\out_dir\out\project/ARMCM0/GCC/project.elf + 3560 556 8 408 0 0 ROM Totals for C:\Sandbox\forked\cmsis-toolbox\test\build\linker-pre-processing\out_dir\out\project/ARMCM0/GCC/project.elf + +Object Info +======================================================================== + +** Object/Image Component Sizes + + Code (inc. data) RO Data RW Data ZI Data Debug Object Name + + 3560 556 8 408 4116 2785 C:\Sandbox\forked\cmsis-toolbox\test\build\linker-pre-processing\out\project/ARMCM0/GCC/project.elf + 3560 556 8 408 0 0 ROM Totals for C:\Sandbox\forked\cmsis-toolbox\test\build\linker-pre-processing\out\project/ARMCM0/GCC/project.elf + +${input_file} +${parent_path}${/}${Out_Dir}${/}${Default_Out_Dir} +${parent_path}${/}${Default_Out_Dir} + + +Returning from the enclosing user keyword. +${result} +Compare Elf Information +${input_file} +${parent_path}${/}${Out_Dir}${/}${Default_Out_Dir} +${parent_path}${/}${Default_Out_Dir} +Runs the specified keyword and returns from the enclosing user keyword. + + + +${result} +Fails if the given condition is not true. + + +${TEST_DATA_DIR}${/}${linker-pre-processing}${/}solution.csolution.yml +${Pass} + + + + + + + + +${parent_path} = C:\Sandbox\forked\cmsis-toolbox\test\build\pre-include +${parent_path} +${input_file} + + + + +${args} = ['--output', 'C:\\Sandbox\\forked\\cmsis-toolbox\\test\\build\\pre-include\\out_dir'] +${args} +${list} +${values} +Combines the given ``lists`` together and returns the result. + + + +${args} + + +${ex_args} = ['--output', 'C:\\Sandbox\\forked\\cmsis-toolbox\\test\\build\\pre-include\\out_dir'] +${ex_args} +${args} +--output +${parent_path}${/}${Out_Dir} +Append values to the list + + + + +${args} +-p +-r +--update-rte +Adds ``values`` to the end of ``list``. + + + + +Starting process: +cbuild C:\Sandbox\forked\cmsis-toolbox\test\build\pre-include\solution.csolution.yml --output C:\Sandbox\forked\cmsis-toolbox\test\build\pre-include\out_dir -p -r --update-rte +Waiting for process to complete. +Process completed. +${result} = <result object with rc 0> +${result} +${exe_path} +${input_File} +@{args} +shell=True +stdout=C:\\Sandbox\\forked\\cmsis-toolbox\\test\\resources/stdout.txt +Runs a process and waits for it to complete. + + + +${ret_code} = 0 +${ret_code} +${result.rc} == ${0} +${result.rc} +${1} +Sets variable based on the given condition. + + + +StdOut: info cbuild: Build Invocation (C) 2024 Arm Ltd. and Contributors +C:/Sandbox/forked/cmsis-toolbox/test/build/pre-include/solution.cbuild-pack.yml - info csolution: file generated successfully +C:/Sandbox/forked/cmsis-toolbox/test/build/pre-include/out_dir/solution.cbuild-idx.yml - info csolution: file generated successfully +C:/Sandbox/forked/cmsis-toolbox/test/build/pre-include/out_dir/project.AC6+ARMCM0.cbuild.yml - info csolution: file generated successfully +C:/Sandbox/forked/cmsis-toolbox/test/build/pre-include/out_dir/project.CLANG+ARMCM0.cbuild.yml - info csolution: file generated successfully +C:/Sandbox/forked/cmsis-toolbox/test/build/pre-include/out_dir/project.GCC+ARMCM0.cbuild.yml - info csolution: file generated successfully +C:/Sandbox/forked/cmsis-toolbox/test/build/pre-include/out_dir/project.AC6+ARMCM0.cprj - info csolution: file generated successfully +C:/Sandbox/forked/cmsis-toolbox/test/build/pre-include/out_dir/project.CLANG+ARMCM0.cprj - info csolution: file generated successfully +C:/Sandbox/forked/cmsis-toolbox/test/build/pre-include/out_dir/project.GCC+ARMCM0.cprj - info csolution: file generated successfully +info cbuild: Processing 3 context(s) +info cbuild: Retrieve build information for context: "project.AC6+ARMCM0" +info cbuild: Retrieve build information for context: "project.CLANG+ARMCM0" +info cbuild: Retrieve build information for context: "project.GCC+ARMCM0" +info cbuild: Cleaning context: "project.AC6+ARMCM0" +info cbuild: clean finished successfully! +info cbuild: Cleaning context: "project.CLANG+ARMCM0" +info cbuild: clean finished successfully! +info cbuild: Cleaning context: "project.GCC+ARMCM0" +info cbuild: clean finished successfully! +========================================================= +(1/3) Building context: "project.AC6+ARMCM0" + +M650: Command completed successfully. + +M652: Generated file for project build: 'C:/Sandbox/forked/cmsis-toolbox/test/build/pre-include/out_dir/tmp/project/ARMCM0/AC6/CMakeLists.txt' +-- The C compiler identification is ARMClang 6.22.0 +-- Detecting C compiler ABI info +-- Detecting C compiler ABI info - done +-- Check for working C compiler: C:/tools/ArmCompilerforEmbedded6.22/bin/armclang.exe - skipped +-- Detecting C compile features +-- Detecting C compile features - done +*** Using Compiler 'V6.22.0', folder: C:/tools/ArmCompilerforEmbedded6.22/bin +-- Configuring done (6.1s) +-- Generating done (0.0s) +-- Build files have been written to: C:/Sandbox/forked/cmsis-toolbox/test/build/pre-include/out_dir/tmp/project/ARMCM0/AC6 +[1/6] Building C object CMakeFiles/project.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/pre-include/pack/Files/test1.o +[2/6] Building C object CMakeFiles/project.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/pre-include/project/RTE/Device/ARMCM0/startup_ARMCM0.o +[3/6] Building C object CMakeFiles/project.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/pre-include/project/RTE/Device/ARMCM0/system_ARMCM0.o +[4/6] Building C object CMakeFiles/project.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/pre-include/pack/Files/test2.o +[5/6] Building C object CMakeFiles/project.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/pre-include/project/main.o +[6/6] Linking C executable C:\Sandbox\forked\cmsis-toolbox\test\build\pre-include\out_dir\out\project\ARMCM0\AC6\project.axf +Program Size: Code=240 RO-data=208 RW-data=4 ZI-data=3584 +info cbuild: build finished successfully! +=========================================================== +(2/3) Building context: "project.CLANG+ARMCM0" + +M650: Command completed successfully. + +M652: Generated file for project build: 'C:/Sandbox/forked/cmsis-toolbox/test/build/pre-include/out_dir/tmp/project/ARMCM0/CLANG/CMakeLists.txt' +-- The C compiler identification is Clang 17.0.1 +-- Detecting C compiler ABI info +-- Detecting C compiler ABI info - done +-- Check for working C compiler: C:/tools/LLVMEmbeddedToolchainForArm/bin/clang.exe - skipped +-- Detecting C compile features +-- Detecting C compile features - done +*** Using Compiler 'V17.0.1', folder: C:/tools/LLVMEmbeddedToolchainForArm/bin +-- Configuring done (2.2s) +-- Generating done (0.1s) +-- Build files have been written to: C:/Sandbox/forked/cmsis-toolbox/test/build/pre-include/out_dir/tmp/project/ARMCM0/CLANG +[1/6] Building C object CMakeFiles/project.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/pre-include/pack/Files/test2.c.obj +[2/6] Building C object CMakeFiles/project.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/pre-include/pack/Files/test1.c.obj +[3/6] Building C object CMakeFiles/project.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/pre-include/project/RTE/Device/ARMCM0/system_ARMCM0.c.obj +[4/6] Building C object CMakeFiles/project.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/pre-include/project/main.c.obj +[5/6] Building C object CMakeFiles/project.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/pre-include/project/RTE/Device/ARMCM0/startup_ARMCM0.c.obj +[6/6] Linking C executable C:\Sandbox\forked\cmsis-toolbox\test\build\pre-include\out_dir\out\project\ARMCM0\CLANG\project.elf +info cbuild: build finished successfully! +========================================================= +(3/3) Building context: "project.GCC+ARMCM0" + +M650: Command completed successfully. + +M652: Generated file for project build: 'C:/Sandbox/forked/cmsis-toolbox/test/build/pre-include/out_dir/tmp/project/ARMCM0/GCC/CMakeLists.txt' +-- The C compiler identification is GNU 13.2.1 +-- Detecting C compiler ABI info +-- Detecting C compiler ABI info - done +-- Check for working C compiler: C:/Program Files (x86)/Arm GNU Toolchain arm-none-eabi/13.2 Rel1/bin/arm-none-eabi-gcc.exe - skipped +-- Detecting C compile features +-- Detecting C compile features - done +-- Registered toolchain version 10.3.1 does not match running version 13.2.1 +*** Using Compiler 'V13.2.1', folder: C:/Program Files (x86)/Arm GNU Toolchain arm-none-eabi/13.2 Rel1/bin +-- Configuring done (2.6s) +-- Generating done (0.0s) +-- Build files have been written to: C:/Sandbox/forked/cmsis-toolbox/test/build/pre-include/out_dir/tmp/project/ARMCM0/GCC +[1/6] Building C object CMakeFiles/project.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/pre-include/pack/Files/test1.c.obj +[2/6] Building C object CMakeFiles/project.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/pre-include/project/RTE/Device/ARMCM0/system_ARMCM0.c.obj +[3/6] Building C object CMakeFiles/project.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/pre-include/project/main.c.obj +[4/6] Building C object CMakeFiles/project.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/pre-include/project/RTE/Device/ARMCM0/startup_ARMCM0.c.obj +[5/6] Building C object CMakeFiles/project.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/pre-include/pack/Files/test2.c.obj +[6/6] Linking C executable C:\Sandbox\forked\cmsis-toolbox\test\build\pre-include\out_dir\out\project\ARMCM0\GCC\project.elf +C:/PROGRA~2/ARMGNU~1/13C7F1~1.2RE/bin/../lib/gcc/arm-none-eabi/13.2.1/../../../../arm-none-eabi/bin/ld.exe: warning: C:\Sandbox\forked\cmsis-toolbox\test\build\pre-include\out_dir\out\project\ARMCM0\GCC\project.elf has a LOAD segment with RWX permissions +info cbuild: build finished successfully! + +Build summary: Build completed successfully - Time Elapsed: 00:00:17 +StdOut: ${result.stdout} +Logs the given messages as separate entries using the INFO level. + + + +${ret_code} + + +${ret_code} = 0 +${ret_code} +cbuild +${input_file} +@{args} +Run specified executable with arguments + + + +${ret_code} + + +${ret_code} = 0 +${ret_code} +${input_file} +${ex_args} +Run cbuild with specified arguments + + + +${ret_code} +${expect} +msg=Unexpected status returned by cbuildgen execution +Fails if the given objects are unequal. + + +${input_file} +${expect} +${args} +Run the csolution project with cbuildgen + + + + + +${args} = ['--cbuild2cmake'] +${args} +${list} +${values} +Combines the given ``lists`` together and returns the result. + + + +${args} + + +${ex_args} = ['--cbuild2cmake'] +${ex_args} +${args} +--cbuild2cmake +Append values to the list + + + + +${args} +-p +-r +--update-rte +Adds ``values`` to the end of ``list``. + + + + +Starting process: +cbuild C:\Sandbox\forked\cmsis-toolbox\test\build\pre-include\solution.csolution.yml --cbuild2cmake -p -r --update-rte +Waiting for process to complete. +Process completed. +${result} = <result object with rc 0> +${result} +${exe_path} +${input_File} +@{args} +shell=True +stdout=C:\\Sandbox\\forked\\cmsis-toolbox\\test\\resources/stdout.txt +Runs a process and waits for it to complete. + + + +${ret_code} = 0 +${ret_code} +${result.rc} == ${0} +${result.rc} +${1} +Sets variable based on the given condition. + + + +StdOut: info cbuild: Build Invocation (C) 2024 Arm Ltd. and Contributors +C:/Sandbox/forked/cmsis-toolbox/test/build/pre-include/solution.cbuild-pack.yml - info csolution: file is already up-to-date +C:/Sandbox/forked/cmsis-toolbox/test/build/pre-include/solution.cbuild-idx.yml - info csolution: file generated successfully +C:/Sandbox/forked/cmsis-toolbox/test/build/pre-include/project/project.AC6+ARMCM0.cbuild.yml - info csolution: file generated successfully +C:/Sandbox/forked/cmsis-toolbox/test/build/pre-include/project/project.CLANG+ARMCM0.cbuild.yml - info csolution: file generated successfully +C:/Sandbox/forked/cmsis-toolbox/test/build/pre-include/project/project.GCC+ARMCM0.cbuild.yml - info csolution: file generated successfully +C:/Sandbox/forked/cmsis-toolbox/test/build/pre-include/project/project.AC6+ARMCM0.cprj - info csolution: file generated successfully +C:/Sandbox/forked/cmsis-toolbox/test/build/pre-include/project/project.CLANG+ARMCM0.cprj - info csolution: file generated successfully +C:/Sandbox/forked/cmsis-toolbox/test/build/pre-include/project/project.GCC+ARMCM0.cprj - info csolution: file generated successfully +info cbuild: Processing 3 context(s) +info cbuild: Cleaning context: "project.AC6+ARMCM0" +info cbuild: clean finished successfully! +info cbuild: Cleaning context: "project.CLANG+ARMCM0" +info cbuild: clean finished successfully! +info cbuild: Cleaning context: "project.GCC+ARMCM0" +info cbuild: clean finished successfully! +info cbuild2cmake: Generate CMakeLists 0.9.0 (C) 2024 Arm Ltd. and Contributors +info cbuild2cmake: CMakeLists were successfully generated in the C:/Sandbox/forked/cmsis-toolbox/test/build/pre-include/tmp directory +-- Configuring done (0.6s) +-- Generating done (0.1s) +-- Build files have been written to: C:/Sandbox/forked/cmsis-toolbox/test/build/pre-include/tmp +[1/27] Creating directories for 'project.AC6+ARMCM0' +[2/27] Creating directories for 'project.CLANG+ARMCM0' +[3/27] Creating directories for 'project.GCC+ARMCM0' +[4/27] No download step for 'project.AC6+ARMCM0' +[5/27] No download step for 'project.CLANG+ARMCM0' +[6/27] No download step for 'project.GCC+ARMCM0' +[7/27] No update step for 'project.AC6+ARMCM0' +[8/27] No update step for 'project.CLANG+ARMCM0' +[9/27] No update step for 'project.GCC+ARMCM0' +[10/27] No patch step for 'project.AC6+ARMCM0' +[11/27] No patch step for 'project.GCC+ARMCM0' +[12/27] No patch step for 'project.CLANG+ARMCM0' +[13/27] Performing configure step for 'project.CLANG+ARMCM0' +-- The C compiler identification is Clang 17.0.1 +-- Detecting C compiler ABI info +-- Detecting C compiler ABI info - done +-- Check for working C compiler: C:/tools/LLVMEmbeddedToolchainForArm/bin/clang.exe - skipped +-- Detecting C compile features +-- Detecting C compile features - done +-- Configuring done (5.2s) +-- Generating done (0.2s) +-- Build files have been written to: C:/Sandbox/forked/cmsis-toolbox/test/build/pre-include/tmp/2 +[14/27] Performing configure step for 'project.GCC+ARMCM0' +-- The C compiler identification is GNU 13.2.1 +-- Detecting C compiler ABI info +-- Detecting C compiler ABI info - done +-- Check for working C compiler: C:/Program Files (x86)/Arm GNU Toolchain arm-none-eabi/13.2 Rel1/bin/arm-none-eabi-gcc.exe - skipped +-- Detecting C compile features +-- Detecting C compile features - done +-- Configuring done (6.0s) +-- Generating done (0.2s) +-- Build files have been written to: C:/Sandbox/forked/cmsis-toolbox/test/build/pre-include/tmp/3 +[15/27] Performing build step for 'project.CLANG+ARMCM0' +[1/6] Building C object CMakeFiles/Group_Source.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/pre-include/project/main.c.obj +[2/6] Building C object CMakeFiles/ARM_TestClass_TestGlobal_1_0_0.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/pre-include/pack/Files/test1.c.obj +[3/6] Building C object CMakeFiles/ARM_TestClass_TestLocal_1_0_0.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/pre-include/pack/Files/test2.c.obj +[4/6] Building C object CMakeFiles/ARM_Device_Startup_C_Startup_2_2_0.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/pre-include/project/RTE/Device/ARMCM0/startup_ARMCM0.c.obj +[5/6] Building C object CMakeFiles/ARM_Device_Startup_C_Startup_2_2_0.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/pre-include/project/RTE/Device/ARMCM0/system_ARMCM0.c.obj +[6/6] Linking C executable C:\Sandbox\forked\cmsis-toolbox\test\build\pre-include\out\project\ARMCM0\CLANG\project.elf +[16/27] No install step for 'project.CLANG+ARMCM0' +[17/27] No test step for 'project.CLANG+ARMCM0' +[18/27] Completed 'project.CLANG+ARMCM0' +[19/27] Performing build step for 'project.GCC+ARMCM0' +[1/6] Building C object CMakeFiles/Group_Source.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/pre-include/project/main.c.obj +[2/6] Building C object CMakeFiles/ARM_TestClass_TestLocal_1_0_0.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/pre-include/pack/Files/test2.c.obj +[3/6] Building C object CMakeFiles/ARM_Device_Startup_C_Startup_2_2_0.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/pre-include/project/RTE/Device/ARMCM0/system_ARMCM0.c.obj +[4/6] Building C object CMakeFiles/ARM_TestClass_TestGlobal_1_0_0.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/pre-include/pack/Files/test1.c.obj +[5/6] Building C object CMakeFiles/ARM_Device_Startup_C_Startup_2_2_0.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/pre-include/project/RTE/Device/ARMCM0/startup_ARMCM0.c.obj +[6/6] Linking C executable C:\Sandbox\forked\cmsis-toolbox\test\build\pre-include\out\project\ARMCM0\GCC\project.elf +C:/PROGRA~2/ARMGNU~1/13C7F1~1.2RE/bin/../lib/gcc/arm-none-eabi/13.2.1/../../../../arm-none-eabi/bin/ld.exe: warning: C:\Sandbox\forked\cmsis-toolbox\test\build\pre-include\out\project\ARMCM0\GCC\project.elf has a LOAD segment with RWX permissions +[20/27] No install step for 'project.GCC+ARMCM0' +[21/27] No test step for 'project.GCC+ARMCM0' +[22/27] Completed 'project.GCC+ARMCM0' +[23/27] Performing configure step for 'project.AC6+ARMCM0' +-- The C compiler identification is ARMClang 6.22.0 +-- Detecting C compiler ABI info +-- Detecting C compiler ABI info - done +-- Check for working C compiler: C:/tools/ArmCompilerforEmbedded6.22/bin/armclang.exe - skipped +-- Detecting C compile features +-- Detecting C compile features - done +-- Configuring done (9.8s) +-- Generating done (0.1s) +-- Build files have been written to: C:/Sandbox/forked/cmsis-toolbox/test/build/pre-include/tmp/1 +[24/27] Performing build step for 'project.AC6+ARMCM0' +[1/6] Building C object CMakeFiles/ARM_TestClass_TestGlobal_1_0_0.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/pre-include/pack/Files/test1.o +[2/6] Building C object CMakeFiles/Group_Source.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/pre-include/project/main.o +[3/6] Building C object CMakeFiles/ARM_Device_Startup_C_Startup_2_2_0.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/pre-include/project/RTE/Device/ARMCM0/system_ARMCM0.o +[4/6] Building C object CMakeFiles/ARM_TestClass_TestLocal_1_0_0.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/pre-include/pack/Files/test2.o +[5/6] Building C object CMakeFiles/ARM_Device_Startup_C_Startup_2_2_0.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/pre-include/project/RTE/Device/ARMCM0/startup_ARMCM0.o +[6/6] Linking C executable C:\Sandbox\forked\cmsis-toolbox\test\build\pre-include\out\project\ARMCM0\AC6\project.axf +Program Size: Code=240 RO-data=208 RW-data=4 ZI-data=3584 +[25/27] No install step for 'project.AC6+ARMCM0' +[26/27] No test step for 'project.AC6+ARMCM0' +[27/27] Completed 'project.AC6+ARMCM0' +info cbuild: build finished successfully! + +Build summary: Build completed successfully - Time Elapsed: 00:00:13 +StdOut: ${result.stdout} +Logs the given messages as separate entries using the INFO level. + + + +${ret_code} + + +${ret_code} = 0 +${ret_code} +cbuild +${input_file} +@{args} +Run specified executable with arguments + + + +${ret_code} + + +${ret_code} = 0 +${ret_code} +${input_file} +${ex_args} +Run cbuild with specified arguments + + + +${ret_code} +${expect} +msg=Unexpected status returned by cbuild2cmake execution +Fails if the given objects are unequal. + + +${input_file} +${expect} +${args} +Run the csolution project with cbuild2cmake + + + +${parent_path} = C:\Sandbox\forked\cmsis-toolbox\test\build\pre-include +${parent_path} +${input_file} + + + + +Running Command: c b u i l d l i s t c o n t e x t s C : \ S a n d b o x \ f o r k e d \ c m s i s - t o o l b o x \ t e s t \ b u i l d \ p r e - i n c l u d e \ s o l u t i o n . c s o l u t i o n . y m l +Processing context: project.AC6+ARMCM0 +basePath: C:\Sandbox\forked\cmsis-toolbox\test\build\pre-include\out_dir\out +Path: project/ARMCM0/AC6/project.axf +Running Command: f r o m e l f C : \ S a n d b o x \ f o r k e d \ c m s i s - t o o l b o x \ t e s t \ b u i l d \ p r e - i n c l u d e \ o u t _ d i r \ o u t \ p r o j e c t / A R M C M 0 / A C 6 / p r o j e c t . a x f - z +Running Command: f r o m e l f C : \ S a n d b o x \ f o r k e d \ c m s i s - t o o l b o x \ t e s t \ b u i l d \ p r e - i n c l u d e \ o u t \ p r o j e c t / A R M C M 0 / A C 6 / p r o j e c t . a x f - z +Object Info +======================================================================== + +** Object/Image Component Sizes + + Code (inc. data) RO Data RW Data ZI Data Debug Object Name + + 240 26 208 4 3584 492 C:\Sandbox\forked\cmsis-toolbox\test\build\pre-include\out_dir\out\project/ARMCM0/AC6/project.axf + 240 26 208 4 0 0 ROM Totals for C:\Sandbox\forked\cmsis-toolbox\test\build\pre-include\out_dir\out\project/ARMCM0/AC6/project.axf + +Object Info +======================================================================== + +** Object/Image Component Sizes + + Code (inc. data) RO Data RW Data ZI Data Debug Object Name + + 240 26 208 4 3584 492 C:\Sandbox\forked\cmsis-toolbox\test\build\pre-include\out\project/ARMCM0/AC6/project.axf + 240 26 208 4 0 0 ROM Totals for C:\Sandbox\forked\cmsis-toolbox\test\build\pre-include\out\project/ARMCM0/AC6/project.axf + +Processing context: project.CLANG+ARMCM0 +basePath: C:\Sandbox\forked\cmsis-toolbox\test\build\pre-include\out_dir\out +Path: project/ARMCM0/CLANG/project.elf +Running Command: f r o m e l f C : \ S a n d b o x \ f o r k e d \ c m s i s - t o o l b o x \ t e s t \ b u i l d \ p r e - i n c l u d e \ o u t _ d i r \ o u t \ p r o j e c t / A R M C M 0 / C L A N G / p r o j e c t . e l f - z +Running Command: f r o m e l f C : \ S a n d b o x \ f o r k e d \ c m s i s - t o o l b o x \ t e s t \ b u i l d \ p r e - i n c l u d e \ o u t \ p r o j e c t / A R M C M 0 / C L A N G / p r o j e c t . e l f - z +Object Info +======================================================================== + +** Object/Image Component Sizes + + Code (inc. data) RO Data RW Data ZI Data Debug Object Name + + 9736 352 336 24 4872 48965 C:\Sandbox\forked\cmsis-toolbox\test\build\pre-include\out_dir\out\project/ARMCM0/CLANG/project.elf + 9736 352 336 24 0 0 ROM Totals for C:\Sandbox\forked\cmsis-toolbox\test\build\pre-include\out_dir\out\project/ARMCM0/CLANG/project.elf + +Object Info +======================================================================== + +** Object/Image Component Sizes + + Code (inc. data) RO Data RW Data ZI Data Debug Object Name + + 9736 352 336 24 4872 48965 C:\Sandbox\forked\cmsis-toolbox\test\build\pre-include\out\project/ARMCM0/CLANG/project.elf + 9736 352 336 24 0 0 ROM Totals for C:\Sandbox\forked\cmsis-toolbox\test\build\pre-include\out\project/ARMCM0/CLANG/project.elf + +Processing context: project.GCC+ARMCM0 +basePath: C:\Sandbox\forked\cmsis-toolbox\test\build\pre-include\out_dir\out +Path: project/ARMCM0/GCC/project.elf +Running Command: f r o m e l f C : \ S a n d b o x \ f o r k e d \ c m s i s - t o o l b o x \ t e s t \ b u i l d \ p r e - i n c l u d e \ o u t _ d i r \ o u t \ p r o j e c t / A R M C M 0 / G C C / p r o j e c t . e l f - z +Running Command: f r o m e l f C : \ S a n d b o x \ f o r k e d \ c m s i s - t o o l b o x \ t e s t \ b u i l d \ p r e - i n c l u d e \ o u t \ p r o j e c t / A R M C M 0 / G C C / p r o j e c t . e l f - z +Object Info +======================================================================== + +** Object/Image Component Sizes + + Code (inc. data) RO Data RW Data ZI Data Debug Object Name + + 3560 556 8 408 4628 2785 C:\Sandbox\forked\cmsis-toolbox\test\build\pre-include\out_dir\out\project/ARMCM0/GCC/project.elf + 3560 556 8 408 0 0 ROM Totals for C:\Sandbox\forked\cmsis-toolbox\test\build\pre-include\out_dir\out\project/ARMCM0/GCC/project.elf + +Object Info +======================================================================== + +** Object/Image Component Sizes + + Code (inc. data) RO Data RW Data ZI Data Debug Object Name + + 3560 556 8 408 4628 2785 C:\Sandbox\forked\cmsis-toolbox\test\build\pre-include\out\project/ARMCM0/GCC/project.elf + 3560 556 8 408 0 0 ROM Totals for C:\Sandbox\forked\cmsis-toolbox\test\build\pre-include\out\project/ARMCM0/GCC/project.elf + +${input_file} +${parent_path}${/}${Out_Dir}${/}${Default_Out_Dir} +${parent_path}${/}${Default_Out_Dir} + + +Returning from the enclosing user keyword. +${result} +Compare Elf Information +${input_file} +${parent_path}${/}${Out_Dir}${/}${Default_Out_Dir} +${parent_path}${/}${Default_Out_Dir} +Runs the specified keyword and returns from the enclosing user keyword. + + + +${result} +Fails if the given condition is not true. + + +${TEST_DATA_DIR}${/}${pre-include}${/}solution.csolution.yml +${Pass} + + + + + + + + +${parent_path} = C:\Sandbox\forked\cmsis-toolbox\test\build\whitespace +${parent_path} +${input_file} + + + + +${args} = ['--output', 'C:\\Sandbox\\forked\\cmsis-toolbox\\test\\build\\whitespace\\out_dir'] +${args} +${list} +${values} +Combines the given ``lists`` together and returns the result. + + + +${args} + + +${ex_args} = ['--output', 'C:\\Sandbox\\forked\\cmsis-toolbox\\test\\build\\whitespace\\out_dir'] +${ex_args} +${args} +--output +${parent_path}${/}${Out_Dir} +Append values to the list + + + + +${args} +-p +-r +--update-rte +Adds ``values`` to the end of ``list``. + + + + +Starting process: +cbuild C:\Sandbox\forked\cmsis-toolbox\test\build\whitespace\solution.csolution.yml --output C:\Sandbox\forked\cmsis-toolbox\test\build\whitespace\out_dir -p -r --update-rte +Waiting for process to complete. +Process completed. +${result} = <result object with rc 0> +${result} +${exe_path} +${input_File} +@{args} +shell=True +stdout=C:\\Sandbox\\forked\\cmsis-toolbox\\test\\resources/stdout.txt +Runs a process and waits for it to complete. + + + +${ret_code} = 0 +${ret_code} +${result.rc} == ${0} +${result.rc} +${1} +Sets variable based on the given condition. + + + +StdOut: info cbuild: Build Invocation (C) 2024 Arm Ltd. and Contributors +C:/Sandbox/forked/cmsis-toolbox/test/build/whitespace/solution.cbuild-pack.yml - info csolution: file generated successfully +C:/Sandbox/forked/cmsis-toolbox/test/build/whitespace/out_dir/solution.cbuild-idx.yml - info csolution: file generated successfully +C:/Sandbox/forked/cmsis-toolbox/test/build/whitespace/out_dir/project.AC6+ARMCM0.cbuild.yml - info csolution: file generated successfully +C:/Sandbox/forked/cmsis-toolbox/test/build/whitespace/out_dir/project.CLANG+ARMCM0.cbuild.yml - info csolution: file generated successfully +C:/Sandbox/forked/cmsis-toolbox/test/build/whitespace/out_dir/project.GCC+ARMCM0.cbuild.yml - info csolution: file generated successfully +C:/Sandbox/forked/cmsis-toolbox/test/build/whitespace/out_dir/project.AC6+ARMCM0.cprj - info csolution: file generated successfully +C:/Sandbox/forked/cmsis-toolbox/test/build/whitespace/out_dir/project.CLANG+ARMCM0.cprj - info csolution: file generated successfully +C:/Sandbox/forked/cmsis-toolbox/test/build/whitespace/out_dir/project.GCC+ARMCM0.cprj - info csolution: file generated successfully +info cbuild: Processing 3 context(s) +info cbuild: Retrieve build information for context: "project.AC6+ARMCM0" +info cbuild: Retrieve build information for context: "project.CLANG+ARMCM0" +info cbuild: Retrieve build information for context: "project.GCC+ARMCM0" +info cbuild: Cleaning context: "project.AC6+ARMCM0" +info cbuild: clean finished successfully! +info cbuild: Cleaning context: "project.CLANG+ARMCM0" +info cbuild: clean finished successfully! +info cbuild: Cleaning context: "project.GCC+ARMCM0" +info cbuild: clean finished successfully! +========================================================= +(1/3) Building context: "project.AC6+ARMCM0" + +M650: Command completed successfully. + +M652: Generated file for project build: 'C:/Sandbox/forked/cmsis-toolbox/test/build/whitespace/out_dir/tmp/project/ARMCM0/AC6/CMakeLists.txt' +-- The C compiler identification is ARMClang 6.22.0 +-- Detecting C compiler ABI info +-- Detecting C compiler ABI info - done +-- Check for working C compiler: C:/tools/ArmCompilerforEmbedded6.22/bin/armclang.exe - skipped +-- Detecting C compile features +-- Detecting C compile features - done +*** Using Compiler 'V6.22.0', folder: C:/tools/ArmCompilerforEmbedded6.22/bin +-- Configuring done (4.1s) +-- Generating done (0.0s) +-- Build files have been written to: C:/Sandbox/forked/cmsis-toolbox/test/build/whitespace/out_dir/tmp/project/ARMCM0/AC6 +[1/4] Building C object CMakeFiles/project.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/whitespace/project/RTE/Device/ARMCM0/system_ARMCM0.o +[2/4] Building C object CMakeFiles/project.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/whitespace/project/RTE/Device/ARMCM0/startup_ARMCM0.o +[3/4] Building C object CMakeFiles/project.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/whitespace/project/ma_in.o +[4/4] Linking C executable C:\Sandbox\forked\cmsis-toolbox\test\build\whitespace\out_dir\out\project\ARMCM0\AC6\project.axf +Program Size: Code=240 RO-data=208 RW-data=4 ZI-data=3584 +info cbuild: build finished successfully! +=========================================================== +(2/3) Building context: "project.CLANG+ARMCM0" + +M650: Command completed successfully. + +M652: Generated file for project build: 'C:/Sandbox/forked/cmsis-toolbox/test/build/whitespace/out_dir/tmp/project/ARMCM0/CLANG/CMakeLists.txt' +-- The C compiler identification is Clang 17.0.1 +-- Detecting C compiler ABI info +-- Detecting C compiler ABI info - done +-- Check for working C compiler: C:/tools/LLVMEmbeddedToolchainForArm/bin/clang.exe - skipped +-- Detecting C compile features +-- Detecting C compile features - done +*** Using Compiler 'V17.0.1', folder: C:/tools/LLVMEmbeddedToolchainForArm/bin +-- Configuring done (1.7s) +-- Generating done (0.0s) +-- Build files have been written to: C:/Sandbox/forked/cmsis-toolbox/test/build/whitespace/out_dir/tmp/project/ARMCM0/CLANG +[1/4] Building C object CMakeFiles/project.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/whitespace/project/RTE/Device/ARMCM0/startup_ARMCM0.c.obj +[2/4] Building C object CMakeFiles/project.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/whitespace/project/ma_in.c.obj +[3/4] Building C object CMakeFiles/project.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/whitespace/project/RTE/Device/ARMCM0/system_ARMCM0.c.obj +[4/4] Linking C executable C:\Sandbox\forked\cmsis-toolbox\test\build\whitespace\out_dir\out\project\ARMCM0\CLANG\project.elf +info cbuild: build finished successfully! +========================================================= +(3/3) Building context: "project.GCC+ARMCM0" + +M650: Command completed successfully. + +M652: Generated file for project build: 'C:/Sandbox/forked/cmsis-toolbox/test/build/whitespace/out_dir/tmp/project/ARMCM0/GCC/CMakeLists.txt' +-- The C compiler identification is GNU 13.2.1 +-- Detecting C compiler ABI info +-- Detecting C compiler ABI info - done +-- Check for working C compiler: C:/Program Files (x86)/Arm GNU Toolchain arm-none-eabi/13.2 Rel1/bin/arm-none-eabi-gcc.exe - skipped +-- Detecting C compile features +-- Detecting C compile features - done +-- Registered toolchain version 10.3.1 does not match running version 13.2.1 +*** Using Compiler 'V13.2.1', folder: C:/Program Files (x86)/Arm GNU Toolchain arm-none-eabi/13.2 Rel1/bin +-- Configuring done (2.1s) +-- Generating done (0.0s) +-- Build files have been written to: C:/Sandbox/forked/cmsis-toolbox/test/build/whitespace/out_dir/tmp/project/ARMCM0/GCC +[1/4] Building C object CMakeFiles/project.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/whitespace/project/RTE/Device/ARMCM0/startup_ARMCM0.c.obj +[2/4] Building C object CMakeFiles/project.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/whitespace/project/RTE/Device/ARMCM0/system_ARMCM0.c.obj +[3/4] Building C object CMakeFiles/project.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/whitespace/project/ma_in.c.obj +[4/4] Linking C executable C:\Sandbox\forked\cmsis-toolbox\test\build\whitespace\out_dir\out\project\ARMCM0\GCC\project.elf +C:/PROGRA~2/ARMGNU~1/13C7F1~1.2RE/bin/../lib/gcc/arm-none-eabi/13.2.1/../../../../arm-none-eabi/bin/ld.exe: warning: C:\Sandbox\forked\cmsis-toolbox\test\build\whitespace\out_dir\out\project\ARMCM0\GCC\project.elf has a LOAD segment with RWX permissions +info cbuild: build finished successfully! + +Build summary: Build completed successfully - Time Elapsed: 00:00:12 +StdOut: ${result.stdout} +Logs the given messages as separate entries using the INFO level. + + + +${ret_code} + + +${ret_code} = 0 +${ret_code} +cbuild +${input_file} +@{args} +Run specified executable with arguments + + + +${ret_code} + + +${ret_code} = 0 +${ret_code} +${input_file} +${ex_args} +Run cbuild with specified arguments + + + +${ret_code} +${expect} +msg=Unexpected status returned by cbuildgen execution +Fails if the given objects are unequal. + + +${input_file} +${expect} +${args} +Run the csolution project with cbuildgen + + + + + +${args} = ['--cbuild2cmake'] +${args} +${list} +${values} +Combines the given ``lists`` together and returns the result. + + + +${args} + + +${ex_args} = ['--cbuild2cmake'] +${ex_args} +${args} +--cbuild2cmake +Append values to the list + + + + +${args} +-p +-r +--update-rte +Adds ``values`` to the end of ``list``. + + + + +Starting process: +cbuild C:\Sandbox\forked\cmsis-toolbox\test\build\whitespace\solution.csolution.yml --cbuild2cmake -p -r --update-rte +Waiting for process to complete. +Process completed. +${result} = <result object with rc 0> +${result} +${exe_path} +${input_File} +@{args} +shell=True +stdout=C:\\Sandbox\\forked\\cmsis-toolbox\\test\\resources/stdout.txt +Runs a process and waits for it to complete. + + + +${ret_code} = 0 +${ret_code} +${result.rc} == ${0} +${result.rc} +${1} +Sets variable based on the given condition. + + + +StdOut: info cbuild: Build Invocation (C) 2024 Arm Ltd. and Contributors +C:/Sandbox/forked/cmsis-toolbox/test/build/whitespace/solution.cbuild-pack.yml - info csolution: file is already up-to-date +C:/Sandbox/forked/cmsis-toolbox/test/build/whitespace/solution.cbuild-idx.yml - info csolution: file generated successfully +C:/Sandbox/forked/cmsis-toolbox/test/build/whitespace/project/project.AC6+ARMCM0.cbuild.yml - info csolution: file generated successfully +C:/Sandbox/forked/cmsis-toolbox/test/build/whitespace/project/project.CLANG+ARMCM0.cbuild.yml - info csolution: file generated successfully +C:/Sandbox/forked/cmsis-toolbox/test/build/whitespace/project/project.GCC+ARMCM0.cbuild.yml - info csolution: file generated successfully +C:/Sandbox/forked/cmsis-toolbox/test/build/whitespace/project/project.AC6+ARMCM0.cprj - info csolution: file generated successfully +C:/Sandbox/forked/cmsis-toolbox/test/build/whitespace/project/project.CLANG+ARMCM0.cprj - info csolution: file generated successfully +C:/Sandbox/forked/cmsis-toolbox/test/build/whitespace/project/project.GCC+ARMCM0.cprj - info csolution: file generated successfully +info cbuild: Processing 3 context(s) +info cbuild: Cleaning context: "project.AC6+ARMCM0" +info cbuild: clean finished successfully! +info cbuild: Cleaning context: "project.CLANG+ARMCM0" +info cbuild: clean finished successfully! +info cbuild: Cleaning context: "project.GCC+ARMCM0" +info cbuild: clean finished successfully! +info cbuild2cmake: Generate CMakeLists 0.9.0 (C) 2024 Arm Ltd. and Contributors +info cbuild2cmake: CMakeLists were successfully generated in the C:/Sandbox/forked/cmsis-toolbox/test/build/whitespace/tmp directory +-- Configuring done (0.5s) +-- Generating done (0.1s) +-- Build files have been written to: C:/Sandbox/forked/cmsis-toolbox/test/build/whitespace/tmp +[1/27] Creating directories for 'project.AC6+ARMCM0' +[2/27] Creating directories for 'project.CLANG+ARMCM0' +[3/27] Creating directories for 'project.GCC+ARMCM0' +[4/27] No download step for 'project.AC6+ARMCM0' +[5/27] No download step for 'project.CLANG+ARMCM0' +[6/27] No download step for 'project.GCC+ARMCM0' +[7/27] No update step for 'project.AC6+ARMCM0' +[8/27] No update step for 'project.CLANG+ARMCM0' +[9/27] No update step for 'project.GCC+ARMCM0' +[10/27] No patch step for 'project.AC6+ARMCM0' +[11/27] No patch step for 'project.CLANG+ARMCM0' +[12/27] No patch step for 'project.GCC+ARMCM0' +[13/27] Performing configure step for 'project.CLANG+ARMCM0' +-- The C compiler identification is Clang 17.0.1 +-- Detecting C compiler ABI info +-- Detecting C compiler ABI info - done +-- Check for working C compiler: C:/tools/LLVMEmbeddedToolchainForArm/bin/clang.exe - skipped +-- Detecting C compile features +-- Detecting C compile features - done +-- Configuring done (2.9s) +-- Generating done (0.1s) +-- Build files have been written to: C:/Sandbox/forked/cmsis-toolbox/test/build/whitespace/tmp/2 +[14/27] Performing configure step for 'project.GCC+ARMCM0' +-- The C compiler identification is GNU 13.2.1 +-- Detecting C compiler ABI info +-- Detecting C compiler ABI info - done +-- Check for working C compiler: C:/Program Files (x86)/Arm GNU Toolchain arm-none-eabi/13.2 Rel1/bin/arm-none-eabi-gcc.exe - skipped +-- Detecting C compile features +-- Detecting C compile features - done +-- Configuring done (3.5s) +-- Generating done (0.1s) +-- Build files have been written to: C:/Sandbox/forked/cmsis-toolbox/test/build/whitespace/tmp/3 +[15/27] Performing build step for 'project.CLANG+ARMCM0' +[1/4] Building C object CMakeFiles/ARM_Device_Startup_C_Startup_2_2_0.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/whitespace/project/RTE/Device/ARMCM0/startup_ARMCM0.c.obj +[2/4] Building C object CMakeFiles/Group_Source.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/whitespace/project/ma_in.c.obj +[3/4] Building C object CMakeFiles/ARM_Device_Startup_C_Startup_2_2_0.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/whitespace/project/RTE/Device/ARMCM0/system_ARMCM0.c.obj +[4/4] Linking C executable C:\Sandbox\forked\cmsis-toolbox\test\build\whitespace\out\project\ARMCM0\CLANG\project.elf +[16/27] No install step for 'project.CLANG+ARMCM0' +[17/27] No test step for 'project.CLANG+ARMCM0' +[18/27] Completed 'project.CLANG+ARMCM0' +[19/27] Performing build step for 'project.GCC+ARMCM0' +[1/4] Building C object CMakeFiles/Group_Source.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/whitespace/project/ma_in.c.obj +[2/4] Building C object CMakeFiles/ARM_Device_Startup_C_Startup_2_2_0.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/whitespace/project/RTE/Device/ARMCM0/startup_ARMCM0.c.obj +[3/4] Building C object CMakeFiles/ARM_Device_Startup_C_Startup_2_2_0.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/whitespace/project/RTE/Device/ARMCM0/system_ARMCM0.c.obj +[4/4] Linking C executable C:\Sandbox\forked\cmsis-toolbox\test\build\whitespace\out\project\ARMCM0\GCC\project.elf +C:/PROGRA~2/ARMGNU~1/13C7F1~1.2RE/bin/../lib/gcc/arm-none-eabi/13.2.1/../../../../arm-none-eabi/bin/ld.exe: warning: C:\Sandbox\forked\cmsis-toolbox\test\build\whitespace\out\project\ARMCM0\GCC\project.elf has a LOAD segment with RWX permissions +[20/27] No install step for 'project.GCC+ARMCM0' +[21/27] No test step for 'project.GCC+ARMCM0' +[22/27] Completed 'project.GCC+ARMCM0' +[23/27] Performing configure step for 'project.AC6+ARMCM0' +-- The C compiler identification is ARMClang 6.22.0 +-- Detecting C compiler ABI info +-- Detecting C compiler ABI info - done +-- Check for working C compiler: C:/tools/ArmCompilerforEmbedded6.22/bin/armclang.exe - skipped +-- Detecting C compile features +-- Detecting C compile features - done +-- Configuring done (7.3s) +-- Generating done (0.0s) +-- Build files have been written to: C:/Sandbox/forked/cmsis-toolbox/test/build/whitespace/tmp/1 +[24/27] Performing build step for 'project.AC6+ARMCM0' +[1/4] Building C object CMakeFiles/Group_Source.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/whitespace/project/ma_in.o +[2/4] Building C object CMakeFiles/ARM_Device_Startup_C_Startup_2_2_0.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/whitespace/project/RTE/Device/ARMCM0/startup_ARMCM0.o +[3/4] Building C object CMakeFiles/ARM_Device_Startup_C_Startup_2_2_0.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/whitespace/project/RTE/Device/ARMCM0/system_ARMCM0.o +[4/4] Linking C executable C:\Sandbox\forked\cmsis-toolbox\test\build\whitespace\out\project\ARMCM0\AC6\project.axf +Program Size: Code=240 RO-data=208 RW-data=4 ZI-data=3584 +[25/27] No install step for 'project.AC6+ARMCM0' +[26/27] No test step for 'project.AC6+ARMCM0' +[27/27] Completed 'project.AC6+ARMCM0' +info cbuild: build finished successfully! + +Build summary: Build completed successfully - Time Elapsed: 00:00:11 +StdOut: ${result.stdout} +Logs the given messages as separate entries using the INFO level. + + + +${ret_code} + + +${ret_code} = 0 +${ret_code} +cbuild +${input_file} +@{args} +Run specified executable with arguments + + + +${ret_code} + + +${ret_code} = 0 +${ret_code} +${input_file} +${ex_args} +Run cbuild with specified arguments + + + +${ret_code} +${expect} +msg=Unexpected status returned by cbuild2cmake execution +Fails if the given objects are unequal. + + +${input_file} +${expect} +${args} +Run the csolution project with cbuild2cmake + + + +${parent_path} = C:\Sandbox\forked\cmsis-toolbox\test\build\whitespace +${parent_path} +${input_file} + + + + +Running Command: c b u i l d l i s t c o n t e x t s C : \ S a n d b o x \ f o r k e d \ c m s i s - t o o l b o x \ t e s t \ b u i l d \ w h i t e s p a c e \ s o l u t i o n . c s o l u t i o n . y m l +Processing context: project.AC6+ARMCM0 +basePath: C:\Sandbox\forked\cmsis-toolbox\test\build\whitespace\out_dir\out +Path: project/ARMCM0/AC6/project.axf +Running Command: f r o m e l f C : \ S a n d b o x \ f o r k e d \ c m s i s - t o o l b o x \ t e s t \ b u i l d \ w h i t e s p a c e \ o u t _ d i r \ o u t \ p r o j e c t / A R M C M 0 / A C 6 / p r o j e c t . a x f - z +Running Command: f r o m e l f C : \ S a n d b o x \ f o r k e d \ c m s i s - t o o l b o x \ t e s t \ b u i l d \ w h i t e s p a c e \ o u t \ p r o j e c t / A R M C M 0 / A C 6 / p r o j e c t . a x f - z +Object Info +======================================================================== + +** Object/Image Component Sizes + + Code (inc. data) RO Data RW Data ZI Data Debug Object Name + + 240 26 208 4 3584 492 C:\Sandbox\forked\cmsis-toolbox\test\build\whitespace\out_dir\out\project/ARMCM0/AC6/project.axf + 240 26 208 4 0 0 ROM Totals for C:\Sandbox\forked\cmsis-toolbox\test\build\whitespace\out_dir\out\project/ARMCM0/AC6/project.axf + +Object Info +======================================================================== + +** Object/Image Component Sizes + + Code (inc. data) RO Data RW Data ZI Data Debug Object Name + + 240 26 208 4 3584 492 C:\Sandbox\forked\cmsis-toolbox\test\build\whitespace\out\project/ARMCM0/AC6/project.axf + 240 26 208 4 0 0 ROM Totals for C:\Sandbox\forked\cmsis-toolbox\test\build\whitespace\out\project/ARMCM0/AC6/project.axf + +Processing context: project.CLANG+ARMCM0 +basePath: C:\Sandbox\forked\cmsis-toolbox\test\build\whitespace\out_dir\out +Path: project/ARMCM0/CLANG/project.elf +Running Command: f r o m e l f C : \ S a n d b o x \ f o r k e d \ c m s i s - t o o l b o x \ t e s t \ b u i l d \ w h i t e s p a c e \ o u t _ d i r \ o u t \ p r o j e c t / A R M C M 0 / C L A N G / p r o j e c t . e l f - z +Running Command: f r o m e l f C : \ S a n d b o x \ f o r k e d \ c m s i s - t o o l b o x \ t e s t \ b u i l d \ w h i t e s p a c e \ o u t \ p r o j e c t / A R M C M 0 / C L A N G / p r o j e c t . e l f - z +Object Info +======================================================================== + +** Object/Image Component Sizes + + Code (inc. data) RO Data RW Data ZI Data Debug Object Name + + 9736 352 336 24 4872 48965 C:\Sandbox\forked\cmsis-toolbox\test\build\whitespace\out_dir\out\project/ARMCM0/CLANG/project.elf + 9736 352 336 24 0 0 ROM Totals for C:\Sandbox\forked\cmsis-toolbox\test\build\whitespace\out_dir\out\project/ARMCM0/CLANG/project.elf + +Object Info +======================================================================== + +** Object/Image Component Sizes + + Code (inc. data) RO Data RW Data ZI Data Debug Object Name + + 9736 352 336 24 4872 48965 C:\Sandbox\forked\cmsis-toolbox\test\build\whitespace\out\project/ARMCM0/CLANG/project.elf + 9736 352 336 24 0 0 ROM Totals for C:\Sandbox\forked\cmsis-toolbox\test\build\whitespace\out\project/ARMCM0/CLANG/project.elf + +Processing context: project.GCC+ARMCM0 +basePath: C:\Sandbox\forked\cmsis-toolbox\test\build\whitespace\out_dir\out +Path: project/ARMCM0/GCC/project.elf +Running Command: f r o m e l f C : \ S a n d b o x \ f o r k e d \ c m s i s - t o o l b o x \ t e s t \ b u i l d \ w h i t e s p a c e \ o u t _ d i r \ o u t \ p r o j e c t / A R M C M 0 / G C C / p r o j e c t . e l f - z +Running Command: f r o m e l f C : \ S a n d b o x \ f o r k e d \ c m s i s - t o o l b o x \ t e s t \ b u i l d \ w h i t e s p a c e \ o u t \ p r o j e c t / A R M C M 0 / G C C / p r o j e c t . e l f - z +Object Info +======================================================================== + +** Object/Image Component Sizes + + Code (inc. data) RO Data RW Data ZI Data Debug Object Name + + 3560 556 8 408 4628 2785 C:\Sandbox\forked\cmsis-toolbox\test\build\whitespace\out_dir\out\project/ARMCM0/GCC/project.elf + 3560 556 8 408 0 0 ROM Totals for C:\Sandbox\forked\cmsis-toolbox\test\build\whitespace\out_dir\out\project/ARMCM0/GCC/project.elf + +Object Info +======================================================================== + +** Object/Image Component Sizes + + Code (inc. data) RO Data RW Data ZI Data Debug Object Name + + 3560 556 8 408 4628 2785 C:\Sandbox\forked\cmsis-toolbox\test\build\whitespace\out\project/ARMCM0/GCC/project.elf + 3560 556 8 408 0 0 ROM Totals for C:\Sandbox\forked\cmsis-toolbox\test\build\whitespace\out\project/ARMCM0/GCC/project.elf + +${input_file} +${parent_path}${/}${Out_Dir}${/}${Default_Out_Dir} +${parent_path}${/}${Default_Out_Dir} + + +Returning from the enclosing user keyword. +${result} +Compare Elf Information +${input_file} +${parent_path}${/}${Out_Dir}${/}${Default_Out_Dir} +${parent_path}${/}${Default_Out_Dir} +Runs the specified keyword and returns from the enclosing user keyword. + + + +${result} +Fails if the given condition is not true. + + +${TEST_DATA_DIR}${/}${whitespace}${/}solution.csolution.yml +${Pass} + + + + + + + + +${parent_path} = C:\Sandbox\forked\cmsis-toolbox\test\build\trustzone +${parent_path} +${input_file} + + + + +${args} = ['--output', 'C:\\Sandbox\\forked\\cmsis-toolbox\\test\\build\\trustzone\\out_dir'] +${args} +${list} +${values} +Combines the given ``lists`` together and returns the result. + + + +${args} + + +${ex_args} = ['--output', 'C:\\Sandbox\\forked\\cmsis-toolbox\\test\\build\\trustzone\\out_dir'] +${ex_args} +${args} +--output +${parent_path}${/}${Out_Dir} +Append values to the list + + + + +${args} +-p +-r +--update-rte +Adds ``values`` to the end of ``list``. + + + + +Starting process: +cbuild C:\Sandbox\forked\cmsis-toolbox\test\build\trustzone\solution.csolution.yml --output C:\Sandbox\forked\cmsis-toolbox\test\build\trustzone\out_dir -p -r --update-rte +Waiting for process to complete. +Process completed. +${result} = <result object with rc 0> +${result} +${exe_path} +${input_File} +@{args} +shell=True +stdout=C:\\Sandbox\\forked\\cmsis-toolbox\\test\\resources/stdout.txt +Runs a process and waits for it to complete. + + + +${ret_code} = 0 +${ret_code} +${result.rc} == ${0} +${result.rc} +${1} +Sets variable based on the given condition. + + + +StdOut: info cbuild: Build Invocation (C) 2024 Arm Ltd. and Contributors +C:/Sandbox/forked/cmsis-toolbox/test/build/trustzone/solution.cbuild-pack.yml - info csolution: file generated successfully +C:/Sandbox/forked/cmsis-toolbox/test/build/trustzone/out_dir/solution.cbuild-idx.yml - info csolution: file generated successfully +C:/Sandbox/forked/cmsis-toolbox/test/build/trustzone/out_dir/secure.Debug+CM33.cbuild.yml - info csolution: file generated successfully +C:/Sandbox/forked/cmsis-toolbox/test/build/trustzone/out_dir/secure.Debug+CM35P.cbuild.yml - info csolution: file generated successfully +C:/Sandbox/forked/cmsis-toolbox/test/build/trustzone/out_dir/secure.Release+CM33.cbuild.yml - info csolution: file generated successfully +C:/Sandbox/forked/cmsis-toolbox/test/build/trustzone/out_dir/secure.Release+CM35P.cbuild.yml - info csolution: file generated successfully +C:/Sandbox/forked/cmsis-toolbox/test/build/trustzone/out_dir/nonsecure.Debug+CM33.cbuild.yml - info csolution: file generated successfully +C:/Sandbox/forked/cmsis-toolbox/test/build/trustzone/out_dir/nonsecure.Debug+CM35P.cbuild.yml - info csolution: file generated successfully +C:/Sandbox/forked/cmsis-toolbox/test/build/trustzone/out_dir/nonsecure.Release+CM33.cbuild.yml - info csolution: file generated successfully +C:/Sandbox/forked/cmsis-toolbox/test/build/trustzone/out_dir/nonsecure.Release+CM35P.cbuild.yml - info csolution: file generated successfully +C:/Sandbox/forked/cmsis-toolbox/test/build/trustzone/out_dir/secure.Debug+CM33.cprj - info csolution: file generated successfully +C:/Sandbox/forked/cmsis-toolbox/test/build/trustzone/out_dir/secure.Debug+CM35P.cprj - info csolution: file generated successfully +C:/Sandbox/forked/cmsis-toolbox/test/build/trustzone/out_dir/secure.Release+CM33.cprj - info csolution: file generated successfully +C:/Sandbox/forked/cmsis-toolbox/test/build/trustzone/out_dir/secure.Release+CM35P.cprj - info csolution: file generated successfully +C:/Sandbox/forked/cmsis-toolbox/test/build/trustzone/out_dir/nonsecure.Debug+CM33.cprj - info csolution: file generated successfully +C:/Sandbox/forked/cmsis-toolbox/test/build/trustzone/out_dir/nonsecure.Debug+CM35P.cprj - info csolution: file generated successfully +C:/Sandbox/forked/cmsis-toolbox/test/build/trustzone/out_dir/nonsecure.Release+CM33.cprj - info csolution: file generated successfully +C:/Sandbox/forked/cmsis-toolbox/test/build/trustzone/out_dir/nonsecure.Release+CM35P.cprj - info csolution: file generated successfully +info cbuild: Processing 8 context(s) +info cbuild: Retrieve build information for context: "secure.Debug+CM33" +info cbuild: Retrieve build information for context: "secure.Debug+CM35P" +info cbuild: Retrieve build information for context: "secure.Release+CM33" +info cbuild: Retrieve build information for context: "secure.Release+CM35P" +info cbuild: Retrieve build information for context: "nonsecure.Debug+CM33" +info cbuild: Retrieve build information for context: "nonsecure.Debug+CM35P" +info cbuild: Retrieve build information for context: "nonsecure.Release+CM33" +info cbuild: Retrieve build information for context: "nonsecure.Release+CM35P" +info cbuild: Cleaning context: "secure.Debug+CM33" +info cbuild: clean finished successfully! +info cbuild: Cleaning context: "secure.Debug+CM35P" +info cbuild: clean finished successfully! +info cbuild: Cleaning context: "secure.Release+CM33" +info cbuild: clean finished successfully! +info cbuild: Cleaning context: "secure.Release+CM35P" +info cbuild: clean finished successfully! +info cbuild: Cleaning context: "nonsecure.Debug+CM33" +info cbuild: clean finished successfully! +info cbuild: Cleaning context: "nonsecure.Debug+CM35P" +info cbuild: clean finished successfully! +info cbuild: Cleaning context: "nonsecure.Release+CM33" +info cbuild: clean finished successfully! +info cbuild: Cleaning context: "nonsecure.Release+CM35P" +info cbuild: clean finished successfully! +======================================================== +(1/8) Building context: "secure.Debug+CM33" + +M650: Command completed successfully. + +M652: Generated file for project build: 'C:/Sandbox/forked/cmsis-toolbox/test/build/trustzone/out_dir/tmp/secure/CM33/Debug/CMakeLists.txt' +-- The C compiler identification is ARMClang 6.22.0 +-- Detecting C compiler ABI info +-- Detecting C compiler ABI info - done +-- Check for working C compiler: C:/tools/ArmCompilerforEmbedded6.22/bin/armclang.exe - skipped +-- Detecting C compile features +-- Detecting C compile features - done +*** Using Compiler 'V6.22.0', folder: C:/tools/ArmCompilerforEmbedded6.22/bin +-- Configuring done (4.3s) +-- Generating done (0.0s) +-- Build files have been written to: C:/Sandbox/forked/cmsis-toolbox/test/build/trustzone/out_dir/tmp/secure/CM33/Debug +[1/6] Building C object CMakeFiles/secure.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/trustzone/securecode/interface.o +[2/6] Building C object CMakeFiles/secure.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/trustzone/securecode/main_s.o +[3/6] Building C object CMakeFiles/secure.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/trustzone/securecode/RTE/Device/ARMCM33_DSP_FP_TZ/startup_ARMCM33.o +[4/6] Building C object CMakeFiles/secure.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/trustzone/securecode/RTE/Device/ARMCM33_DSP_FP_TZ/system_ARMCM33.o +[5/6] Building C object CMakeFiles/secure.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/trustzone/securecode/tz_context.o +[6/6] Linking C executable C:\Sandbox\forked\cmsis-toolbox\test\build\trustzone\out_dir\out\secure\CM33\Debug\secure.axf +info cbuild: build finished successfully! +========================================================= +(2/8) Building context: "secure.Debug+CM35P" + +M650: Command completed successfully. + +M652: Generated file for project build: 'C:/Sandbox/forked/cmsis-toolbox/test/build/trustzone/out_dir/tmp/secure/CM35P/Debug/CMakeLists.txt' +-- The C compiler identification is ARMClang 6.22.0 +-- Detecting C compiler ABI info +-- Detecting C compiler ABI info - done +-- Check for working C compiler: C:/tools/ArmCompilerforEmbedded6.22/bin/armclang.exe - skipped +-- Detecting C compile features +-- Detecting C compile features - done +*** Using Compiler 'V6.22.0', folder: C:/tools/ArmCompilerforEmbedded6.22/bin +-- Configuring done (4.0s) +-- Generating done (0.0s) +-- Build files have been written to: C:/Sandbox/forked/cmsis-toolbox/test/build/trustzone/out_dir/tmp/secure/CM35P/Debug +[1/6] Building C object CMakeFiles/secure.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/trustzone/securecode/interface.o +[2/6] Building C object CMakeFiles/secure.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/trustzone/securecode/main_s.o +[3/6] Building C object CMakeFiles/secure.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/trustzone/securecode/RTE/Device/ARMCM35P_DSP_FP_TZ/startup_ARMCM35P.o +[4/6] Building C object CMakeFiles/secure.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/trustzone/securecode/tz_context.o +[5/6] Building C object CMakeFiles/secure.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/trustzone/securecode/RTE/Device/ARMCM35P_DSP_FP_TZ/system_ARMCM35P.o +[6/6] Linking C executable C:\Sandbox\forked\cmsis-toolbox\test\build\trustzone\out_dir\out\secure\CM35P\Debug\secure.axf +info cbuild: build finished successfully! +========================================================== +(3/8) Building context: "secure.Release+CM33" + +M650: Command completed successfully. + +M652: Generated file for project build: 'C:/Sandbox/forked/cmsis-toolbox/test/build/trustzone/out_dir/tmp/secure/CM33/Release/CMakeLists.txt' +-- The C compiler identification is ARMClang 6.22.0 +-- Detecting C compiler ABI info +-- Detecting C compiler ABI info - done +-- Check for working C compiler: C:/tools/ArmCompilerforEmbedded6.22/bin/armclang.exe - skipped +-- Detecting C compile features +-- Detecting C compile features - done +*** Using Compiler 'V6.22.0', folder: C:/tools/ArmCompilerforEmbedded6.22/bin +-- Configuring done (3.7s) +-- Generating done (0.0s) +-- Build files have been written to: C:/Sandbox/forked/cmsis-toolbox/test/build/trustzone/out_dir/tmp/secure/CM33/Release +[1/6] Building C object CMakeFiles/secure.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/trustzone/securecode/interface.o +[2/6] Building C object CMakeFiles/secure.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/trustzone/securecode/RTE/Device/ARMCM33_DSP_FP_TZ/startup_ARMCM33.o +[3/6] Building C object CMakeFiles/secure.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/trustzone/securecode/main_s.o +[4/6] Building C object CMakeFiles/secure.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/trustzone/securecode/RTE/Device/ARMCM33_DSP_FP_TZ/system_ARMCM33.o +[5/6] Building C object CMakeFiles/secure.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/trustzone/securecode/tz_context.o +[6/6] Linking C executable C:\Sandbox\forked\cmsis-toolbox\test\build\trustzone\out_dir\out\secure\CM33\Release\secure.axf +info cbuild: build finished successfully! +=========================================================== +(4/8) Building context: "secure.Release+CM35P" + +M650: Command completed successfully. + +M652: Generated file for project build: 'C:/Sandbox/forked/cmsis-toolbox/test/build/trustzone/out_dir/tmp/secure/CM35P/Release/CMakeLists.txt' +-- The C compiler identification is ARMClang 6.22.0 +-- Detecting C compiler ABI info +-- Detecting C compiler ABI info - done +-- Check for working C compiler: C:/tools/ArmCompilerforEmbedded6.22/bin/armclang.exe - skipped +-- Detecting C compile features +-- Detecting C compile features - done +*** Using Compiler 'V6.22.0', folder: C:/tools/ArmCompilerforEmbedded6.22/bin +-- Configuring done (4.1s) +-- Generating done (0.0s) +-- Build files have been written to: C:/Sandbox/forked/cmsis-toolbox/test/build/trustzone/out_dir/tmp/secure/CM35P/Release +[1/6] Building C object CMakeFiles/secure.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/trustzone/securecode/interface.o +[2/6] Building C object CMakeFiles/secure.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/trustzone/securecode/main_s.o +[3/6] Building C object CMakeFiles/secure.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/trustzone/securecode/RTE/Device/ARMCM35P_DSP_FP_TZ/startup_ARMCM35P.o +[4/6] Building C object CMakeFiles/secure.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/trustzone/securecode/RTE/Device/ARMCM35P_DSP_FP_TZ/system_ARMCM35P.o +[5/6] Building C object CMakeFiles/secure.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/trustzone/securecode/tz_context.o +[6/6] Linking C executable C:\Sandbox\forked\cmsis-toolbox\test\build\trustzone\out_dir\out\secure\CM35P\Release\secure.axf +info cbuild: build finished successfully! +=========================================================== +(5/8) Building context: "nonsecure.Debug+CM33" + +M650: Command completed successfully. + +M652: Generated file for project build: 'C:/Sandbox/forked/cmsis-toolbox/test/build/trustzone/out_dir/tmp/nonsecure/CM33/Debug/CMakeLists.txt' +-- The C compiler identification is ARMClang 6.22.0 +-- Detecting C compiler ABI info +-- Detecting C compiler ABI info - done +-- Check for working C compiler: C:/tools/ArmCompilerforEmbedded6.22/bin/armclang.exe - skipped +-- Detecting C compile features +-- Detecting C compile features - done +*** Using Compiler 'V6.22.0', folder: C:/tools/ArmCompilerforEmbedded6.22/bin +-- Configuring done (4.0s) +-- Generating done (0.0s) +-- Build files have been written to: C:/Sandbox/forked/cmsis-toolbox/test/build/trustzone/out_dir/tmp/nonsecure/CM33/Debug +[1/6] Building C object CMakeFiles/nonsecure.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/trustzone/nonsecurecode/RTE/Device/ARMCM33_DSP_FP_TZ/system_ARMCM33.o +[2/6] Building C object CMakeFiles/nonsecure.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/trustzone/nonsecurecode/main_ns.o +[3/6] Building C object CMakeFiles/nonsecure.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/trustzone/nonsecurecode/RTE/Device/ARMCM33_DSP_FP_TZ/startup_ARMCM33.o +[4/6] Building C object CMakeFiles/nonsecure.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/trustzone/nonsecurecode/RTE/CMSIS/RTX_Config.o +[5/6] Building C object CMakeFiles/nonsecure.dir/C_/Users/soumeh01/AppData/Local/Arm/Packs/ARM/CMSIS/5.9.0/CMSIS/RTOS2/RTX/Source/rtx_lib.o +[6/6] Linking C executable C:\Sandbox\forked\cmsis-toolbox\test\build\trustzone\out_dir\out\nonsecure\CM33\Debug\nonsecure.axf +"C:/Sandbox/forked/cmsis-toolbox/test/build/trustzone/nonsecurecode/RTE/Device/ARMCM33_DSP_FP_TZ/ARMCM33_ac6_s.sct", line 42 (column 6): Warning: L6314W: No section matches pattern *(Veneer$$CMSE). +Finished: 0 information, 1 warning and 0 error messages. +info cbuild: build finished successfully! +============================================================ +(6/8) Building context: "nonsecure.Debug+CM35P" + +M650: Command completed successfully. + +M652: Generated file for project build: 'C:/Sandbox/forked/cmsis-toolbox/test/build/trustzone/out_dir/tmp/nonsecure/CM35P/Debug/CMakeLists.txt' +-- The C compiler identification is ARMClang 6.22.0 +-- Detecting C compiler ABI info +-- Detecting C compiler ABI info - done +-- Check for working C compiler: C:/tools/ArmCompilerforEmbedded6.22/bin/armclang.exe - skipped +-- Detecting C compile features +-- Detecting C compile features - done +*** Using Compiler 'V6.22.0', folder: C:/tools/ArmCompilerforEmbedded6.22/bin +-- Configuring done (3.9s) +-- Generating done (0.0s) +-- Build files have been written to: C:/Sandbox/forked/cmsis-toolbox/test/build/trustzone/out_dir/tmp/nonsecure/CM35P/Debug +[1/6] Building C object CMakeFiles/nonsecure.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/trustzone/nonsecurecode/RTE/CMSIS/RTX_Config.o +[2/6] Building C object CMakeFiles/nonsecure.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/trustzone/nonsecurecode/main_ns.o +[3/6] Building C object CMakeFiles/nonsecure.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/trustzone/nonsecurecode/RTE/Device/ARMCM35P_DSP_FP_TZ/system_ARMCM35P.o +[4/6] Building C object CMakeFiles/nonsecure.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/trustzone/nonsecurecode/RTE/Device/ARMCM35P_DSP_FP_TZ/startup_ARMCM35P.o +[5/6] Building C object CMakeFiles/nonsecure.dir/C_/Users/soumeh01/AppData/Local/Arm/Packs/ARM/CMSIS/5.9.0/CMSIS/RTOS2/RTX/Source/rtx_lib.o +[6/6] Linking C executable C:\Sandbox\forked\cmsis-toolbox\test\build\trustzone\out_dir\out\nonsecure\CM35P\Debug\nonsecure.axf +"C:/Sandbox/forked/cmsis-toolbox/test/build/trustzone/nonsecurecode/RTE/Device/ARMCM35P_DSP_FP_TZ/ARMCM35P_ac6_s.sct", line 42 (column 6): Warning: L6314W: No section matches pattern *(Veneer$$CMSE). +Finished: 0 information, 1 warning and 0 error messages. +info cbuild: build finished successfully! +============================================================= +(7/8) Building context: "nonsecure.Release+CM33" + +M650: Command completed successfully. + +M652: Generated file for project build: 'C:/Sandbox/forked/cmsis-toolbox/test/build/trustzone/out_dir/tmp/nonsecure/CM33/Release/CMakeLists.txt' +-- The C compiler identification is ARMClang 6.22.0 +-- Detecting C compiler ABI info +-- Detecting C compiler ABI info - done +-- Check for working C compiler: C:/tools/ArmCompilerforEmbedded6.22/bin/armclang.exe - skipped +-- Detecting C compile features +-- Detecting C compile features - done +*** Using Compiler 'V6.22.0', folder: C:/tools/ArmCompilerforEmbedded6.22/bin +-- Configuring done (3.7s) +-- Generating done (0.0s) +-- Build files have been written to: C:/Sandbox/forked/cmsis-toolbox/test/build/trustzone/out_dir/tmp/nonsecure/CM33/Release +[1/6] Building C object CMakeFiles/nonsecure.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/trustzone/nonsecurecode/RTE/CMSIS/RTX_Config.o +[2/6] Building C object CMakeFiles/nonsecure.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/trustzone/nonsecurecode/main_ns.o +[3/6] Building C object CMakeFiles/nonsecure.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/trustzone/nonsecurecode/RTE/Device/ARMCM33_DSP_FP_TZ/system_ARMCM33.o +[4/6] Building C object CMakeFiles/nonsecure.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/trustzone/nonsecurecode/RTE/Device/ARMCM33_DSP_FP_TZ/startup_ARMCM33.o +[5/6] Building C object CMakeFiles/nonsecure.dir/C_/Users/soumeh01/AppData/Local/Arm/Packs/ARM/CMSIS/5.9.0/CMSIS/RTOS2/RTX/Source/rtx_lib.o +[6/6] Linking C executable C:\Sandbox\forked\cmsis-toolbox\test\build\trustzone\out_dir\out\nonsecure\CM33\Release\nonsecure.axf +"C:/Sandbox/forked/cmsis-toolbox/test/build/trustzone/nonsecurecode/RTE/Device/ARMCM33_DSP_FP_TZ/ARMCM33_ac6_s.sct", line 42 (column 6): Warning: L6314W: No section matches pattern *(Veneer$$CMSE). +Finished: 0 information, 1 warning and 0 error messages. +info cbuild: build finished successfully! +============================================================== +(8/8) Building context: "nonsecure.Release+CM35P" + +M650: Command completed successfully. + +M652: Generated file for project build: 'C:/Sandbox/forked/cmsis-toolbox/test/build/trustzone/out_dir/tmp/nonsecure/CM35P/Release/CMakeLists.txt' +-- The C compiler identification is ARMClang 6.22.0 +-- Detecting C compiler ABI info +-- Detecting C compiler ABI info - done +-- Check for working C compiler: C:/tools/ArmCompilerforEmbedded6.22/bin/armclang.exe - skipped +-- Detecting C compile features +-- Detecting C compile features - done +*** Using Compiler 'V6.22.0', folder: C:/tools/ArmCompilerforEmbedded6.22/bin +-- Configuring done (4.0s) +-- Generating done (0.0s) +-- Build files have been written to: C:/Sandbox/forked/cmsis-toolbox/test/build/trustzone/out_dir/tmp/nonsecure/CM35P/Release +[1/6] Building C object CMakeFiles/nonsecure.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/trustzone/nonsecurecode/RTE/CMSIS/RTX_Config.o +[2/6] Building C object CMakeFiles/nonsecure.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/trustzone/nonsecurecode/RTE/Device/ARMCM35P_DSP_FP_TZ/startup_ARMCM35P.o +[3/6] Building C object CMakeFiles/nonsecure.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/trustzone/nonsecurecode/main_ns.o +[4/6] Building C object CMakeFiles/nonsecure.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/trustzone/nonsecurecode/RTE/Device/ARMCM35P_DSP_FP_TZ/system_ARMCM35P.o +[5/6] Building C object CMakeFiles/nonsecure.dir/C_/Users/soumeh01/AppData/Local/Arm/Packs/ARM/CMSIS/5.9.0/CMSIS/RTOS2/RTX/Source/rtx_lib.o +[6/6] Linking C executable C:\Sandbox\forked\cmsis-toolbox\test\build\trustzone\out_dir\out\nonsecure\CM35P\Release\nonsecure.axf +"C:/Sandbox/forked/cmsis-toolbox/test/build/trustzone/nonsecurecode/RTE/Device/ARMCM35P_DSP_FP_TZ/ARMCM35P_ac6_s.sct", line 42 (column 6): Warning: L6314W: No section matches pattern *(Veneer$$CMSE). +Finished: 0 information, 1 warning and 0 error messages. +info cbuild: build finished successfully! + +Build summary: Build completed successfully - Time Elapsed: 00:00:45 +StdOut: ${result.stdout} +Logs the given messages as separate entries using the INFO level. + + + +${ret_code} + + +${ret_code} = 0 +${ret_code} +cbuild +${input_file} +@{args} +Run specified executable with arguments + + + +${ret_code} + + +${ret_code} = 0 +${ret_code} +${input_file} +${ex_args} +Run cbuild with specified arguments + + + +${ret_code} +${expect} +msg=Unexpected status returned by cbuildgen execution +Fails if the given objects are unequal. + + +${input_file} +${expect} +${args} +Run the csolution project with cbuildgen + + + + + +${args} = ['--cbuild2cmake'] +${args} +${list} +${values} +Combines the given ``lists`` together and returns the result. + + + +${args} + + +${ex_args} = ['--cbuild2cmake'] +${ex_args} +${args} +--cbuild2cmake +Append values to the list + + + + +${args} +-p +-r +--update-rte +Adds ``values`` to the end of ``list``. + + + + +Starting process: +cbuild C:\Sandbox\forked\cmsis-toolbox\test\build\trustzone\solution.csolution.yml --cbuild2cmake -p -r --update-rte +Waiting for process to complete. +Process completed. +${result} = <result object with rc 0> +${result} +${exe_path} +${input_File} +@{args} +shell=True +stdout=C:\\Sandbox\\forked\\cmsis-toolbox\\test\\resources/stdout.txt +Runs a process and waits for it to complete. + + + +${ret_code} = 0 +${ret_code} +${result.rc} == ${0} +${result.rc} +${1} +Sets variable based on the given condition. + + + +StdOut: info cbuild: Build Invocation (C) 2024 Arm Ltd. and Contributors +C:/Sandbox/forked/cmsis-toolbox/test/build/trustzone/solution.cbuild-pack.yml - info csolution: file is already up-to-date +C:/Sandbox/forked/cmsis-toolbox/test/build/trustzone/solution.cbuild-idx.yml - info csolution: file generated successfully +C:/Sandbox/forked/cmsis-toolbox/test/build/trustzone/securecode/secure.Debug+CM33.cbuild.yml - info csolution: file generated successfully +C:/Sandbox/forked/cmsis-toolbox/test/build/trustzone/securecode/secure.Debug+CM35P.cbuild.yml - info csolution: file generated successfully +C:/Sandbox/forked/cmsis-toolbox/test/build/trustzone/securecode/secure.Release+CM33.cbuild.yml - info csolution: file generated successfully +C:/Sandbox/forked/cmsis-toolbox/test/build/trustzone/securecode/secure.Release+CM35P.cbuild.yml - info csolution: file generated successfully +C:/Sandbox/forked/cmsis-toolbox/test/build/trustzone/nonsecurecode/nonsecure.Debug+CM33.cbuild.yml - info csolution: file generated successfully +C:/Sandbox/forked/cmsis-toolbox/test/build/trustzone/nonsecurecode/nonsecure.Debug+CM35P.cbuild.yml - info csolution: file generated successfully +C:/Sandbox/forked/cmsis-toolbox/test/build/trustzone/nonsecurecode/nonsecure.Release+CM33.cbuild.yml - info csolution: file generated successfully +C:/Sandbox/forked/cmsis-toolbox/test/build/trustzone/nonsecurecode/nonsecure.Release+CM35P.cbuild.yml - info csolution: file generated successfully +C:/Sandbox/forked/cmsis-toolbox/test/build/trustzone/securecode/secure.Debug+CM33.cprj - info csolution: file generated successfully +C:/Sandbox/forked/cmsis-toolbox/test/build/trustzone/securecode/secure.Debug+CM35P.cprj - info csolution: file generated successfully +C:/Sandbox/forked/cmsis-toolbox/test/build/trustzone/securecode/secure.Release+CM33.cprj - info csolution: file generated successfully +C:/Sandbox/forked/cmsis-toolbox/test/build/trustzone/securecode/secure.Release+CM35P.cprj - info csolution: file generated successfully +C:/Sandbox/forked/cmsis-toolbox/test/build/trustzone/nonsecurecode/nonsecure.Debug+CM33.cprj - info csolution: file generated successfully +C:/Sandbox/forked/cmsis-toolbox/test/build/trustzone/nonsecurecode/nonsecure.Debug+CM35P.cprj - info csolution: file generated successfully +C:/Sandbox/forked/cmsis-toolbox/test/build/trustzone/nonsecurecode/nonsecure.Release+CM33.cprj - info csolution: file generated successfully +C:/Sandbox/forked/cmsis-toolbox/test/build/trustzone/nonsecurecode/nonsecure.Release+CM35P.cprj - info csolution: file generated successfully +info cbuild: Processing 8 context(s) +info cbuild: Cleaning context: "secure.Debug+CM33" +info cbuild: clean finished successfully! +info cbuild: Cleaning context: "secure.Debug+CM35P" +info cbuild: clean finished successfully! +info cbuild: Cleaning context: "secure.Release+CM33" +info cbuild: clean finished successfully! +info cbuild: Cleaning context: "secure.Release+CM35P" +info cbuild: clean finished successfully! +info cbuild: Cleaning context: "nonsecure.Debug+CM33" +info cbuild: clean finished successfully! +info cbuild: Cleaning context: "nonsecure.Debug+CM35P" +info cbuild: clean finished successfully! +info cbuild: Cleaning context: "nonsecure.Release+CM33" +info cbuild: clean finished successfully! +info cbuild: Cleaning context: "nonsecure.Release+CM35P" +info cbuild: clean finished successfully! +info cbuild2cmake: Generate CMakeLists 0.9.0 (C) 2024 Arm Ltd. and Contributors +info cbuild2cmake: CMakeLists were successfully generated in the C:/Sandbox/forked/cmsis-toolbox/test/build/trustzone/tmp directory +-- Configuring done (1.0s) +-- Generating done (0.4s) +-- Build files have been written to: C:/Sandbox/forked/cmsis-toolbox/test/build/trustzone/tmp +[1/72] Creating directories for 'secure.Debug+CM33' +[2/72] Creating directories for 'secure.Debug+CM35P' +[3/72] Creating directories for 'secure.Release+CM33' +[4/72] Creating directories for 'nonsecure.Debug+CM33' +[5/72] Creating directories for 'secure.Release+CM35P' +[6/72] Creating directories for 'nonsecure.Release+CM35P' +[7/72] Creating directories for 'nonsecure.Debug+CM35P' +[8/72] Creating directories for 'nonsecure.Release+CM33' +[9/72] No download step for 'secure.Debug+CM33' +[10/72] No download step for 'secure.Debug+CM35P' +[11/72] No download step for 'secure.Release+CM33' +[12/72] No download step for 'nonsecure.Debug+CM33' +[13/72] No download step for 'secure.Release+CM35P' +[14/72] No download step for 'nonsecure.Release+CM35P' +[15/72] No download step for 'nonsecure.Debug+CM35P' +[16/72] No update step for 'secure.Debug+CM35P' +[17/72] No download step for 'nonsecure.Release+CM33' +[18/72] No update step for 'secure.Debug+CM33' +[19/72] No update step for 'secure.Release+CM33' +[20/72] No update step for 'nonsecure.Debug+CM33' +[21/72] No update step for 'nonsecure.Release+CM35P' +[22/72] No update step for 'nonsecure.Debug+CM35P' +[23/72] No update step for 'secure.Release+CM35P' +[24/72] No update step for 'nonsecure.Release+CM33' +[25/72] No patch step for 'secure.Debug+CM33' +[26/72] No patch step for 'secure.Debug+CM35P' +[27/72] No patch step for 'secure.Release+CM33' +[28/72] No patch step for 'nonsecure.Debug+CM33' +[29/72] No patch step for 'nonsecure.Release+CM35P' +[30/72] No patch step for 'nonsecure.Release+CM33' +[31/72] No patch step for 'nonsecure.Debug+CM35P' +[32/72] No patch step for 'secure.Release+CM35P' +[33/72] Performing configure step for 'nonsecure.Release+CM33' +-- The C compiler identification is ARMClang 6.22.0 +-- Detecting C compiler ABI info +-- Detecting C compiler ABI info - done +-- Check for working C compiler: C:/tools/ArmCompilerforEmbedded6.22/bin/armclang.exe - skipped +-- Detecting C compile features +-- Detecting C compile features - done +-- Configuring done (13.8s) +-- Generating done (0.1s) +-- Build files have been written to: C:/Sandbox/forked/cmsis-toolbox/test/build/trustzone/tmp/7 +[34/72] Performing configure step for 'nonsecure.Debug+CM35P' +-- The C compiler identification is ARMClang 6.22.0 +-- Detecting C compiler ABI info +-- Detecting C compiler ABI info - done +-- Check for working C compiler: C:/tools/ArmCompilerforEmbedded6.22/bin/armclang.exe - skipped +-- Detecting C compile features +-- Detecting C compile features - done +-- Configuring done (14.2s) +-- Generating done (0.1s) +-- Build files have been written to: C:/Sandbox/forked/cmsis-toolbox/test/build/trustzone/tmp/6 +[35/72] Performing configure step for 'secure.Release+CM35P' +-- The C compiler identification is ARMClang 6.22.0 +-- Detecting C compiler ABI info +-- Detecting C compiler ABI info - done +-- Check for working C compiler: C:/tools/ArmCompilerforEmbedded6.22/bin/armclang.exe - skipped +-- Detecting C compile features +-- Detecting C compile features - done +-- Configuring done (14.6s) +-- Generating done (0.1s) +-- Build files have been written to: C:/Sandbox/forked/cmsis-toolbox/test/build/trustzone/tmp/4 +[36/72] Performing configure step for 'nonsecure.Release+CM35P' +-- The C compiler identification is ARMClang 6.22.0 +-- Detecting C compiler ABI info +-- Detecting C compiler ABI info - done +-- Check for working C compiler: C:/tools/ArmCompilerforEmbedded6.22/bin/armclang.exe - skipped +-- Detecting C compile features +-- Detecting C compile features - done +-- Configuring done (15.2s) +-- Generating done (0.1s) +-- Build files have been written to: C:/Sandbox/forked/cmsis-toolbox/test/build/trustzone/tmp/8 +[37/72] Performing configure step for 'secure.Release+CM33' +-- The C compiler identification is ARMClang 6.22.0 +-- Detecting C compiler ABI info +-- Detecting C compiler ABI info - done +-- Check for working C compiler: C:/tools/ArmCompilerforEmbedded6.22/bin/armclang.exe - skipped +-- Detecting C compile features +-- Detecting C compile features - done +-- Configuring done (15.7s) +-- Generating done (0.1s) +-- Build files have been written to: C:/Sandbox/forked/cmsis-toolbox/test/build/trustzone/tmp/3 +[38/72] Performing configure step for 'secure.Debug+CM33' +-- The C compiler identification is ARMClang 6.22.0 +-- Detecting C compiler ABI info +-- Detecting C compiler ABI info - done +-- Check for working C compiler: C:/tools/ArmCompilerforEmbedded6.22/bin/armclang.exe - skipped +-- Detecting C compile features +-- Detecting C compile features - done +-- Configuring done (17.2s) +-- Generating done (0.1s) +-- Build files have been written to: C:/Sandbox/forked/cmsis-toolbox/test/build/trustzone/tmp/1 +[39/72] Performing configure step for 'secure.Debug+CM35P' +-- The C compiler identification is ARMClang 6.22.0 +-- Detecting C compiler ABI info +-- Detecting C compiler ABI info - done +-- Check for working C compiler: C:/tools/ArmCompilerforEmbedded6.22/bin/armclang.exe - skipped +-- Detecting C compile features +-- Detecting C compile features - done +-- Configuring done (17.4s) +-- Generating done (0.1s) +-- Build files have been written to: C:/Sandbox/forked/cmsis-toolbox/test/build/trustzone/tmp/2 +[40/72] Performing build step for 'secure.Release+CM35P' +[1/6] Building C object CMakeFiles/Group_CMSE.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/trustzone/securecode/interface.o +[2/6] Building C object CMakeFiles/Group_Secure_Code.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/trustzone/securecode/main_s.o +[3/6] Building C object CMakeFiles/ARM_Device_Startup_C_Startup_2_1_0.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/trustzone/securecode/RTE/Device/ARMCM35P_DSP_FP_TZ/startup_ARMCM35P.o +[4/6] Building C object CMakeFiles/ARM_Device_Startup_C_Startup_2_1_0.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/trustzone/securecode/RTE/Device/ARMCM35P_DSP_FP_TZ/system_ARMCM35P.o +[5/6] Building C object CMakeFiles/Group_CMSE.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/trustzone/securecode/tz_context.o +[6/6] Linking C executable C:\Sandbox\forked\cmsis-toolbox\test\build\trustzone\out\secure\CM35P\Release\secure.axf +[41/72] Performing build step for 'secure.Release+CM33' +[1/6] Building C object CMakeFiles/Group_Secure_Code.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/trustzone/securecode/main_s.o +[2/6] Building C object CMakeFiles/Group_CMSE.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/trustzone/securecode/interface.o +[3/6] Building C object CMakeFiles/ARM_Device_Startup_C_Startup_2_1_0.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/trustzone/securecode/RTE/Device/ARMCM33_DSP_FP_TZ/startup_ARMCM33.o +[4/6] Building C object CMakeFiles/Group_CMSE.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/trustzone/securecode/tz_context.o +[5/6] Building C object CMakeFiles/ARM_Device_Startup_C_Startup_2_1_0.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/trustzone/securecode/RTE/Device/ARMCM33_DSP_FP_TZ/system_ARMCM33.o +[6/6] Linking C executable C:\Sandbox\forked\cmsis-toolbox\test\build\trustzone\out\secure\CM33\Release\secure.axf +[42/72] No install step for 'secure.Release+CM35P' +[43/72] No install step for 'secure.Release+CM33' +[44/72] No test step for 'secure.Release+CM35P' +[45/72] No test step for 'secure.Release+CM33' +[46/72] Performing configure step for 'nonsecure.Debug+CM33' +-- The C compiler identification is ARMClang 6.22.0 +-- Detecting C compiler ABI info +-- Detecting C compiler ABI info - done +-- Check for working C compiler: C:/tools/ArmCompilerforEmbedded6.22/bin/armclang.exe - skipped +-- Detecting C compile features +-- Detecting C compile features - done +-- Configuring done (18.6s) +-- Generating done (0.1s) +-- Build files have been written to: C:/Sandbox/forked/cmsis-toolbox/test/build/trustzone/tmp/5 +[47/72] Completed 'secure.Release+CM35P' +[48/72] Completed 'secure.Release+CM33' +[49/72] Performing build step for 'secure.Debug+CM33' +[1/6] Building C object CMakeFiles/Group_Secure_Code.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/trustzone/securecode/main_s.o +[2/6] Building C object CMakeFiles/Group_CMSE.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/trustzone/securecode/interface.o +[3/6] Building C object CMakeFiles/ARM_Device_Startup_C_Startup_2_1_0.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/trustzone/securecode/RTE/Device/ARMCM33_DSP_FP_TZ/system_ARMCM33.o +[4/6] Building C object CMakeFiles/ARM_Device_Startup_C_Startup_2_1_0.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/trustzone/securecode/RTE/Device/ARMCM33_DSP_FP_TZ/startup_ARMCM33.o +[5/6] Building C object CMakeFiles/Group_CMSE.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/trustzone/securecode/tz_context.o +[6/6] Linking C executable C:\Sandbox\forked\cmsis-toolbox\test\build\trustzone\out\secure\CM33\Debug\secure.axf +[50/72] Performing build step for 'secure.Debug+CM35P' +[1/6] Building C object CMakeFiles/Group_CMSE.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/trustzone/securecode/interface.o +[2/6] Building C object CMakeFiles/Group_Secure_Code.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/trustzone/securecode/main_s.o +[3/6] Building C object CMakeFiles/ARM_Device_Startup_C_Startup_2_1_0.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/trustzone/securecode/RTE/Device/ARMCM35P_DSP_FP_TZ/startup_ARMCM35P.o +[4/6] Building C object CMakeFiles/ARM_Device_Startup_C_Startup_2_1_0.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/trustzone/securecode/RTE/Device/ARMCM35P_DSP_FP_TZ/system_ARMCM35P.o +[5/6] Building C object CMakeFiles/Group_CMSE.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/trustzone/securecode/tz_context.o +[6/6] Linking C executable C:\Sandbox\forked\cmsis-toolbox\test\build\trustzone\out\secure\CM35P\Debug\secure.axf +[51/72] Performing build step for 'nonsecure.Release+CM33' +[1/6] Building C object CMakeFiles/Group_Non-secure_Code.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/trustzone/nonsecurecode/main_ns.o +[2/6] Building C object CMakeFiles/ARM_Device_Startup_C_Startup_2_1_0.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/trustzone/nonsecurecode/RTE/Device/ARMCM33_DSP_FP_TZ/startup_ARMCM33.o +[3/6] Building C object CMakeFiles/ARM_Device_Startup_C_Startup_2_1_0.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/trustzone/nonsecurecode/RTE/Device/ARMCM33_DSP_FP_TZ/system_ARMCM33.o +[4/6] Building C object CMakeFiles/ARM_CMSIS_RTOS2_Keil_RTX5_Library_NS_5_5_4.dir/C_/Users/soumeh01/AppData/Local/Arm/Packs/ARM/CMSIS/5.9.0/CMSIS/RTOS2/RTX/Source/rtx_lib.o +[5/6] Building C object CMakeFiles/ARM_CMSIS_RTOS2_Keil_RTX5_Library_NS_5_5_4.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/trustzone/nonsecurecode/RTE/CMSIS/RTX_Config.o +[6/6] Linking C executable C:\Sandbox\forked\cmsis-toolbox\test\build\trustzone\out\nonsecure\CM33\Release\nonsecure.axf +"C:/Sandbox/forked/cmsis-toolbox/test/build/trustzone/nonsecurecode/RTE/Device/ARMCM33_DSP_FP_TZ/ARMCM33_ac6_s.sct", line 42 (column 6): Warning: L6314W: No section matches pattern *(Veneer$$CMSE). +Finished: 0 information, 1 warning and 0 error messages. +[52/72] No install step for 'secure.Debug+CM33' +[53/72] No install step for 'secure.Debug+CM35P' +[54/72] Performing build step for 'nonsecure.Release+CM35P' +[1/6] Building C object CMakeFiles/Group_Non-secure_Code.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/trustzone/nonsecurecode/main_ns.o +[2/6] Building C object CMakeFiles/ARM_CMSIS_RTOS2_Keil_RTX5_Library_NS_5_5_4.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/trustzone/nonsecurecode/RTE/CMSIS/RTX_Config.o +[3/6] Building C object CMakeFiles/ARM_Device_Startup_C_Startup_2_1_0.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/trustzone/nonsecurecode/RTE/Device/ARMCM35P_DSP_FP_TZ/system_ARMCM35P.o +[4/6] Building C object CMakeFiles/ARM_CMSIS_RTOS2_Keil_RTX5_Library_NS_5_5_4.dir/C_/Users/soumeh01/AppData/Local/Arm/Packs/ARM/CMSIS/5.9.0/CMSIS/RTOS2/RTX/Source/rtx_lib.o +[5/6] Building C object CMakeFiles/ARM_Device_Startup_C_Startup_2_1_0.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/trustzone/nonsecurecode/RTE/Device/ARMCM35P_DSP_FP_TZ/startup_ARMCM35P.o +[6/6] Linking C executable C:\Sandbox\forked\cmsis-toolbox\test\build\trustzone\out\nonsecure\CM35P\Release\nonsecure.axf +"C:/Sandbox/forked/cmsis-toolbox/test/build/trustzone/nonsecurecode/RTE/Device/ARMCM35P_DSP_FP_TZ/ARMCM35P_ac6_s.sct", line 42 (column 6): Warning: L6314W: No section matches pattern *(Veneer$$CMSE). +Finished: 0 information, 1 warning and 0 error messages. +[55/72] No install step for 'nonsecure.Release+CM33' +[56/72] No test step for 'secure.Debug+CM33' +[57/72] No install step for 'nonsecure.Release+CM35P' +[58/72] No test step for 'secure.Debug+CM35P' +[59/72] No test step for 'nonsecure.Release+CM33' +[60/72] No test step for 'nonsecure.Release+CM35P' +[61/72] Completed 'secure.Debug+CM33' +[62/72] Completed 'secure.Debug+CM35P' +[63/72] Completed 'nonsecure.Release+CM33' +[64/72] Completed 'nonsecure.Release+CM35P' +[65/72] Performing build step for 'nonsecure.Debug+CM35P' +[1/6] Building C object CMakeFiles/ARM_CMSIS_RTOS2_Keil_RTX5_Library_NS_5_5_4.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/trustzone/nonsecurecode/RTE/CMSIS/RTX_Config.o +[2/6] Building C object CMakeFiles/ARM_CMSIS_RTOS2_Keil_RTX5_Library_NS_5_5_4.dir/C_/Users/soumeh01/AppData/Local/Arm/Packs/ARM/CMSIS/5.9.0/CMSIS/RTOS2/RTX/Source/rtx_lib.o +[3/6] Building C object CMakeFiles/Group_Non-secure_Code.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/trustzone/nonsecurecode/main_ns.o +[4/6] Building C object CMakeFiles/ARM_Device_Startup_C_Startup_2_1_0.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/trustzone/nonsecurecode/RTE/Device/ARMCM35P_DSP_FP_TZ/startup_ARMCM35P.o +[5/6] Building C object CMakeFiles/ARM_Device_Startup_C_Startup_2_1_0.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/trustzone/nonsecurecode/RTE/Device/ARMCM35P_DSP_FP_TZ/system_ARMCM35P.o +[6/6] Linking C executable C:\Sandbox\forked\cmsis-toolbox\test\build\trustzone\out\nonsecure\CM35P\Debug\nonsecure.axf +"C:/Sandbox/forked/cmsis-toolbox/test/build/trustzone/nonsecurecode/RTE/Device/ARMCM35P_DSP_FP_TZ/ARMCM35P_ac6_s.sct", line 42 (column 6): Warning: L6314W: No section matches pattern *(Veneer$$CMSE). +Finished: 0 information, 1 warning and 0 error messages. +[66/72] Performing build step for 'nonsecure.Debug+CM33' +[1/6] Building C object CMakeFiles/ARM_CMSIS_RTOS2_Keil_RTX5_Library_NS_5_5_4.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/trustzone/nonsecurecode/RTE/CMSIS/RTX_Config.o +[2/6] Building C object CMakeFiles/Group_Non-secure_Code.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/trustzone/nonsecurecode/main_ns.o +[3/6] Building C object CMakeFiles/ARM_CMSIS_RTOS2_Keil_RTX5_Library_NS_5_5_4.dir/C_/Users/soumeh01/AppData/Local/Arm/Packs/ARM/CMSIS/5.9.0/CMSIS/RTOS2/RTX/Source/rtx_lib.o +[4/6] Building C object CMakeFiles/ARM_Device_Startup_C_Startup_2_1_0.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/trustzone/nonsecurecode/RTE/Device/ARMCM33_DSP_FP_TZ/startup_ARMCM33.o +[5/6] Building C object CMakeFiles/ARM_Device_Startup_C_Startup_2_1_0.dir/C_/Sandbox/forked/cmsis-toolbox/test/build/trustzone/nonsecurecode/RTE/Device/ARMCM33_DSP_FP_TZ/system_ARMCM33.o +[6/6] Linking C executable C:\Sandbox\forked\cmsis-toolbox\test\build\trustzone\out\nonsecure\CM33\Debug\nonsecure.axf +"C:/Sandbox/forked/cmsis-toolbox/test/build/trustzone/nonsecurecode/RTE/Device/ARMCM33_DSP_FP_TZ/ARMCM33_ac6_s.sct", line 42 (column 6): Warning: L6314W: No section matches pattern *(Veneer$$CMSE). +Finished: 0 information, 1 warning and 0 error messages. +[67/72] No install step for 'nonsecure.Debug+CM35P' +[68/72] No install step for 'nonsecure.Debug+CM33' +[69/72] No test step for 'nonsecure.Debug+CM35P' +[70/72] No test step for 'nonsecure.Debug+CM33' +[71/72] Completed 'nonsecure.Debug+CM35P' +[72/72] Completed 'nonsecure.Debug+CM33' +info cbuild: build finished successfully! + +Build summary: Build completed successfully - Time Elapsed: 00:00:30 +StdOut: ${result.stdout} +Logs the given messages as separate entries using the INFO level. + + + +${ret_code} + + +${ret_code} = 0 +${ret_code} +cbuild +${input_file} +@{args} +Run specified executable with arguments + + + +${ret_code} + + +${ret_code} = 0 +${ret_code} +${input_file} +${ex_args} +Run cbuild with specified arguments + + + +${ret_code} +${expect} +msg=Unexpected status returned by cbuild2cmake execution +Fails if the given objects are unequal. + + +${input_file} +${expect} +${args} +Run the csolution project with cbuild2cmake + + + +${parent_path} = C:\Sandbox\forked\cmsis-toolbox\test\build\trustzone +${parent_path} +${input_file} + + + + +Running Command: c b u i l d l i s t c o n t e x t s C : \ S a n d b o x \ f o r k e d \ c m s i s - t o o l b o x \ t e s t \ b u i l d \ t r u s t z o n e \ s o l u t i o n . c s o l u t i o n . y m l +Processing context: nonsecure.Debug+CM33 +basePath: C:\Sandbox\forked\cmsis-toolbox\test\build\trustzone\out_dir\out +Path: nonsecure/CM33/Debug/nonsecure.axf +Running Command: f r o m e l f C : \ S a n d b o x \ f o r k e d \ c m s i s - t o o l b o x \ t e s t \ b u i l d \ t r u s t z o n e \ o u t _ d i r \ o u t \ n o n s e c u r e / C M 3 3 / D e b u g / n o n s e c u r e . a x f - z +Running Command: f r o m e l f C : \ S a n d b o x \ f o r k e d \ c m s i s - t o o l b o x \ t e s t \ b u i l d \ t r u s t z o n e \ o u t \ n o n s e c u r e / C M 3 3 / D e b u g / n o n s e c u r e . a x f - z +Object Info +======================================================================== + +** Object/Image Component Sizes + + Code (inc. data) RO Data RW Data ZI Data Debug Object Name + + 7184 234 2336 168 37740 138636 C:\Sandbox\forked\cmsis-toolbox\test\build\trustzone\out_dir\out\nonsecure/CM33/Debug/nonsecure.axf + 0 0 4 0 0 0 (incl. padding) + 7184 234 2336 168 0 0 ROM Totals for C:\Sandbox\forked\cmsis-toolbox\test\build\trustzone\out_dir\out\nonsecure/CM33/Debug/nonsecure.axf + +Object Info +======================================================================== + +** Object/Image Component Sizes + + Code (inc. data) RO Data RW Data ZI Data Debug Object Name + + 7184 234 2336 168 37740 138501 C:\Sandbox\forked\cmsis-toolbox\test\build\trustzone\out\nonsecure/CM33/Debug/nonsecure.axf + 0 0 4 0 0 0 (incl. padding) + 7184 234 2336 168 0 0 ROM Totals for C:\Sandbox\forked\cmsis-toolbox\test\build\trustzone\out\nonsecure/CM33/Debug/nonsecure.axf + +Processing context: nonsecure.Debug+CM35P +basePath: C:\Sandbox\forked\cmsis-toolbox\test\build\trustzone\out_dir\out +Path: nonsecure/CM35P/Debug/nonsecure.axf +Running Command: f r o m e l f C : \ S a n d b o x \ f o r k e d \ c m s i s - t o o l b o x \ t e s t \ b u i l d \ t r u s t z o n e \ o u t _ d i r \ o u t \ n o n s e c u r e / C M 3 5 P / D e b u g / n o n s e c u r e . a x f - z +Running Command: f r o m e l f C : \ S a n d b o x \ f o r k e d \ c m s i s - t o o l b o x \ t e s t \ b u i l d \ t r u s t z o n e \ o u t \ n o n s e c u r e / C M 3 5 P / D e b u g / n o n s e c u r e . a x f - z +Object Info +======================================================================== + +** Object/Image Component Sizes + + Code (inc. data) RO Data RW Data ZI Data Debug Object Name + + 7184 234 2336 168 37740 138653 C:\Sandbox\forked\cmsis-toolbox\test\build\trustzone\out_dir\out\nonsecure/CM35P/Debug/nonsecure.axf + 0 0 4 0 0 0 (incl. padding) + 7184 234 2336 168 0 0 ROM Totals for C:\Sandbox\forked\cmsis-toolbox\test\build\trustzone\out_dir\out\nonsecure/CM35P/Debug/nonsecure.axf + +Object Info +======================================================================== + +** Object/Image Component Sizes + + Code (inc. data) RO Data RW Data ZI Data Debug Object Name + + 7184 234 2336 168 37740 138513 C:\Sandbox\forked\cmsis-toolbox\test\build\trustzone\out\nonsecure/CM35P/Debug/nonsecure.axf + 0 0 4 0 0 0 (incl. padding) + 7184 234 2336 168 0 0 ROM Totals for C:\Sandbox\forked\cmsis-toolbox\test\build\trustzone\out\nonsecure/CM35P/Debug/nonsecure.axf + +Processing context: nonsecure.Release+CM33 +basePath: C:\Sandbox\forked\cmsis-toolbox\test\build\trustzone\out_dir\out +Path: nonsecure/CM33/Release/nonsecure.axf +Running Command: f r o m e l f C : \ S a n d b o x \ f o r k e d \ c m s i s - t o o l b o x \ t e s t \ b u i l d \ t r u s t z o n e \ o u t _ d i r \ o u t \ n o n s e c u r e / C M 3 3 / R e l e a s e / n o n s e c u r e . a x f - z +Running Command: f r o m e l f C : \ S a n d b o x \ f o r k e d \ c m s i s - t o o l b o x \ t e s t \ b u i l d \ t r u s t z o n e \ o u t \ n o n s e c u r e / C M 3 3 / R e l e a s e / n o n s e c u r e . a x f - z +Object Info +======================================================================== + +** Object/Image Component Sizes + + Code (inc. data) RO Data RW Data ZI Data Debug Object Name + + 7204 234 2332 168 37740 122528 C:\Sandbox\forked\cmsis-toolbox\test\build\trustzone\out_dir\out\nonsecure/CM33/Release/nonsecure.axf + 7204 234 2332 168 0 0 ROM Totals for C:\Sandbox\forked\cmsis-toolbox\test\build\trustzone\out_dir\out\nonsecure/CM33/Release/nonsecure.axf + +Object Info +======================================================================== + +** Object/Image Component Sizes + + Code (inc. data) RO Data RW Data ZI Data Debug Object Name + + 7204 234 2332 168 37740 122528 C:\Sandbox\forked\cmsis-toolbox\test\build\trustzone\out\nonsecure/CM33/Release/nonsecure.axf + 7204 234 2332 168 0 0 ROM Totals for C:\Sandbox\forked\cmsis-toolbox\test\build\trustzone\out\nonsecure/CM33/Release/nonsecure.axf + +Processing context: nonsecure.Release+CM35P +basePath: C:\Sandbox\forked\cmsis-toolbox\test\build\trustzone\out_dir\out +Path: nonsecure/CM35P/Release/nonsecure.axf +Running Command: f r o m e l f C : \ S a n d b o x \ f o r k e d \ c m s i s - t o o l b o x \ t e s t \ b u i l d \ t r u s t z o n e \ o u t _ d i r \ o u t \ n o n s e c u r e / C M 3 5 P / R e l e a s e / n o n s e c u r e . a x f - z +Running Command: f r o m e l f C : \ S a n d b o x \ f o r k e d \ c m s i s - t o o l b o x \ t e s t \ b u i l d \ t r u s t z o n e \ o u t \ n o n s e c u r e / C M 3 5 P / R e l e a s e / n o n s e c u r e . a x f - z +Object Info +======================================================================== + +** Object/Image Component Sizes + + Code (inc. data) RO Data RW Data ZI Data Debug Object Name + + 7204 234 2332 168 37740 122528 C:\Sandbox\forked\cmsis-toolbox\test\build\trustzone\out_dir\out\nonsecure/CM35P/Release/nonsecure.axf + 7204 234 2332 168 0 0 ROM Totals for C:\Sandbox\forked\cmsis-toolbox\test\build\trustzone\out_dir\out\nonsecure/CM35P/Release/nonsecure.axf + +Object Info +======================================================================== + +** Object/Image Component Sizes + + Code (inc. data) RO Data RW Data ZI Data Debug Object Name + + 7204 234 2332 168 37740 122528 C:\Sandbox\forked\cmsis-toolbox\test\build\trustzone\out\nonsecure/CM35P/Release/nonsecure.axf + 7204 234 2332 168 0 0 ROM Totals for C:\Sandbox\forked\cmsis-toolbox\test\build\trustzone\out\nonsecure/CM35P/Release/nonsecure.axf + +Processing context: secure.Debug+CM33 +basePath: C:\Sandbox\forked\cmsis-toolbox\test\build\trustzone\out_dir\out +Path: secure/CM33/Debug/secure.axf +Running Command: f r o m e l f C : \ S a n d b o x \ f o r k e d \ c m s i s - t o o l b o x \ t e s t \ b u i l d \ t r u s t z o n e \ o u t _ d i r \ o u t \ s e c u r e / C M 3 3 / D e b u g / s e c u r e . a x f - z +Running Command: f r o m e l f C : \ S a n d b o x \ f o r k e d \ c m s i s - t o o l b o x \ t e s t \ b u i l d \ t r u s t z o n e \ o u t \ s e c u r e / C M 3 3 / D e b u g / s e c u r e . a x f - z +Object Info +======================================================================== + +** Object/Image Component Sizes + + Code (inc. data) RO Data RW Data ZI Data Debug Object Name + + 1280 16 2000 4 3592 8981 C:\Sandbox\forked\cmsis-toolbox\test\build\trustzone\out_dir\out\secure/CM33/Debug/secure.axf + 1280 16 2000 4 0 0 ROM Totals for C:\Sandbox\forked\cmsis-toolbox\test\build\trustzone\out_dir\out\secure/CM33/Debug/secure.axf + +Object Info +======================================================================== + +** Object/Image Component Sizes + + Code (inc. data) RO Data RW Data ZI Data Debug Object Name + + 1280 16 2000 4 3592 8861 C:\Sandbox\forked\cmsis-toolbox\test\build\trustzone\out\secure/CM33/Debug/secure.axf + 1280 16 2000 4 0 0 ROM Totals for C:\Sandbox\forked\cmsis-toolbox\test\build\trustzone\out\secure/CM33/Debug/secure.axf + +Processing context: secure.Debug+CM35P +basePath: C:\Sandbox\forked\cmsis-toolbox\test\build\trustzone\out_dir\out +Path: secure/CM35P/Debug/secure.axf +Running Command: f r o m e l f C : \ S a n d b o x \ f o r k e d \ c m s i s - t o o l b o x \ t e s t \ b u i l d \ t r u s t z o n e \ o u t _ d i r \ o u t \ s e c u r e / C M 3 5 P / D e b u g / s e c u r e . a x f - z +Running Command: f r o m e l f C : \ S a n d b o x \ f o r k e d \ c m s i s - t o o l b o x \ t e s t \ b u i l d \ t r u s t z o n e \ o u t \ s e c u r e / C M 3 5 P / D e b u g / s e c u r e . a x f - z +Object Info +======================================================================== + +** Object/Image Component Sizes + + Code (inc. data) RO Data RW Data ZI Data Debug Object Name + + 1280 16 2000 4 3592 8998 C:\Sandbox\forked\cmsis-toolbox\test\build\trustzone\out_dir\out\secure/CM35P/Debug/secure.axf + 1280 16 2000 4 0 0 ROM Totals for C:\Sandbox\forked\cmsis-toolbox\test\build\trustzone\out_dir\out\secure/CM35P/Debug/secure.axf + +Object Info +======================================================================== + +** Object/Image Component Sizes + + Code (inc. data) RO Data RW Data ZI Data Debug Object Name + + 1280 16 2000 4 3592 8873 C:\Sandbox\forked\cmsis-toolbox\test\build\trustzone\out\secure/CM35P/Debug/secure.axf + 1280 16 2000 4 0 0 ROM Totals for C:\Sandbox\forked\cmsis-toolbox\test\build\trustzone\out\secure/CM35P/Debug/secure.axf + +Processing context: secure.Release+CM33 +basePath: C:\Sandbox\forked\cmsis-toolbox\test\build\trustzone\out_dir\out +Path: secure/CM33/Release/secure.axf +Running Command: f r o m e l f C : \ S a n d b o x \ f o r k e d \ c m s i s - t o o l b o x \ t e s t \ b u i l d \ t r u s t z o n e \ o u t _ d i r \ o u t \ s e c u r e / C M 3 3 / R e l e a s e / s e c u r e . a x f - z +Running Command: f r o m e l f C : \ S a n d b o x \ f o r k e d \ c m s i s - t o o l b o x \ t e s t \ b u i l d \ t r u s t z o n e \ o u t \ s e c u r e / C M 3 3 / R e l e a s e / s e c u r e . a x f - z +Object Info +======================================================================== + +** Object/Image Component Sizes + + Code (inc. data) RO Data RW Data ZI Data Debug Object Name + + 1284 16 2000 4 3592 736 C:\Sandbox\forked\cmsis-toolbox\test\build\trustzone\out_dir\out\secure/CM33/Release/secure.axf + 1284 16 2000 4 0 0 ROM Totals for C:\Sandbox\forked\cmsis-toolbox\test\build\trustzone\out_dir\out\secure/CM33/Release/secure.axf + +Object Info +======================================================================== + +** Object/Image Component Sizes + + Code (inc. data) RO Data RW Data ZI Data Debug Object Name + + 1284 16 2000 4 3592 736 C:\Sandbox\forked\cmsis-toolbox\test\build\trustzone\out\secure/CM33/Release/secure.axf + 1284 16 2000 4 0 0 ROM Totals for C:\Sandbox\forked\cmsis-toolbox\test\build\trustzone\out\secure/CM33/Release/secure.axf + +Processing context: secure.Release+CM35P +basePath: C:\Sandbox\forked\cmsis-toolbox\test\build\trustzone\out_dir\out +Path: secure/CM35P/Release/secure.axf +Running Command: f r o m e l f C : \ S a n d b o x \ f o r k e d \ c m s i s - t o o l b o x \ t e s t \ b u i l d \ t r u s t z o n e \ o u t _ d i r \ o u t \ s e c u r e / C M 3 5 P / R e l e a s e / s e c u r e . a x f - z +Running Command: f r o m e l f C : \ S a n d b o x \ f o r k e d \ c m s i s - t o o l b o x \ t e s t \ b u i l d \ t r u s t z o n e \ o u t \ s e c u r e / C M 3 5 P / R e l e a s e / s e c u r e . a x f - z +Object Info +======================================================================== + +** Object/Image Component Sizes + + Code (inc. data) RO Data RW Data ZI Data Debug Object Name + + 1284 16 2000 4 3592 736 C:\Sandbox\forked\cmsis-toolbox\test\build\trustzone\out_dir\out\secure/CM35P/Release/secure.axf + 1284 16 2000 4 0 0 ROM Totals for C:\Sandbox\forked\cmsis-toolbox\test\build\trustzone\out_dir\out\secure/CM35P/Release/secure.axf + +Object Info +======================================================================== + +** Object/Image Component Sizes + + Code (inc. data) RO Data RW Data ZI Data Debug Object Name + + 1284 16 2000 4 3592 736 C:\Sandbox\forked\cmsis-toolbox\test\build\trustzone\out\secure/CM35P/Release/secure.axf + 1284 16 2000 4 0 0 ROM Totals for C:\Sandbox\forked\cmsis-toolbox\test\build\trustzone\out\secure/CM35P/Release/secure.axf + +${input_file} +${parent_path}${/}${Out_Dir}${/}${Default_Out_Dir} +${parent_path}${/}${Default_Out_Dir} + + +Returning from the enclosing user keyword. +${result} +Compare Elf Information +${input_file} +${parent_path}${/}${Out_Dir}${/}${Default_Out_Dir} +${parent_path}${/}${Default_Out_Dir} +Runs the specified keyword and returns from the enclosing user keyword. + + + +${result} +Fails if the given condition is not true. + + +${TEST_DATA_DIR}${/}${trustzone}${/}solution.csolution.yml +${Pass} + + + + + + + + +Starting process: +chmod -R 755 C:\Sandbox\forked\cmsis-toolbox\test\build +Waiting for process to complete. +Process completed. +${result} = <result object with rc 0> +${result} +chmod +-R +755 +${target_dir} +Runs a process and waits for it to complete. + + + +${result.rc} +${0} +Fails if the given objects are unequal. + + +${target_dir} +Change directory permissions + + + +Removed directory '<a href="file://C:\Sandbox\forked\cmsis-toolbox\test\build">C:\Sandbox\forked\cmsis-toolbox\test\build</a>'. +${target_dir} +recursive=${True} +Removes the directory pointed to by the given ``path``. + + + +'<a href="file://C:\Sandbox\forked\cmsis-toolbox\test\build">C:\Sandbox\forked\cmsis-toolbox\test\build</a>' was removed. +${target_dir} +timeout=5 seconds +Waits until the given file or directory is removed. + + +${TEST_DATA_DIR} +Remove directory and its content from target directory + + + + +Tests to compile & execute local csolution examples + + + + +All Tests + + + + +Local Example Tests + + + + + diff --git a/report/report.html b/report/report.html new file mode 100644 index 0000000..ade3bc6 --- /dev/null +++ b/report/report.html @@ -0,0 +1,2745 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+

Opening Robot Framework report failed

+ +
+ +
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/vcpkg-configuration.json b/test/vcpkg-configuration.json index 72b29dd..0d79ec5 100644 --- a/test/vcpkg-configuration.json +++ b/test/vcpkg-configuration.json @@ -7,14 +7,14 @@ }, { "kind": "artifact", - "location": "https://artifacts.tools.arm.com/vcpkg-ce-registry/registry.zip", + "location": "https://artifacts.tools.arm.com/vcpkg-registry", "name": "arm" } ], "requires": { "microsoft:cmake": "^3.25.2", "microsoft:ninja": "^1.10.2", - "arm:compilers/arm/armclang":"^6.21.0", + "arm:compilers/arm/armclang":"^6.20.0", "arm:compilers/arm/arm-none-eabi-gcc": "^13.2.1", "arm:tools/open-cmsis-pack/cmsis-toolbox": "^2.3.0", "arm:compilers/arm/llvm-embedded": "^17.0.1"