-
Notifications
You must be signed in to change notification settings - Fork 56
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[devtools] Add support for trustzone mode
secure-only
- Loading branch information
Showing
13 changed files
with
136 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
80 changes: 80 additions & 0 deletions
80
...rojmgr/test/data/TestSolution/DeviceAttributes/ref/trustzone.Debug+secure-only.cbuild.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,80 @@ | ||
build: | ||
generated-by: csolution version 0.0.0+g756bffa0 | ||
solution: ../data/TestSolution/DeviceAttributes/solution.csolution.yml | ||
project: ../data/TestSolution/DeviceAttributes/trustzone/trustzone.cproject.yml | ||
context: trustzone.Debug+secure-only | ||
compiler: AC6 | ||
device: RteTest_ARMCM0 | ||
device-pack: ARM::[email protected] | ||
processor: | ||
fpu: off | ||
trustzone: secure-only | ||
core: Cortex-M0 | ||
packs: | ||
- pack: ARM::[email protected] | ||
path: ${CMSIS_PACK_ROOT}/ARM/RteTest_DFP/0.2.0 | ||
define: | ||
- ARMCM0 | ||
- _RTE_ | ||
define-asm: | ||
- ARMCM0 | ||
- _RTE_ | ||
add-path: | ||
- ../data/TestSolution/DeviceAttributes/trustzone/RTE/_Debug_secure-only | ||
- ${CMSIS_PACK_ROOT}/ARM/RteTest_DFP/0.2.0/Device/ARM/ARMCM0/Include | ||
add-path-asm: | ||
- ../data/TestSolution/DeviceAttributes/trustzone/RTE/_Debug_secure-only | ||
- ${CMSIS_PACK_ROOT}/ARM/RteTest_DFP/0.2.0/Device/ARM/ARMCM0/Include | ||
output-dirs: | ||
intdir: tmp/trustzone/secure-only/Debug | ||
outdir: out/trustzone/secure-only/Debug | ||
rtedir: ../data/TestSolution/DeviceAttributes/trustzone/RTE | ||
output: | ||
- type: elf | ||
file: trustzone.axf | ||
components: | ||
- component: ARM::Device:Startup&RteTest [email protected] | ||
condition: ARMCM0 RteTest | ||
from-pack: ARM::[email protected] | ||
selected-by: Startup | ||
files: | ||
- file: ${CMSIS_PACK_ROOT}/ARM/RteTest_DFP/0.2.0/Device/ARM/ARMCM0/Include/ARMCM0.h | ||
category: header | ||
version: 2.0.3 | ||
- file: ${CMSIS_PACK_ROOT}/ARM/RteTest_DFP/0.2.0/https:/arm-software.github.io/CMSIS_5/Core_A/html/startup_c_pg.html | ||
category: doc | ||
version: 2.0.3 | ||
- file: ../data/TestSolution/DeviceAttributes/trustzone/RTE/Device/RteTest_ARMCM0/ARMCM0_ac6.sct | ||
category: linkerScript | ||
attr: config | ||
version: 1.0.0 | ||
- file: ../data/TestSolution/DeviceAttributes/trustzone/RTE/Device/RteTest_ARMCM0/startup_ARMCM0.c | ||
category: sourceC | ||
attr: config | ||
version: 2.0.3 | ||
- file: ../data/TestSolution/DeviceAttributes/trustzone/RTE/Device/RteTest_ARMCM0/system_ARMCM0.c | ||
category: sourceC | ||
attr: config | ||
version: 1.0.0 | ||
- component: ARM::RteTest:[email protected] | ||
condition: Cortex-M Device | ||
from-pack: ARM::[email protected] | ||
selected-by: CORE | ||
files: | ||
- file: ${CMSIS_PACK_ROOT}/ARM/RteTest_DFP/0.2.0/Doc/html/index.html | ||
category: doc | ||
version: 0.1.1 | ||
linker: | ||
script: ../data/TestSolution/DeviceAttributes/trustzone/RTE/Device/RteTest_ARMCM0/ARMCM0_ac6.sct | ||
constructed-files: | ||
- file: ../data/TestSolution/DeviceAttributes/trustzone/RTE/_Debug_secure-only/RTE_Components.h | ||
category: header | ||
licenses: | ||
- license: <unknown> | ||
license-agreement: ${CMSIS_PACK_ROOT}/ARM/RteTest_DFP/0.2.0/Doc/license.txt | ||
packs: | ||
- pack: ARM::[email protected] | ||
components: | ||
- component: ::RteTest:CORE(API) | ||
- component: ARM::Device:Startup&RteTest [email protected] | ||
- component: ARM::RteTest:[email protected] |
31 changes: 31 additions & 0 deletions
31
tools/projmgr/test/data/TestSolution/DeviceAttributes/ref/trustzone.Debug+secure-only.cprj
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
<?xml version="1.0" encoding="UTF-8" standalone="no" ?> | ||
<cprj schemaVersion="2.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="CPRJ.xsd"> | ||
<created timestamp="2024-08-30T11:44:04" tool="csolution 0.0.0+g756bffa0"/> | ||
|
||
<info isLayer="false"> | ||
<description>Automatically generated project</description> | ||
</info> | ||
|
||
<packages> | ||
<package name="RteTest_DFP" vendor="ARM" version="0.2.0:0.2.0"/> | ||
</packages> | ||
|
||
<compilers> | ||
<compiler name="AC6" version="6.18.0"/> | ||
</compilers> | ||
|
||
<target Dfpu="NO_FPU" Dname="RteTest_ARMCM0" Dsecure="Secure-only" Dvendor="ARM:82"> | ||
<output elf="trustzone.axf" intdir="tmp/trustzone/secure-only/Debug" name="trustzone" outdir="out/trustzone/secure-only/Debug" rtedir="../data/TestSolution/DeviceAttributes/trustzone/RTE" type="exe"/> | ||
<ldflags compiler="AC6" file="../data/TestSolution/DeviceAttributes/trustzone/RTE/Device/RteTest_ARMCM0/ARMCM0_ac6.sct"/> | ||
</target> | ||
|
||
<components> | ||
<component Cclass="Device" Cgroup="Startup" Cvariant="RteTest Startup" Cvendor="ARM" Cversion="2.0.3"> | ||
<file attr="config" category="linkerScript" name="Device/ARM/ARMCM0/Source/ARM/ARMCM0_ac6.sct" version="1.0.0"/> | ||
<file attr="config" category="sourceC" name="Device/ARM/ARMCM0/Source/startup_ARMCM0.c" version="2.0.3"/> | ||
<file attr="config" category="sourceC" name="Device/ARM/ARMCM0/Source/system_ARMCM0.c" version="1.0.0"/> | ||
</component> | ||
<component Cclass="RteTest" Cgroup="CORE" Cvendor="ARM" Cversion="0.1.1"/> | ||
</components> | ||
</cprj> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 5 additions & 0 deletions
5
tools/projmgr/test/data/TestSolution/DeviceAttributes/trustzone/secure-only.clayer.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# yaml-language-server: $schema=https://raw.githubusercontent.com/Open-CMSIS-Pack/devtools/main/tools/projmgr/schemas/clayer.schema.json | ||
|
||
layer: | ||
processor: | ||
trustzone: secure-only |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters