Skip to content

Add 'cargo espflash' subcommand - #1

Merged
icewind1991 merged 3 commits into
esp-rs:masterfrom
jessebraham:cargo-espflash
Sep 9, 2020
Merged

icewind1991 merged 3 commits into
esp-rs:masterfrom
jessebraham:cargo-espflash

Conversation

@jessebraham

Copy link
Copy Markdown
Member

This creates a cargo subcommand which compiles and flashes applications to ESP-based devices in a single command. It's still pretty rough around the edges, but has worked so far in my limited testing.

Usage:

$ cargo espflash [--ram] [--release] [--example EXAMPLE] --chip {esp32,esp8266} <serial>

Currently it requires xargo for cross-compilation, and I have only tested it on the ESP8266. I will do some more testing, but I just wanted to get some more eyes on it as well. Let me know if there's anything you'd like to see changed, or if you have any questions about anything.

@icewind1991
icewind1991 merged commit aa21479 into esp-rs:master Sep 9, 2020
@jessebraham
jessebraham deleted the cargo-espflash branch September 9, 2020 18:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants