GithubHelp home page GithubHelp logo

tom-borcin / espflash Goto Github PK

View Code? Open in Web Editor NEW

This project forked from esp-rs/espflash

0.0 0.0 0.0 749 KB

Serial flasher utility for Espressif SoCs and modules based on esptool.py

Rust 99.45% Dockerfile 0.55%

espflash's Introduction

espflash

Actions Status Crates.io

Serial flasher utility for Espressif SoCs and modules based on esptool.py.

Currently supports the ESP32, ESP32-C3, ESP32-S2, ESP32-S3, and ESP8266.

cargo-espflash

cargo-espflash is a subcommand for Cargo which utilizes the espflash library. This tool integrates with your Cargo projects and handles compilation, flashing, and monitoring of target devices.

Please see the cargo-espflash README for more information.

Example

$ cargo espflash --release --example=blinky /dev/ttyUSB0

espflash

espflash is a standalone binary and library contained within the same crate. This tool does not integrate with Cargo, but supports all of the same features as cargo-espflash which are not related to compilation.

Please see the espflash README for more information.

Example

$ espflash /dev/ttyUSB0 target/xtensa-esp32-none-elf/release/examples/blinky

Installation

Either application can be installed using cargo as you normally would:

$ cargo install cargo-espflash
$ cargo install espflash

Alternatively, you can use cargo-binstall to install pre-compiled binaries on any supported system. Please check the releases to see which architectures and operating systems have pre-compiled binaries.

$ cargo binstall cargo-espflash
$ cargo binstall espflash

Notes on Building

Requires rustc >= 1.59.0 in order to build either application from source. In addition to the Rust toolchain libuv must also be present on your system; this can be installed via most popular package managers.

macOS

$ brew install libuv

Ubuntu

$ sudo apt-get install libuv-dev

Fedora

$ dnf install systemd-devel

License

Licensed under the GNU General Public License Version 2. See LICENSE for more details.

espflash's People

Contributors

icewind1991 avatar jessebraham avatar mabezdev avatar bjoernq avatar ryankurte avatar svenstaro avatar bugadani avatar jurajsadel avatar marcelbuesing avatar mertzt89 avatar kelnos avatar tpambor avatar nim65s avatar janrupf avatar andywwright avatar sirhcel avatar hanhossain avatar jendakol avatar ubergeek801 avatar kyrias avatar kerryrj avatar maximeborges avatar maspetsberger avatar mchodzikiewicz avatar pavlus avatar ducktec avatar alazartech avatar zredshift avatar sergiogasquez 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.