Arduino_Core_STM32 icon indicating copy to clipboard operation
Arduino_Core_STM32 copied to clipboard

chore: mark some segments as READONLY

Open fpistm opened this issue 6 months ago • 1 comments

This PR reverts 794945c10abb2dc6a875c471bb9aa4cbb131e5a2 then update all linker scripts to mark some segments as READONLY.

Prevent LOAD segment with RWX permissions warning. The READONLY keyword is only supported in GCC11 and later, remove it if using GCC10 or earlier.

Fixes #2475.

fpistm avatar Aug 20 '24 14:08 fpistm