" Linker can be used to fill unused bytes with a defined byte pattern."
I would like to use this feature to fill memory with NOPs. How to set it up?
Solved! Go to Solution.
for Kinetis and gcc, see the 'fill' option here:
Using LD, the GNU linker - Section Options
View solution in original post
Hello
Which MCU are you targeting (HCS08, HCS12, Coldfire, ...)?
CrasyCat
I would also like to know how to do it on HCS08 using CW 10.3
Thanks.
For the HCS08, there is the FILL command you can use in the linker .prm file:
I hope this helps.
Just note: the same is valid also for S12(X) MCUs.
.prm file ; FILL
Kinetis