aboutsummaryrefslogtreecommitdiff
path: root/applications/trustzone_inference/secure/main_secure.cpp
AgeCommit message (Collapse)Author
2024-05-21Fix uninitialized variable in trustzone secureHEAD24.05-rc224.05mainMikael Olsson
The block_idx_end variable is left uninitialized and contains an undeterminate value. This can cause issues later when it is compared to block_idx because the comparison may not have the desired outcome. To resolve this, the block_idx_end variable is now zero initialized. Change-Id: I0767eeb4dc18ea668e6f14a386b67e4ddb9c654a Signed-off-by: Mikael Olsson <mikael.olsson@arm.com>
2022-01-31PMU multi NPU supportKristofer Jonsson
Update sample applications to use an external context for the PMU configuration. The external context stored in the InferenceJob will be set as TFLu external context and will be returned in the ethosu_inference_begin() and ethosu_inference_end() callbacks. Change-Id: Ief1f0943e322c2b50e8b964017af59161f67de6b
2021-12-02Fixing compiler warningsKristofer Jonsson
Adjusting toolchain files which compiler warnings to enable. Fixing compiler warnings reported by Arm Clang and Arm GCC. Change-Id: I715e875904ffd7ecfe994d3093cdf066373981b1
2021-09-07Remove designated initializersJonny Svärd
Designated initializer support only arrived in C++20 standard. While most compilers will support it through extensions, remove them to increase portability. Change-Id: I31d885597b0d29a3cf67d5450d988805016a0d2d
2021-04-21Fix formattingAnton Moberg
Fixed code formatting Change-Id: I12df8da14a7100706f20ffb084ca8477928d0005
2021-03-02Rename .bss.NoInit section to .bss.tensor_arenaJonny Svärd
Change-Id: I660cd5d2bc73eaf589598c4f0570f5e9293de28d
2021-02-22Add trustzone application examplePer Åstrand
Add example project that builds both secure and nonsecure world sides and the inference is done on the secure side. This commit includes the mpc driver as found in the upstream trustedfirmware git repository https://git.trustedfirmware.org/TF-M/trusted-firmware-m.git (8c0a234e453b51e6606d11599d0cb15097c3da48) The model,input and output used are described in the README.md in this directory. Change-Id: Ie54904a38d54df4de2d6936f066c388ea58e396b