embassy/examples/stm32l0
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 Fix interrupt handling so it is similar to before the rework, and fix examples 2023-03-31 15:57:35 +02:00
build.rs examples/stm32l0: cleanup 2022-01-19 17:59:55 +01:00
Cargo.toml executor: add Pender, rework Cargo features. 2023-04-03 03:09:11 +02:00