Build firmware not working.

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

    # Get the Espruino source code
    git clone https://github.com/espruino/Espruino.git
    cd Espruino
    # Download and set up the toolchain ('source' is important here)
    source scripts/provision.sh 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.

    Jonas

  • 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: https://travis-ci.org/espruino/Espruino

  • 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
    clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
    mode:DIO, clock div:2
    load:0x3fff0018,len:4
    load:0x3fff001c,len:2668
    load:0x40078000,len:7304
    load:0x40080000,len:5312
    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

    https://github.com/espruino/Espruino/issues/1751#issuecomment-590090143

  • it is fixed

About

Build firmware not working.

Posted by Avatar for Jonaswinz @Jonaswinz

Actions