Closed MaValki closed 1 year ago
In order to compile both feature and target has to be used:
cargo build --features esp32 --target xtensa-esp32-none-elf --release
If anyone happen to know how to specify target in .cargo/config.toml
based on provided feature, please share.
@DNedic @jessebraham @jessebraham PTAL
This MR adds support for ESP32. Adding another target as well as switching to latest
esp-hal
made for significant changes, therefore I decided to merge it directly intomain
branch as opposed todev
branch. Comments were incorporated to this branch, except for usingheapless::Deque
instead ofheapless::spsc::Queue
, due to performance reasons on esp32c3 (rustc 1.64.0-nightly).