embassy/examples/stm32f4
bors[bot] 5923e143e3
Merge #1321
1321: executor: add Pender, rework Cargo features. r=Dirbaio a=Dirbaio

This introduces a `Pender` struct with enum cases for thread-mode, interrupt-mode and
custom callback executors. This avoids calls through function pointers when using only
the thread or interrupt executors. Faster, and friendlier to `cargo-call-stack`.

`embassy-executor` now has `arch-xxx` Cargo features to select the arch and to enable
the builtin executors (thread and interrupt).

Co-authored-by: Dario Nieuwenhuis <dirbaio@dirbaio.net>
2023-04-04 15:50:12 +00:00
..
.cargo Add env DEFMT_LOG=trace to all examples. 2022-06-18 01:59:12 +02:00
src/bin Merge #1321 2023-04-04 15:50:12 +00:00
build.rs Replace rustflags with build.rs extra-link-args. 2021-11-07 23:52:11 +01:00
Cargo.toml executor: add Pender, rework Cargo features. 2023-04-03 03:09:11 +02:00