Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Update Arduino Firmware

Project Purpose

This project is designed to streamline the process of updating the firmware on Arduino devices. It provides a comprehensive guide for both beginners and advanced users to ensure that their devices are running the latest firmware without issues.

Files Included

  • update_firmware.py: A Python script responsible for the firmware updating process.
  • config.json: Configuration file containing details about the Arduino devices.
  • README.md: This documentation file.

Setup Instructions

  1. Clone the Repository:
    Run the following command to clone the repository:

    git clone https://github.com/mthehang/Update-Arduino-Firmware.git
  2. Navigate to Directory:
    Change to the project directory:

    cd Update-Arduino-Firmware
  3. Install Required Libraries:
    Make sure you have Python installed, then install the necessary libraries using pip:

    pip install pyserial jsonschema
  4. Configure the config.json:
    Modify the config.json file to include your Arduino device details:

    {
        "devices": [
            {
                "name": "MyArduino",
                "port": "COM3",
                "firmware": "latest_firmware.hex"
            }
        ]
    }

Usage Guide

To start the firmware update process, execute the following command:

python update_firmware.py

This will read the config.json file and begin updating each listed Arduino device. Follow the prompts provided in the console.

Additional Resources

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages