Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/GPR-example.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
run: |
FVP_Corstone_SSE-300 \
-a ./GPR/example/mdk/out/GPR_Example/AN552_ACI/GPR_Example.axf \
--plugin ./CDE_Utils/Linux64/GCC_10.3/CDELoader.so \
--plugin $AVH_FVP_PLUGINS/CDELoader.so \
-C cpu0.has_cde=1 \
-C mps3_board.telnetterminal0.start_telnet=0 \
-C mps3_board.uart0.out_file=- \
Expand Down
63 changes: 63 additions & 0 deletions .github/workflows/GPR-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
name: GPR test
on:
workflow_dispatch:
workflow_run:
workflows: ["Build CDE plugins for Linux x86_64"]
types:
- completed

permissions: write-all

jobs:
build:
runs-on: ubuntu-22.04

steps:
- name: Checkout repository
uses: actions/checkout@v4

# Activate the package manager and install the required build tools
- name: Activate vcpkg
uses: ARM-software/cmsis-actions/vcpkg@v1
with:
config: "./vcpkg-configuration.json"

- name: Activate Arm tool license
uses: ARM-software/cmsis-actions/armlm@v1

- name: Build the GPR_Test application
run: |
cbuild ./GPR/test/mdk/GPR_Test.csolution.yml --packs --context .+AN552_ACI --rebuild

# Upload the generated GPR_Example.axf binary as ACI-GPR-Test.axf artifact.
# Set the maximum retention period of 90 days.
- name: Upload the GPR_Test axf binary
uses: actions/upload-artifact@v4
with:
name: ACI-GPR-Test.axf
path: GPR/test/mdk/out/GPR_Test/AN552_ACI/GPR_Test.axf
retention-days: 90

# Download the GPR plugin artifact
- name: Download the GPR plugin
uses: actions/download-artifact@v4
with:
run-id: ${{ github.event.workflow_run.id }}
github-token: ${{ github.token }}
name: cde_plugin_aci_gpr-linux_x86_64.so
path: GPR/plugin/build/

# Execute the GPR test with AVH-Model and GPR plugin
- name: Execute the GPR Test
run: |
FVP_Corstone_SSE-300 \
-a ./GPR/test/mdk/out/GPR_Test/AN552_ACI/GPR_Test.axf \
--plugin $AVH_FVP_PLUGINS/CDELoader.so \
-C cpu0.has_cde=1 \
-C mps3_board.telnetterminal0.start_telnet=0 \
-C mps3_board.uart0.out_file=- \
-C cpu0.cde_impl_name="ACI GPR Library" \
-C CDE.CDELoader.aci_object_files="[./GPR/plugin/build/cde_plugin.so]" \
-C CDE.CDELoader.aci_parameters="COPRO=1" \
-C core_clk.mul=10000000 \
--simlimit 300 --stat
2 changes: 1 addition & 1 deletion .github/workflows/MVE-example.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
run: |
FVP_Corstone_SSE-300 \
-a ./MVE/example/mdk/out/MVE_Example/AN552_ACI/MVE_Example.axf \
--plugin ./CDE_Utils/Linux64/GCC_10.3/CDELoader.so \
--plugin $AVH_FVP_PLUGINS/CDELoader.so \
-C cpu0.has_cde=1 \
-C mps3_board.telnetterminal0.start_telnet=0 \
-C mps3_board.uart0.out_file=- \
Expand Down
63 changes: 63 additions & 0 deletions .github/workflows/MVE-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
name: MVE test
on:
workflow_dispatch:
workflow_run:
workflows: ["Build CDE plugins for Linux x86_64"]
types:
- completed

permissions: write-all

jobs:
build:
runs-on: ubuntu-22.04

steps:
- name: Checkout repository
uses: actions/checkout@v4

# Activate the package manager and install the required build tools
- name: Activate vcpkg
uses: ARM-software/cmsis-actions/vcpkg@v1
with:
config: "./vcpkg-configuration.json"

- name: Activate Arm tool license
uses: ARM-software/cmsis-actions/armlm@v1

- name: Build the MVE_Test application
run: |
cbuild ./MVE/test/mdk/MVE_Test.csolution.yml --packs --context .+AN552_ACI --rebuild

# Upload the generated MVE_Test.axf binary as ACI-MVE-Test.axf artifact.
# Set the maximum retention period of 90 days.
- name: Upload the MVE_Test axf binary
uses: actions/upload-artifact@v4
with:
name: ACI-MVE-Test.axf
path: MVE/test/mdk/out/MVE_Test/AN552_ACI/MVE_Test.axf
retention-days: 90

