Closed ReinhardKeil closed 3 weeks ago
1) The rational behind enabling semihosting for GCC was driven by running solutions on AVH-FVP models using semihosting for test output.
2) https://metebalci.com/blog/solution-to-load-segment-with-rwx-permissions-warning-with-cmsis/ seems to describe to assign permissions manually. Maybe someone can propose a solution that is compatible with the existing concept. The warning wants to prevent having writable code sections.
Decision on 1. is to not enable semihosting (leave the existing toolchain default).
The Problem To Be Solved
cdefault.yml
is a good starting point, but there are a few issues that should be improved for GCC.Link option
--specs=rdimon.specs
Enables semihosting, but may actually create problems as it runs on a breakpoint. Should this be in the default?Linker warning
warning: ...elf has a LOAD segment with RWX permissions
when using the default linker script management. What is causing this? Can it be solved or does this need to be in the documentation?