5923e143e3
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> |
||
---|---|---|
.. | ||
adc.rs | ||
blinky.rs | ||
button_exti.rs | ||
button.rs | ||
can.rs | ||
dac.rs | ||
flash.rs | ||
hello.rs | ||
i2c.rs | ||
mco.rs | ||
multiprio.rs | ||
pwm.rs | ||
sdmmc.rs | ||
spi_dma.rs | ||
spi.rs | ||
usart_buffered.rs | ||
usart_dma.rs | ||
usart.rs | ||
usb_ethernet.rs | ||
usb_serial.rs | ||
wdt.rs |