-
CONFIG_CUSTOM_LINKER_SCRIPT
¶
Path to custom linker script
Type: string
Help¶
Path to the linker script to be used instead of the one define by the board.
The linker script must be based on a version provided by Zephyr since the kernel can expect a certain layout/certain regions.
This is useful when an application needs to add sections into the linker script and avoid having to change the script provided by Zephyr.
Defaults¶
No defaults. Implicitly defaults to the empty string.
Kconfig definition¶
At Kconfig.zephyr:138
Included via Kconfig:10
Menu path: (top menu) → Build and Link Features → Linker Options
config CUSTOM_LINKER_SCRIPT string prompt "Path to custom linker script" ifHAVE_CUSTOM_LINKER_SCRIPT
depends onHAVE_CUSTOM_LINKER_SCRIPT
help Path to the linker script to be used instead of the one define by the board. The linker script must be based on a version provided by Zephyr since the kernel can expect a certain layout/certain regions. This is useful when an application needs to add sections into the linker script and avoid having to change the script provided by Zephyr.
(Definitions include propagated dependencies, including from if’s and menus.)