Hi,
I trying to get Taylor Galbraith HomeKit LED project to work on a ESP32-Wroom-32D. It keeps giving an error on "text section exceeds available space on board".
From the specs it says it has 4mb spiff flash memory.
I am a beginner on this so looking to understand and learn.
Thanks Robert
Did you click the link to learn how to fix this?
What memory size have you selected?
1 Like
What board did you select in the board selector?
1 Like
Yes I did but it did not help as the code is very short as you can see so do not think this could be the problem
I tried "ESP32 Dev Module" and "ESP32 Wroom DA modules"
You said
and the error message says

Do you see a clue?
1 Like
For the ESP32 Dev Module, what memory model did you select?
1 Like
so 4mb is 4000000 bytes right so why is the maximum 1310720
Different memory. You need to pick a bigger memory model for the sketch. I usually just pick HUGE. Its in the IDE menu, so go find it.
1 Like
As mentioned I am absolute beginner in this, you mean I need to change the Board in IDE not the actual esp32 module.
Here is the sketch I compiled from that HomeSpan thing and the successful result.


Good luck
1 Like
Looks like the sketch now get accepted only one other error
But that is an upload error, and it's one I haven't seen before. It appears to be caused by a bad cable or a bad connection, but in any case, your original problem is solved, so mark post nine as the solution.
You should really start with much simpler projects. Do you have a copy of the Arduino Cookbook? Work your way through that from front to back, and then you might be ready for IoT stuff.
1 Like
Set the upload speed slower and it looks it worked