Skip to main content
Associate II
November 2, 2024
Question

"LOAD segment with RWX permissions" after adding EEPROM_Emul

  • November 2, 2024
  • 2 replies
  • 1026 views

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

    rs-dpAuthor
    Associate II
    November 12, 2024

    Anyone here to clarify this question?

    gbm
    Principal
    November 12, 2024

    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