2024-09-13 6:03 PM
Hello ST community,
I have cloned a project developed by a colleague of mine using STM32WBA52 MCU.
When I hit build for the project I got this error "Note: This behavior is deprecated and will be removed in future version of the linker"
I updated STM32CubeIDE to 1.16, but I still get the same error, whereas, the project was initially developed using older version of CubeIDE
Did anyone get into this issue?
Any assistance would be appreciated
Thanks
2024-09-13 9:33 PM
Updating probably isn't the way to out run things they plan on removing in the future..
Look at options and metadata reported in the build process, likely a setting or behavior that is being rationalized or breaks something new.
Provide the whole build output, makefiles or IOC
Perhaps look in Linker Script.
Look if there's a way to regenerate or import the old project. Or make a fresh one and merge back in your configuration.
Going to be hard to guess without some more specificity..
2025-06-18 4:57 PM - edited 2025-06-18 4:57 PM
In case anyone still has this issue, I came across an obscure "workaround" from https://wiki.st.com/stm32mcu/wiki/STM32CubeIDE:STM32CubeIDE_errata_1.18.x. In your Linker Settings (Project > Properties > C/C++ Build > Settings > MCU/MPU GCC Linker > Miscellaneous > Other Flags) add the following:
-z noexecstack
That seems to have removed the error/warning for me.