2019-04-06 21:08:09 +08:00
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
2018-09-04 21:32:07 +08:00
|
|
|
choice
|
|
|
|
prompt "SoC/CPU/Configuration Selection"
|
|
|
|
|
2018-09-05 03:34:06 +08:00
|
|
|
source "$(SOC_DIR)/$(ARCH)/*/Kconfig.soc"
|
2018-09-04 21:32:07 +08:00
|
|
|
|
|
|
|
endchoice
|
|
|
|
|
|
|
|
menu "Hardware Configuration"
|
2018-08-09 20:47:27 +08:00
|
|
|
osource "$(SOC_DIR)/$(ARCH)/Kconfig"
|
2018-09-05 03:34:06 +08:00
|
|
|
osource "$(SOC_DIR)/$(ARCH)/*/Kconfig"
|
2018-09-04 21:32:07 +08:00
|
|
|
|
2018-09-17 23:39:56 +08:00
|
|
|
|
|
|
|
module = SOC
|
|
|
|
module-str = SOC
|
|
|
|
source "subsys/logging/Kconfig.template.log_config"
|
|
|
|
|
2018-09-04 21:32:07 +08:00
|
|
|
endmenu
|
2018-10-03 21:51:11 +08:00
|
|
|
|
|
|
|
# The helper symbols below are put here due to an unusual setup: The simulated
|
|
|
|
# nrf52_bsim board uses the POSIX arch, but is compatible with Nordic ARM
|
|
|
|
# boards
|
|
|
|
|
|
|
|
config SOC_COMPATIBLE_NRF
|
|
|
|
bool
|
|
|
|
|
|
|
|
config SOC_COMPATIBLE_NRF52X
|
|
|
|
bool
|
|
|
|
|
|
|
|
config SOC_COMPATIBLE_NRF52832
|
|
|
|
bool
|
2018-10-20 01:15:19 +08:00
|
|
|
|
|
|
|
#
|
|
|
|
# SOC_*_LD: SoC specific Linker script additions
|
|
|
|
#
|
2019-03-18 23:08:42 +08:00
|
|
|
|
2019-07-18 01:17:05 +08:00
|
|
|
if ARC || ARM || X86 || NIOS2 || RISCV
|
2019-03-18 23:08:42 +08:00
|
|
|
|
2018-10-20 01:15:19 +08:00
|
|
|
config SOC_NOINIT_LD
|
|
|
|
bool
|
|
|
|
help
|
2019-03-20 20:00:39 +08:00
|
|
|
Note: This is deprecated, use Cmake function zephyr_linker_sources() instead.
|
2018-10-20 01:15:19 +08:00
|
|
|
Include an SoC specific linker script fragment named soc-noinit.ld
|
|
|
|
for inserting additional data and linker directives into
|
|
|
|
the noinit section.
|
|
|
|
|
|
|
|
This only has effect if the SoC uses the common linker script
|
|
|
|
under include/arch/.
|
|
|
|
|
|
|
|
config SOC_RODATA_LD
|
|
|
|
bool
|
|
|
|
help
|
2019-03-20 20:00:39 +08:00
|
|
|
Note: This is deprecated, use Cmake function zephyr_linker_sources() instead.
|
2018-10-20 01:15:19 +08:00
|
|
|
Include an SoC specific linker script fragment named soc-rodata.ld
|
|
|
|
for inserting additional data and linker directives into
|
|
|
|
the rodata section.
|
|
|
|
|
|
|
|
This only has effect if the SoC uses the common linker script
|
|
|
|
under include/arch/.
|
|
|
|
|
|
|
|
config SOC_RWDATA_LD
|
|
|
|
bool
|
|
|
|
help
|
2019-03-20 20:00:39 +08:00
|
|
|
Note: This is deprecated, use Cmake function zephyr_linker_sources() instead.
|
2018-10-20 01:15:19 +08:00
|
|
|
Include an SoC specific linker script fragment named soc-rwdata.ld
|
|
|
|
for inserting additional data and linker directives into
|
|
|
|
the data section.
|
|
|
|
|
|
|
|
This only has effect if the SoC uses the common linker script
|
|
|
|
under include/arch/.
|
2019-03-18 23:08:42 +08:00
|
|
|
|
2019-07-18 01:17:05 +08:00
|
|
|
endif # ARC || ARM || X86 || NIOS2 || RISCV
|
2020-01-09 09:10:51 +08:00
|
|
|
|
|
|
|
config SOC_DEPRECATED_RELEASE
|
|
|
|
string
|
|
|
|
help
|
|
|
|
This hidden option is set in the SoC configuration and indicates
|
|
|
|
the Zephyr release that the SoC configuration will be removed.
|
|
|
|
When set, any build for that SoC will generate a clearly visible
|
|
|
|
deprecation warning.
|