Cargo Features
RTIC has no features set by default.
[dependencies]
rtic = { version = "2.1.2", features = ["thumbv6-backend", "thumbv7-backend", "thumbv8base-backend", "thumbv8main-backend", "riscv-esp32c3-backend", "riscv-clint-backend", "test-critical-section"] }
- thumbv6-backend = cortex-m
-
Enables cortex-m-source-masking of rtic-macros
rtic-macros:
list of supported codegen backends
- thumbv7-backend = cortex-m
-
Enables cortex-m-basepri of rtic-macros
- thumbv8base-backend = cortex-m
-
Enables cortex-m-source-masking of rtic-macros
- thumbv8main-backend = cortex-m
-
Enables cortex-m-basepri of rtic-macros
- riscv-esp32c3-backend = esp32c3, riscv
-
Enables riscv-esp32c3 of rtic-macros
- riscv-clint-backend = riscv
-
Enables riscv-slic of rtic-macros and clint-backend of riscv-slic
riscv-slic:
enable this feature to use the CLINT peripheral as SWI backend
- test-critical-section
-
needed for testing
Enables critical-section of portable-atomic
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.
- riscv-slic riscv-clint-backend?
- esp32c3 riscv-esp32c3-backend?
- riscv riscv-clint-backend? riscv-esp32c3-backend?
-
Affects
export::riscv_common
… - cortex-m thumbv6-backend? thumbv7-backend? thumbv8base-backend? thumbv8main-backend?