elf has a LOAD segment with RWX permissions w/ Optimization
I upgraded my MacBook computer and installed the latest STM32CubeIDE 1.17 like many other people reporting the new warning that has appeared with the 12.3 toolchain. I have an STM32F413 project I have been working on for a few years which uses an RTOS and TouchGFX (if it matters). I followed the "fix" in the other posts about updating the linker file to the latest version. The Debug build no longer has the warning so that is great.
The issue is with the Release build. Any optimization setting other than None causes the warning which the Release build has a size optimization enabled. What is the process to get rid of the error other than supressing it which is not really a "fix"? I figure the optimization is changing the permissions on the memory regions and overwriting the linker file settings. Is there a proper method to prevent this? I am using the latest default STM32F4113VGTx_... linker files for this project.
-Tim
