Part Number: F29H850TU
Hello,
When the System Security is added in SysCfg, the linker script is generated by the tool and SECURE_GROUP is used in MEMORY.
This does not fulfill our needs because we don't want to fix the size of all the areas associated with the SECURE_GROUPs.
Instead, we use MEMORY only to specify the memory areas dedicated to the application and then we use the output sections to create the different areas (ex: CODE_QM, CODE_ASIL_C, CODE_SHARED). This way, we don't need to specify a size for each, their size will be adapted automatically based on the evolution of the software.
Then, using labels before and after each output section (or each group of output sections eventually), we are able to configure the ranges once and for all (as long as the list of output sections is not modified).
In the documentation of the clang for the F29, it is indicated that SECURE_GROUP can be used on output sections but now how and I found in the online documentation that the support of SECURE_GROUP on output sections is deprecated and could be removed in the future which would be problematic for us.

So
1/ Will this support be removed in the future ? If yes, why ? And is there a possibility to avoid this ?
2/ How can we use SECURE_GROUP with the output sections ? Is there a way to see what the linker understood (I searched for the name of the SECURE_GROUPs in the map file but did not find anything) ?
Thank you