• Here, you are building a file designed to run on your PC, not a microcontroller. It'll be a 64 bit x86 build:

    make clean && make
    

    Here you're building a binary file to run on the Espruino Wifi's ARM, but because you didn't clear the build, some files will have been built for the wrong platform:

    BOARD=ESPRUINOWIFI make
    

    You also need to build with RELEASE=1. It seems there are pretty clear instructions at https://github.com/espruino/Espruino/blo­b/master/README_Building.md#for-stm32-bo­ards-incl-espruino-board

    So if you run the command listed there:

    make clean && BOARD=ESPRUINOWIFI RELEASE=1 make
    

    you may have more success

About

Avatar for Gordon @Gordon started