have you tried a make clean and then a make?
make clean
make
What env have you set up - this is my build script:
env
root@OFFICE-PC:/mnt/c/ubuntu/Espruino# cat build-esp-4mb.sh #! /bin/bash export ESP8266_BOARD=1 export FLASH_4MB=1 export ESP8266_SDK_ROOT=/mnt/c/ubuntu/esp-open-sdk/sdk export PATH=$PATH:/mnt/c/ubuntu/esp-open-sdk/xtensa-lx106-elf/bin/ export ESPHOSTNAME=espruino:88 make $*
The last lines output look like:
LD espruino_esp8266_partial.o LD espruino_esp8266_user1.elf LD espruino_esp8266_user2.elf To disassemble: xtensa-lx106-elf-objdump -d -l -x espruino_esp8266_user2.elf Sections: Idx Name Size VMA LMA File off Algn 3 .text 00006cd0 40100000 40100000 00002f10 2**2 CONTENTS, ALLOC, LOAD, READONLY, CODE 4 .irom0.text 0006ab94 40201010 40201010 00009be0 2**4 CONTENTS, ALLOC, LOAD, READONLY, CODE To disassemble: xtensa-lx106-elf-objdump -d -l -x espruino_esp8266_user1.elf xtensa-lx106-elf-objdump -d -l -x espruino_esp8266_user1.elf >espruino_esp8266_user1.lst 4 -rwxrwxrwx 1 root root 2204 Sep 17 10:10 eagle.app.v6.data.bin 428 -rwxrwxrwx 1 root root 437140 Sep 17 10:10 eagle.app.v6.irom0text.bin 12 -rwxrwxrwx 1 root root 9616 Sep 17 10:10 eagle.app.v6.rodata.bin 28 -rwxrwxrwx 1 root root 27856 Sep 17 10:10 eagle.app.v6.text.bin ** user1.bin uses 476884 bytes of 491520 available
I'm not sure why you build is failing on the user1 target.
@Wilberforce started
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.
have you tried a
make clean
and then amake
?What
env
have you set up - this is my build script:The last lines output look like:
I'm not sure why you build is failing on the user1 target.