Build firmware not working.

Posted on
  • After I runned this (official) code:

    # Get the Espruino source code
    git clone­
    cd Espruino
    # Download and set up the toolchain ('source' is important here)
    source scripts/ ESP32
    # Clean and rebuild
    make clean && BOARD=ESP32 make

    no espruino_esp32.bin was created.
    The terminal last output is:

    cc1: warning: unrecognized command line option '-Wno-expansion-to-defined'
    make: *** wait: No child processes. Stop.


  • Please can you git pull and try again? I found a few build issues that I'm surprised haven't surfaced before, but it seems good now:

  • Ok thanks. The building worked. But after I flashed the firmware to the esp32 this message shows while booting:

    ets Jun 8 2016 00:22:57

    rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
    configsip: 0, SPIWP:0xee
    mode:DIO, clock div:2
    entry 0x40080274
    E (530) esp_image: Image length 1395696 doesn't fit in partition length 1376256
    E (530) boot: Factory app partition is not bootable
    E (530) esp_image: image at 0x160000 has invalid magic byte
    E (536) boot: OTA app partition slot 0 is not bootable
    E (541) boot: No bootable app partitions in the partition table
    Fatal exception (0): IllegalInstruction
    epc1=0x400802ba, epc2=0x00000000, epc3=0x00000000, excvaddr=0x00000000, depc=0x0

  • there are some changes needed to make this work again­ues/1751#issuecomment-590090143

  • it is fixed


Build firmware not working.

Posted by Avatar for Jonaswinz @Jonaswinz