" 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