# Download the MVE plugin artifact
- name: Download the MVE plugin
uses: actions/download-artifact@v4
with:
run-id: ${{ github.event.workflow_run.id }}
github-token: ${{ github.token }}
name: cde_plugin_aci_mve-linux_x86_64.so
path: MVE/plugin/build/

# Execute the MVE example with AVH-Model and MVE plugin
- name: Execute the MVE example
run: |
FVP_Corstone_SSE-300 \
-a ./MVE/test/mdk/out/MVE_Test/AN552_ACI/MVE_Test.axf \
--plugin $AVH_FVP_PLUGINS/CDELoader.so \
-C cpu0.has_cde=1 \
-C mps3_board.telnetterminal0.start_telnet=0 \
-C mps3_board.uart0.out_file=- \
-C cpu0.cde_impl_name="ARM_2D_RGB565_ACI" \
-C CDE.CDELoader.aci_object_files="[./MVE/plugin/build/cde_plugin.so]" \
-C CDE.CDELoader.aci_parameters="COPRO=1" \
-C core_clk.mul=10000000 \
--simlimit 300 --stat
16 changes: 16 additions & 0 deletions GPR/example/mdk/RTE/Device/SSE-300-MPS3/CM55.dbgconf
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
// Copyright (c) 2024 Arm Limited. All rights reserved.
// SPDX-License-Identifier: Apache-2.0

// <<< Use Configuration Wizard in Context Menu >>>

// <e> Fixed Debug Authentication
// <i> Use a fixed value for Debug Authentication. Only secure debug authentication configurable.
DAuthFixed = 0x1;

// <q.2> Secure Invasive Debug
// <q.3> Secure Non-Invasive Debug
DAuthConfig = 0xF;

// </e>

// <<< end of configuration section >>>
16 changes: 16 additions & 0 deletions GPR/example/mdk/RTE/Device/SSE-300-MPS3/[email protected]
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
// Copyright (c) 2024 Arm Limited. All rights reserved.
// SPDX-License-Identifier: Apache-2.0

// <<< Use Configuration Wizard in Context Menu >>>

// <e> Fixed Debug Authentication
// <i> Use a fixed value for Debug Authentication. Only secure debug authentication configurable.
DAuthFixed = 0x1;

// <q.2> Secure Invasive Debug
// <q.3> Secure Non-Invasive Debug
DAuthConfig = 0xF;

// </e>

// <<< end of configuration section >>>
16 changes: 0 additions & 16 deletions GPR/example/mdk/RTE/_AN552_ACI/Pre_Include_Global.h

This file was deleted.

32 changes: 0 additions & 32 deletions GPR/example/mdk/RTE/_AN552_ACI/RTE_Components.h

This file was deleted.

47 changes: 47 additions & 0 deletions GPR/test/mdk/RTE/CMSIS-View/[email protected]
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
/*
* Copyright (c) 2016-2021 Arm Limited. All rights reserved.
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed under the Apache License, Version 2.0 (the License); you may
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an AS IS BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* Name: EventRecorderConf.h
* Purpose: Event Recorder software component configuration options
* Rev.: V1.1.0
*/

//-------- <<< Use Configuration Wizard in Context Menu >>> --------------------

// <h>Event Recorder

// <o>Number of Records
// <8=>8 <16=>16 <32=>32 <64=>64 <128=>128 <256=>256 <512=>512 <1024=>1024
// <2048=>2048 <4096=>4096 <8192=>8192 <16384=>16384 <32768=>32768
// <65536=>65536
// <i>Configures size of Event Record Buffer (each record is 16 bytes)
// <i>Must be 2^n (min=8, max=65536)
#define EVENT_RECORD_COUNT 64U

// <o>Time Stamp Source
// <0=> DWT Cycle Counter <1=> SysTick <2=> CMSIS-RTOS2 System Timer
// <3=> User Timer (Normal Reset) <4=> User Timer (Power-On Reset)
// <i>Selects source for 32-bit time stamp
#define EVENT_TIMESTAMP_SOURCE 0

// <o>Time Stamp Clock Frequency [Hz] <0-1000000000>
// <i>Defines initial time stamp clock frequency (0 when not used)
#define EVENT_TIMESTAMP_FREQ 0U

// </h>

//------------- <<< end of configuration section >>> ---------------------------
Loading