cancel
Showing results for 
Search instead for 
Did you mean: 

"LOAD segment with RWX permissions" after adding EEPROM_Emul

rs-dp
Associate II

Hi,

I am using the EEPROM_Emul module since I don't have any EEPROM available on my hardware. After adding this module to my project the GCC compiler started to throw the warning "LOAD segment with RWX permissions". I've seen other posts explaining how to fix this on linker script by adding the attribute "READONLY" to all flash sections, however my linker script already has this implemented.

How do I fix this without having to silence the warning message?

For reference, I am using STM32WB15CC with BLE stack v1.20.0

 

 

2 REPLIES 2
rs-dp
Associate II

Anyone here to clarify this question?

gbm
Lead III

Already covered in this forum. Search for some keywords and you will find the answer.

My STM32 stuff on github - compact USB device stack and more: https://github.com/gbm-ii/gbmUSBdevice