• Looking at the following merged pull request:

    https://github.com/espruino/Espruino/pul­l/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:

    • ESP8266_BOARD=1
    • FLASH_4MB=1
    • ESP8266_SDK_ROOT= // Path to SDK 2.0.0 root

    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/xte­nsa-lx106-elf/4.8.2/../../../../xtensa-l­x106-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/xte­nsa-lx106-elf/4.8.2/../../../../xtensa-l­x106-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
    

    Can anyone spot what I might be doing wrong?

About

Avatar for Kolban @Kolban started