" 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?
已解决! 转到解答。
for Kinetis and gcc, see the 'fill' option here:
Using LD, the GNU linker - Section Options
在原帖中查看解决方案
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