You are reading a single comment by @AkosLukacs and its replies. Click here to read the full conversation.
  • Hi, looks like 2v22 broke the Nucleo F411 build. Seems to work on 2v21.
    Both my Espruino Wifi and Pico seems to work with 2v22, and those have the same / similar uC.

    Nucleo on 2v21:

    >reset(1)
    Erasing saved code.
    Done!
    =undefined
     ____                 _
    |  __|___ ___ ___ _ _|_|___ ___
    |  __|_ -| . |  _| | | |   | . |
    |____|___|  _|_| |___|_|_|_|___|
             |_| espruino.com
     2v21 (c) 2023 G.Williams
    Espruino is Open Source. Our work is supported
    only by sales of official boards and donations:
    http://espruino.com/Donate
    >require("Storage").eraseAll()
    =undefined
    >process.memory
    =function () { [native code] }
    >process.memory()
    ={ free: 7379, usage: 44, total: 7423, history: 9,
      gc: 0, gctime: 7.37596428571, blocksize: 13, stackEndAddress: 536970128, stackFree: 30528,
      flash_start: 134217728, flash_binary_end: 134548632, flash_code_start: 134610944, flash_length: 524288 }
    >process.env
    ={
      VERSION: "2v21",
      GIT_COMMIT: "8f3a9cb52",
      BOARD: "NUCLEOF411RE",
      RAM: 131072, FLASH: 524288, STORAGE: 131072,
      SERIAL: "51005f00-0f513534-39343936",
      CONSOLE: "Serial2",
      MODULES: "Flash,Storage,hea" ... "etworkJS,neopixel",
      EXPTR: 134522176 }
    >process.memory()
    ={ free: 7379, usage: 44, total: 7423, history: 15,
      gc: 0, gctime: 7.37960714285, blocksize: 13, stackEndAddress: 536970128, stackFree: 30528,
      flash_start: 134217728, flash_binary_end: 134548632, flash_code_start: 134610944, flash_length: 524288 }
    

    After update via the built-in STLink:

    >
     ____                 _
    |  __|___ ___ ___ _ _|_|___ ___
    |  __|_ -| . |  _| | | |   | . |
    |____|___|  _|_| |___|_|_|_|___|
             |_| espruino.com
     2v22 (c) 2024 G.Williams
    Espruino is Open Source. Our work is supported
    only by sales of official boards and donations:
    http://espruino.com/Donate
    >process.env
    Uncaught [object Object]
     at line 1 col 8
    process.env
           ^
    

    Some basic commands work, but looks like even the simplest function call fails

    >2+3
    =5
    >a="alma"
    ="alma"
    >a+5
    ="alma5"
    >b = {x:1}
    ={ x: 1 }
    >b
    ={ x: 1 }
    >b.x
    =1
    >print(b)
    Uncaught [object Object]
     at line 1 col 1
    print(b)
    ^
    > 
    >print('x')
    Uncaught [object Object]
     at line 1 col 1
    print('x')
    ^
    > 
    >LED1.toggle()
    Uncaught [object Object]
     at line 1 col 5
    LED1.toggle()
        ^
    > 
    

    I will try to dig deeper, haven't built the firmware yet :)

About

Avatar for AkosLukacs @AkosLukacs started