LD Fill holes in memory with FF

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

Moderator: RoccoMarco

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

LD Fill holes in memory with FF

Post by honken »

Hi,

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.

regards,
User avatar
Giovanni
Site Admin
Posts: 14893
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 997 times

Re: LD Fill holes in memory with FF

Post by Giovanni »

Hi,

You should look into the linker options for that.

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

Giovanni
Post Reply