GithubHelp home page GithubHelp logo

m5stack-firmware's Introduction

M5Stack Firmware

Description

You can share your firmware and other M5 fans can use it by M5Burner.But if you want to share your firmware here, you should follow some rules below.

Demo

Quickstart

1.Folder Structure

Here some requirements to your firmware directory.For example:

│  README.md
│  m5burner.json (Required)
│
└─ firmware (Required)
        bootloader_0x1000.bin
        MicroPython_0x10000.bin
        partitions_mpy_0x8000.bin
        phy_init_data_0xf000.bin
        spiffs_image_0x170000.img
        ......

Your firmware root directory must have file m5burner.json and folder firmware.

2.File m5burner.json Format

Some infomation must in your m5burner.json.For example:

{
    // Firmware name
    "name": "UIFlow",

    // Description
    "description": "maybe nooooooooo bug",

    // Keywords
    "keywords": "ESP32, Micropython",

    // Author
    "author": "EeeeBin",

    // The github repository of the firmware (Required)
    "repository": "https://github.com/EeeeBin/UIFlow-Firmware",

    // If there are multiple categories of firmware, this field will be a array.
    // Otherwise, it will be a key-value structure.
    // (Single version demo: https://github.com/curdeveryday/test-firmware)
    "firmware_category": [
        // Category infomation
        {
            // Category name
            "Stack-EN": {
                // Firmware path
                "path": "firmware_en",

                // Applicable Devices
                "device": ["M5Stack Core"],

                // Default baudrate
                "default_baud": 921600
            }
        },
        
        // Same of above ...
        {
            "Stack-CN": {
                "path": "firmware_cn",
                "device": [
                    "M5Stack Core"
                ],
                "default_baud": 921600
            }
        },
        {
            "Stick": {
                "path": "firmware_Stick",
                "device": [
                    "M5Stack Stick"
                ],
                "default_baud": 921600
            }
        },
        {
            "StickC": {
                "path": "firmware_StickC",
                "device": [
                    "M5Stack StickC"
                ],
                "default_baud": 750000
            }
        }
    ],

    // Firmware version
    "version": "1.2.3",

    // Firmware platform
    "framework": "Micropython"
}

3.Folder firmware

The name of files in firmware must follow the rules.

Please follow the rule filename = name + "_" + flash address.

For example, if you have a file a.bin and it flash address is 0x1000.It should be named a_0x1000.bin

4.Pull Request

After meeting the above rules, you should fork our repository and add your firmware repository in firmware-repo.list.Now, you submit a pull request in M5Stack Firmware.We will review your firmware and add it in M5Burner.This operation is only required when the firmware is first submitted. If the firmware is updated, M5Burner will automatically obtain the new firmware address.

Download M5Burner

Contribution

Last but certainly not least, a big Thank You! To the following folks that helped to make M5Stack even better.

m5stack-firmware's People

Contributors

curdeveryday avatar eeeebin avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.