-
CONFIG_LEGACY_TIMEOUT_API
¶
Support legacy k_timeout_t API
Type: bool
Help¶
The k_timeout_t API has changed to become an opaque type that must be initialized with macros. Older applications can choose this to continue using the old style of timeouts (which were int32_t counts of milliseconds), at the cost of not being able to use new features.
Defaults¶
No defaults. Implicitly defaults to n
.
Kconfig definition¶
At <Zephyr>/kernel/Kconfig:602
Included via <Zephyr>/Kconfig:8
→ <Zephyr>/Kconfig.zephyr:30
Menu path: (Top) → General Kernel Options
config LEGACY_TIMEOUT_API
bool "Support legacy k_timeout_t API"
help
The k_timeout_t API has changed to become an opaque type
that must be initialized with macros. Older applications
can choose this to continue using the old style of timeouts
(which were int32_t counts of milliseconds), at the cost of
not being able to use new features.
(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)