Necromant wrote:AFAIK there should be some cleaner way to send huge chunks of code to 'irom0.text' with some linker magic that doesn't require such bloody patching. Btw, remind me, does xtensa-gcc support -fPIC?
That'd be awesome, unfortunately I don't know enough about the linking to say if/how that's possible.