Dániel Buga 99a0840ad6
RTOS: use FROM_CPUn interrupts for context switching on ESP32 (#4459)
* Extract magic constant

* Clean up a bit

* Make sure PS is appropriate

* Use FROM_CPU0 on ESP32 to yield

* Add a test case

* Undo esp-hal change

* Fix build on S2

* Fix esp-radio doc example

* Fix build
2025-11-07 09:22:09 +00:00
..
2025-10-14 14:54:27 +00:00

esp-rtos

Crates.io docs.rs MSRV Crates.io Matrix

An RTOS (Real-Time Operating System) implementation for esp-hal. This crate provides the runtime necessary to run async code on top of esp-hal, and implements the necessary capabilities (threads, queues, etc.) required by esp-radio.

Minimum Supported Rust Version (MSRV)

This crate is guaranteed to compile when using the latest stable Rust version at the time of the crate's release. It might compile with older versions, but that may change in any new release, including patches.

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.