CONFIG_DEVICE_HANDLE_PADDING¶
Number of additional device handles to use for padding
Type: int
Help¶
This is a "fudge factor" which works around build system
limitations. It is safe to ignore unless you get a specific
build system error about it.
The option's value is the number of superfluous device handle
values which are introduced into the array pointed to by each
device's 'handles' member during the first linker pass.
Each handle uses 2 bytes, so a value of 3 would use an extra
6 bytes of ROM for every device.
Default¶
0
Kconfig definition¶
At kernel/Kconfig:291
Included via Kconfig:8
→ Kconfig.zephyr:40
Menu path: (Top) → General Kernel Options
config DEVICE_HANDLE_PADDING
int "Number of additional device handles to use for padding"
range 0 10
default 0
help
This is a "fudge factor" which works around build system
limitations. It is safe to ignore unless you get a specific
build system error about it.
The option's value is the number of superfluous device handle
values which are introduced into the array pointed to by each
device's 'handles' member during the first linker pass.
Each handle uses 2 bytes, so a value of 3 would use an extra
6 bytes of ROM for every device.
(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)