Commit a7d8d77
committed
[hopefully fromlist] platform: nrf: Fix startup file issue for nRF54L
Recently a commit got introduced which changed the target of
the startup*.c files to be the platform_ns instead of the tfm_ns.
This had issues with the nRF devices and was initially reverted,
the current commit tries to fix the issues.
It does the following:
It changes the startup*.c files targets to be platform_ns for all
the files and also adds them to the target as PRIVATE instead of
PUBLIC to avoid having multiple object files for all the targets
which link to platform_ns.
It adds a workaround for the PSA arhitecture tests which was failing
to build because the required __Vectors symbol was dropped the relevant
file which includes it was not added to the platform_ns target.
The __Vectors is required by the linker script tfm_common_ns.ld used
byt the PSA architecture tests.
Signed-off-by: Georgios Vasilakis <[email protected]>1 parent 00a106c commit a7d8d77
File tree
1 file changed
+10
-3
lines changed- platform/ext/target/nordic_nrf/common/core/ns
1 file changed
+10
-3
lines changedLines changed: 10 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
| 39 | + | |
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
| 45 | + | |
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| |||
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
74 | | - | |
| 74 | + | |
75 | 75 | | |
76 | 76 | | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
77 | 84 | | |
78 | 85 | | |
79 | 86 | | |
| |||
0 commit comments