Cargo Features
task-watchdog has no features set by default.
[dependencies]
task-watchdog = { version = "0.1.2", features = ["rp2040-embassy", "rp2350-embassy", "stm32-embassy", "esp32-embassy", "nrf-embassy", "defmt-embassy-rp", "defmt-embassy-stm32", "defmt-embassy-esp32", "defmt-embassy-nrf", "defmt", "rp2040-hal", "rp2350-hal", "alloc", "embassy", "defmt-embassy", "cortex-m", "embassy-common", "embassy-embedded-hal", "esp-backtrace"] }
- default
-
Default features (none)
- rp2040-embassy = embassy-common
-
Use for embassy (async support) for the specified microcontroller
Enables rp2040 of embassy-rp
Affects
task-watchdog::embassy_rp
… - rp2350-embassy = embassy-common
-
Enables rp235xa of embassy-rp
embassy-rp:
Configure the hal for use with the rp235xA
Affects
task-watchdog::embassy_rp
… - stm32-embassy = embassy-common, embassy-stm32
-
Affects
task-watchdog::embassy_stm32
… - esp32-embassy = embassy
-
Enables critical-section, esp32 and unstable of esp-hal, esp32 of esp-hal-embassy
Affects
task-watchdog::embassy_esp32
… - nrf-embassy = embassy-common
-
Enables time and time-driver-rtc1 of embassy-nrf
Affects
task-watchdog::embassy_nrf
… - defmt-embassy-rp = defmt-embassy
-
Use alongside rp2040/rp2350/stm32/esp32-embassy to add defmt support
Enables executor-interrupt and executor-thread of embassy-executor, defmt of embassy-rp
- defmt-embassy-stm32 = defmt-embassy
-
Enables executor-interrupt and executor-thread of embassy-executor and defmt of embassy-stm32
embassy-stm32:
Use
defmt
for logging - defmt-embassy-esp32 = defmt-embassy
-
Enables defmt of esp-hal and esp-hal-embassy
esp-hal:
Trait Implementation Feature Flags
Implement
defmt::Format
on certain types. - defmt-embassy-nrf = defmt-embassy
-
Enables executor-interrupt and executor-thread of embassy-executor and defmt of embassy-nrf
embassy-nrf:
Enable defmt
- defmt defmt-embassy?
-
Use defmt logging
Enables defmt ^0.3
Affects
task-watchdog::Id
,task-watchdog::Id
… - rp2040-hal = cortex-m, embedded-hal
-
Use for rp2040/rp2350 HAL sync support
Enables cortex-m-rt and rp2040-hal, critical-section-single-core of cortex-m
Affects
task-watchdog::rp_hal.RpHalClock
,task-watchdog::rp_hal
… - rp2350-hal = cortex-m, embedded-hal
-
Enables cortex-m-rt and rp235x-hal, critical-section-single-core of cortex-m
Affects
task-watchdog::rp_hal.RpHalClock
,task-watchdog::rp_hal
… - alloc
-
Dynamically allocate memory for task monitoring. If not enabled, a fixed size task array will be used (and not enabling this is the recommended approach for embedded devices).
Affects
task-watchdog::Id
,task-watchdog::Watchdog
,task-watchdog::embassy_rp.WatchdogRunner
,task-watchdog::embassy_rp.WatchdogTask
,task-watchdog::embassy_rp.watchdog_run
,task-watchdog::embassy_stm32.WatchdogRunner
,task-watchdog::embassy_stm32.WatchdogTask
,task-watchdog::embassy_stm32.watchdog_run
,task-watchdog::embassy_nrf.WatchdogRunner
,task-watchdog::embassy_nrf.WatchdogTask
,task-watchdog::embassy_nrf.watchdog_run
,task-watchdog::embassy_esp32.WatchdogRunner
,task-watchdog::embassy_esp32.WatchdogTask
,task-watchdog::embassy_esp32.watchdog_run
,task-watchdog::Id
… - embassy embassy-common? esp32-embassy?
-
The following features are used internally - do not specify explicitly
Enables embassy-executor, embassy-sync, and embassy-time
Affects
task-watchdog::EmbassyClock
… - defmt-embassy defmt-embassy-esp32? defmt-embassy-nrf? defmt-embassy-rp? defmt-embassy-stm32? = defmt
-
Enables defmt ^0.3, defmt of embassy-executor, embassy-sync, and embassy-time
- cortex-m embassy-common? rp2040-hal? rp2350-hal?
-
Enables cortex-m
- embassy-common nrf-embassy? rp2040-embassy? rp2350-embassy? stm32-embassy? = cortex-m, embassy
-
Enables cortex-m-rt and arch-cortex-m of embassy-executor
embassy-executor:
Cortex-M
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.
- embassy-rp defmt-embassy-rp? rp2040-embassy? rp2350-embassy?
- embassy-embedded-hal implicit feature
-
Enables embassy-embedded-hal
embassy-embedded-hal:
Collection of utilities to use
embedded-hal
andembedded-storage
traits with Embassy - embassy-stm32 defmt-embassy-stm32? stm32-embassy?
- embedded-hal rp2040-hal? rp2350-hal?
- esp-backtrace implicit feature
-
Enables esp-backtrace
esp-backtrace:
Bare-metal backtrace support for Espressif devices