When I try and run a make, it fails at the end with:
... other succesfull output ...
CC /esp8266/Espruino/gen/jswrapper.o
LD espruino_esp8266_partial.o
LD espruino_esp8266_user2.elf
LD espruino_esp8266_user1.elf
/opt/xtensa-lx106-elf/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld: espruino_esp8266_user1.elf section `.text' will not fit in region `iram1_0_seg'
collect2: error: ld returned 1 exit status
Makefile:1947: recipe for target 'espruino_esp8266_user1.elf' failed
make: *** [espruino_esp8266_user1.elf] Error 1
make: *** Waiting for unfinished jobs....
/opt/xtensa-lx106-elf/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld: espruino_esp8266_user2.elf section `.text' will not fit in region `iram1_0_seg'
collect2: error: ld returned 1 exit status
Makefile:1955: recipe for target 'espruino_esp8266_user2.elf' failed
make: *** [espruino_esp8266_user2.elf] Error 1
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Looking at the following merged pull request:
https://github.com/espruino/Espruino/pull/925
My assumption is that we now support SDK 2.0.0. patch 1.
On a fresh environment, I cloned the latest committed Espruino (https://github.com/espruino/Espruino.git) and set the environment variables:
When I try and run a make, it fails at the end with:
Can anyone spot what I might be doing wrong?