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
|
|
|
|
#
|
|
|
|
config SOC_NOINIT_LD
|
|
|
|
bool
|
|
|
|
depends on (ARC || ARM || X86 || NIOS2 || RISCV32)
|
|
|
|
help
|
|
|
|
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
|
|
|
|
depends on (ARC || ARM || X86 || NIOS2 || RISCV32)
|
|
|
|
help
|
|
|
|
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
|
|
|
|
depends on (ARC || ARM || X86 || NIOS2 || RISCV32)
|
|
|
|
help
|
|
|
|
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/.
|