An internet radio written in Rust.
[!WARNING] Under construction
-
Use Embassy (see Embassy on ESP: Getting Started )
-
ESP Rust installtion set up environment variable. A file was created at 'C:\Users\T440s\export-esp.ps1' showing the injected environment variables.
-
Generated rust project with
cargo generate esp-rs/esp-template
. See the GitHub repo. Project is calledcontroller
. -
Embassy code examples taken from https://github.com/esp-rs/esp-hal/tree/main/examples/src/bin
-
Using the ESP32-C3-DevKitM-1 board
-
How to use Embassy in the Embassy Book
-
Instead of implementing a buffer, try using an Embassy
Channel
. See this example -
HHTP Client: Possible crates to try: https://docs.embassy.dev/embassy-net/... https://github.com/smoltcp-rs/smoltcp https://github.com/drogue-iot/reqwless https://crates.io/crates/picoserve
-
HTTP no-std example: https://github.com/Nereuxofficial/nostd-wifi-lamp/blob/main/src/main.rs
-
Useful video on how to do wifi and http connectionwith
reqwless
is here. Also using his code from GitHub