Page 1 of 1

How do I fill unused code memory using linker in esp-idf eclipse?

Posted: Mon Nov 15, 2021 5:07 am
by nilesh_m
Hi,

I am looking for an option, on how to fill unused code memory using some specific data like 0xFF using linker script for ESP32 board.
Basically I am trying to fill my binary file with 0xff till some address manually and looking for automatic option.
Say, my binary file size is upto 0x1000 and after that I am trying to fill 0xFF from 0x1000 to 0x1100.

So, is there a way to do it through linker file?