Skip to content

Basic up-to-date template for ESP8266 projects in rust

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

thecodechemist99/esp8266-rust

Folders and files

NameName
Last commit message
Last commit date

Latest commit

751bd51 · Feb 20, 2023

History

16 Commits
Dec 22, 2022
Dec 22, 2022
Dec 22, 2022
Dec 22, 2022
Feb 20, 2023
Dec 22, 2022
Dec 22, 2022
Feb 20, 2023
Dec 22, 2022
Dec 22, 2022

Repository files navigation

Basic Template for ESP8266 projects in rust

This package is based on the current versions of the included dependencies (as of 2023-02-20).

Dependency versions

Dependency Version Notes
esp8266-hal v0.5.1
esp32-hal v0.8.0
esp-backtrace v0.5.0 only used for ESP32, no ESP8266 support
esp-println v0.3.1
xtensa-lx-rt v0.15.0
panic-halt v0.2.0 currently necessary as esp-backtrace doesn't support ESP8266, the latter is preferred for ESP32

Toolchain Setup

The toolchain files and setup instructions from Espressif can be found here.

Create your Project

You can create a project from this template with cargo-generate:

# if not yet installed
cargo install cargo-generate

# create from template
cargo generate --git https://github.com/thecodechemist99/esp8266-rust

To test your setup and later compile and flash your code run:

cargo espflash --release --monitor /dev/<USB device>

You need to have cargo-espflash installed for this to work.

TODO

  • ESP32 config not checked on physical device yet (works in simulator)

Sources

This project is based upon:

For additional information, have a look into The Rust on ESP Book.

About

Basic up-to-date template for ESP8266 projects in rust

Topics

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages