Skip to content
Commit 3bbc7d4b authored by Lingkai Dong's avatar Lingkai Dong Committed by Jaeden Amero
Browse files

templates: Use HAL startup file and own linker scripts for TF-M



The default NS (non-secure) startup file and linker scripts from TF-M
are very minimal and intended to be just enough for running TF-M's
integration tests. The startup file does not provide handlers for many
peripherals supported by MCU-Driver-HAL, making it impossible to use
those peripherals. The linker scripts are not customizable so it is
impossible to use a larger heap or define extra symbols expected by some
RTOSes such as ThreadX. So in our TF-M example and test, switch to use
the startup file from the HAL implementation and generate linker scripts
from the templates like the other example.

Signed-off-by: Lingkai Dong's avatarLingkai Dong <lingkai.dong@arm.com>
parent 4b7eadbb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment