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
4 changes: 4 additions & 0 deletions tools/projmgr/src/ProjMgrWorker.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4121,6 +4121,10 @@ bool ProjMgrWorker::ProcessContext(ContextItem& context, bool loadGenFiles, bool
ret &= ProcessGpdsc(context);
ret &= ProcessGeneratedLayers(context);
}
// Add compiler define for TrustZone disabled
if (context.controls.processed.processor.trustzone == RteConstants::YAML_OFF) {
context.rteActiveTarget->InsertDefine("ARM_DEVICE_TZ_DISABLED");
Comment thread
brondani marked this conversation as resolved.
}
// Check regions header, generate it if needed
if (!context.linker.regions.empty()) {
CheckAndGenerateRegionsHeader(context);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,11 @@ build:
- SETUP_GCC
- SETUP_COMMON
- ARMCM0
- ARM_DEVICE_TZ_DISABLED
- _RTE_
define-asm:
- ARMCM0
- ARM_DEVICE_TZ_DISABLED
- _RTE_
add-path:
- ../data/TestProjectSetup/setup/GCC
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,11 @@ build:
- SETUP_GCC
- SETUP_COMMON
- ARMCM0
- ARM_DEVICE_TZ_DISABLED
- _RTE_
define-asm:
- ARMCM0
- ARM_DEVICE_TZ_DISABLED
- _RTE_
add-path:
- ../../../../../data/TestProjectSetup/setup/GCC
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,11 @@ build:
path: ${CMSIS_PACK_ROOT}/ARM/RteTest_DFP/0.2.0
define:
- ARMCM0
- ARM_DEVICE_TZ_DISABLED
- _RTE_
define-asm:
- ARMCM0
- ARM_DEVICE_TZ_DISABLED
- _RTE_
add-path:
- ../data/TestSolution/DeviceAttributes/trustzone/RTE/_Debug_tz-disabled
Expand Down
Loading