LD Fill holes in memory with FF

ChibiOS public support forum for topics related to the STMicroelectronics STM32 family of micro-controllers.

Moderators: barthess, RoccoMarco

Posts: 1
Joined: Fri Jan 17, 2020 4:20 pm

LD Fill holes in memory with FF

Postby honken » Fri Jan 17, 2020 4:23 pm


Is it possible to fill any memory holes in LD script for the STM32 build?

Like to make sure that unused memory inside used memory range is set to FF so CRC calc can be done correctly.


User avatar
Site Admin
Posts: 13125
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 769 times
Been thanked: 653 times

Re: LD Fill holes in memory with FF

Postby Giovanni » Fri Jan 17, 2020 5:16 pm


You should look into the linker options for that.

https://access.redhat.com/documentation ... tions.html


Return to “STM32 Support”

Who is online

Users browsing this forum: No registered users and 3 guests