esp-hal/esp-hal-embassy/esp_config.yml
2025-07-25 06:37:49 +00:00

50 lines
1.7 KiB
YAML

crate: esp-hal-embassy
options:
- name: low-power-wait
description:
"Enables the lower-power wait if no tasks are ready to run on the
thread-mode executor. This allows the MCU to use less power if the workload allows.
Recommended for battery-powered systems. May impact analog performance."
default:
- value: true
- name: timer-queue
description:
"The flavour of the timer queue provided by this crate. Integrated
queues require the `executors` feature to be enabled.</p><p>If you use
embassy-executor, the `single-integrated` queue is recommended for ease of use,
while the `multiple-integrated` queue is recommended for performance. The
`multiple-integrated` option needs one timer per executor.</p><p>The `generic`
queue allows using embassy-time without the embassy executors."
default:
- if: "ignore_feature_gates"
value: '"single-integrated"'
- if: 'cargo_feature("executors")'
value: '"single-integrated"'
- if: "true"
value: '"generic"'
constraints:
- if: 'cargo_feature("executors") || ignore_feature_gates'
type:
validator: enumeration
value:
- "generic"
- "single-integrated"
- "multiple-integrated"
- if: "true"
type:
validator: enumeration
value:
- "generic"
stability: Unstable
active: 'cargo_feature("executors") || ignore_feature_gates'
- name: generic-queue-size
description: The capacity of the queue when the `generic` timer queue flavour is selected.
default:
- value: 64
constraints:
- type:
validator: positive_integer