Skip to content

thatoddmailbox/espminitool

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

espminitool

A tool that uploads code to an ESP32 microcontroller, communicating with its bootloader using a serial port and its custom SLIP-based protocol. Written in C, and should be compatible with any operating system that supports termios—so Linux, macOS, and WSL version 1.

Currently, it uses a hardcoded partition table to know what files to upload at what offsets. You can change the partition table in main.c, lines 112 to 116.

Building

You should just be able to run make to build espminitool. You will need gcc installed to compile the program.

Usage

You'll want to make sure that the partition table is set up correctly (see the note above about where it's set in main.c). Once you've done that, make sure that the appropriate .bin files are located in the current working directory, with names matching what you set in main.c. Then, you can just do ./espminitool <serial port>, where <serial port> is the path to the serial port of your ESP32.

About

A tool that uploads code to an ESP32 microcontroller by talking to its bootloader over a serial port.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published