- Sat Jun 06, 2015 12:29 pm
#19661
tve wrote:> I am trying to reduce the size for linked firmware to have more room for application code
and file system.
Have you pushed to the limit of the 236KB irom + 32KB iram you have available? See the last section of the the esp-link project readme (and associated makefile) for info https://github.com/jeelabs/esp-link. I eyeballed my esp-link linker map and the __ arithmetic routines seem to make up ~4KB. I don't know how much work it's worth to tr and recover these. I would probably rather slice into the 16KB user settings and 4KB bootloader-mirror flash areas.
Good idea. Thanks for checking.
I had the problem playing with sdk 1.1.0 and nodemcu code and didn't want to decide what to toss from iram
into flash or decide what the sdk code needs in this regard.
The sdk pulled floating point code into iram and that was >32k.
Using some floating point code from rom instead i was able link.
So I had a chance to get my WTF moment with sdk 1.1.0. One of us is not ready for nodemcu yet.
And I didn't wanted to dig into ld script differences and just used the sdk 1.1.0 one and adjusted size
and some content.
Cal