Expand description
Attribute Macros§
- main_
avr - main_
cortex_ m - Creates a new
executor
instance and declares an application entry point for Cortex-M spawning the corresponding function body as an async task. - main_
riscv - Creates a new
executor
instance and declares an application entry point for RISC-V spawning the corresponding function body as an async task. - main_
spin - Creates a new
executor
instance and declares an architecture agnostic application entry point spawning the corresponding function body as an async task. - main_
std - Creates a new
executor
instance and declares an application entry point for STD spawning the corresponding function body as an async task. - main_
wasm - Creates a new
executor
instance and declares an application entry point for WASM spawning the corresponding function body as an async task. - task
- Declares an async task that can be run by
embassy-executor
. The optionalpool_size
parameter can be used to specify how many concurrent tasks can be spawned (default is 1) for the function.