CONFIG_OS_MGMT_TASKSTAT_SIGNED_PRIORITY
Enable signed priorities
Type: bool
Help
Zephyr uses int8_t as thread priorities, but in taskstat response it encodes
them as unsigned. Enabling this option will use signed int for priorities in
responses, which is more natural for Zephyr.
Enable this option only if your client software is able to properly decode
and accept signed integers as priorities.
Direct dependencies
OS_MGMT_TASKSTAT
&& MCUMGR_CMD_OS_MGMT
&& MCUMGR
(Includes any dependencies from ifs and menus.)
Defaults
No defaults. Implicitly defaults to n
.
Kconfig definition
At <Subsystem>/mgmt/mcumgr/Kconfig:289
Included via Kconfig:8
→ Kconfig.zephyr:44
→ <Subsystem>/Kconfig:35
→ <Subsystem>/mgmt/Kconfig:9
Menu path: (Top) → Sub Systems and OS Services → Device Management → mcumgr Support → Command Handlers → Enable mcumgr handlers for OS management → Support for taskstat command
config OS_MGMT_TASKSTAT_SIGNED_PRIORITY
bool "Enable signed priorities"
depends on OS_MGMT_TASKSTAT && MCUMGR_CMD_OS_MGMT && MCUMGR
help
Zephyr uses int8_t as thread priorities, but in taskstat response it encodes
them as unsigned. Enabling this option will use signed int for priorities in
responses, which is more natural for Zephyr.
Enable this option only if your client software is able to properly decode
and accept signed integers as priorities.
(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)