Navigation

    M5Stack Community

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    1. Home
    2. gabi
    G
    • Continue chat with gabi
    • Start new chat with gabi
    • Flag Profile
    • Profile
    • Following
    • Followers
    • Blocks
    • Topics
    • Posts
    • Best
    • Groups
    Save
    Saving

    gabi

    @gabi

    0
    Reputation
    1
    Posts
    1339
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    gabi Follow

    Posts made by gabi

    • How I can run espruino / javascript on the M5 Stack?

      Hi, I'm a JavaScript developer and I would like to run JavaScript on the M5, I've seen that It would be possible using espruino as it has support for the ESP32 but I'm couldn't make it work.

      Currently, I'm flashing espruino with this command:

      esptool.py    \
              --chip esp32                                \
              --port /dev/tty.SLAB_USBtoUART              \
              --baud 961200                               \
              --before default_reset                      \
              --after hard_reset write_flash              \
              -z                                          \
              --flash_mode dio                            \
              --flash_freq 40m                            \
              --flash_size detect                         \
              0x1000 bootloader.bin                       \
              0x8000 partitions_espruino.bin              \
              0x10000 espruino_esp32.bin
      

      and looks like it is flashing the thing there, but I can't use the web IDE to connect to the device, and also it is making an anoying noise through the speaker which I don't know how I can stop it.

      Does anybody know how I can connect to the device or how can I make the web IDE connect to the device?

      Thank you

      posted in PROJECTS
      G
      gabi