i use arduino iot cloud web editor, when i compile i had issues but i solved them , but now i get .irom0.text' will not fit in region `irom0_0_seg' and i dont know how to solve it even if i researched the answers ,it would be incredible if someone could help me. im trying to make a smart pet plant with facial expression for a school project fair and i used esp8266 esp-12e nodemcu module , along with a capacitive moisture sensor, a temperature sensor , a tft display and a ldr sensor with resistor can c&p my code so u can check if there is any error.
here is the message :
/usr/local/bin/arduino-cli compile --fqbn esp8266:esp8266:nodemcuv2:baud=115200,dbg=Disabled,eesz=4M,exception=disabled,ip=lm2f,lvl=None____,vt=flash,wipe=none,xtal=80 --libraries /home/builder/opt/libraries/latest --build-cache-path /tmp --output-dir /tmp/988762528/build --build-path /tmp/arduino-build-3CFF130C5E12AFC34E2F193F93BFC97E /tmp/988762528/Pet_plant_dec12a
Using library arduino_debugutils_1_4_0 at version 1.4.0 in folder: /home/builder/opt/libraries/arduino_debugutils_1_4_0
Using library arduinomqttclient_0_1_6 at version 0.1.6 in folder: /home/builder/opt/libraries/arduinomqttclient_0_1_6
/home/builder/.arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-3-20ed2b9/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld: /tmp/arduino-build-3CFF130C5E12AFC34E2F193F93BFC97E/Pet_plant_dec12a.ino.elf section `.irom0.text' will not fit in region `irom0_0_seg'
collect2: error: ld returned 1 exit status
Error during build: exit status 1
Try picking a larger FLASH size under Tools -> Flash size.
There is a trade-off between the amount of FLSH set aside for your program and the amount left for the file system. If you aren't storing data in files you can use more for program.
give me ur email so i can send it to u , the file is more then 8 mb so they wont let me upload it here and when i c&p here i cant because iget an error 502