🤖Have you ever tried Chat.M5Stack.com before asking??😎
    M5Stack Community
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    How to distribute Micropython application as binary flash image ?

    Micropython
    2
    3
    5.3k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • O
      ondrej1024
      last edited by

      Is it possible to distribute a Micropython application (for Core2 in my case) as binary flash image which can simply be burned on the device with M5Burner?

      We would need a way to create that image from a device running the application and having all needed files installed.

      Any idea ?

      1 Reply Last reply Reply Quote 0
      • R
        robalstona
        last edited by

        You can use esp flash tool
        https://github.com/espressif/esptool

        But it is a command line tool. and need python installed on your pc to work. With this tool you can download whole spiflash content to one bin file. You can also flash it back with this tool.

        I don't use M5burner which probably don't have option to burn custom bin file. By the way, M5burner use esptool in background to flash their firmwares.

        1 Reply Last reply Reply Quote 0
        • O
          ondrej1024
          last edited by

          Thanks a lot. This seems exactly what I was looking for. Command line is not a problem. Will try it.

          1 Reply Last reply Reply Quote 0
          • First post
            Last post