Memory usage in a bare-metal application?
Posted: Tue Jan 19, 2021 6:42 pm
I have a potential bare-metal ESP8266 project which doesn't use the SDK at all --- so it's just my code and the ROM.
Even though I'm not using any SDK code, the ROM is still present and handling thinga like interrupts and exceptions. So, it's going to need somewhere to store its variables. As i'm going to want to use every byte of available memory, both dram and iram, I need to know where this is so I can work around it. I can't find any documentation on this, or references to it in the linker scripts; can anyone point me at anything useful here?
Even though I'm not using any SDK code, the ROM is still present and handling thinga like interrupts and exceptions. So, it's going to need somewhere to store its variables. As i'm going to want to use every byte of available memory, both dram and iram, I need to know where this is so I can work around it. I can't find any documentation on this, or references to it in the linker scripts; can anyone point me at anything useful here?