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

nilesh_m
Posts: 13
Joined: Thu Oct 28, 2021 4:12 am

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

Postby nilesh_m » Mon Nov 15, 2021 5:07 am

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?

Who is online

Users browsing this forum: No registered users and 121 guests