2019-04-06 21:08:09 +08:00
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
2020-01-10 06:20:44 +08:00
|
|
|
config BOARD_DEPRECATED_RELEASE
|
2016-10-20 04:05:35 +08:00
|
|
|
string
|
|
|
|
help
|
2017-12-13 23:08:21 +08:00
|
|
|
This hidden option is set in the board configuration and indicates
|
|
|
|
the Zephyr release that the board configuration will be removed.
|
|
|
|
When set, any build for that board will generate a clearly visible
|
|
|
|
deprecation warning.
|
2016-10-20 04:05:35 +08:00
|
|
|
|
2017-07-26 20:08:21 +08:00
|
|
|
config QEMU_TARGET
|
2017-08-01 04:38:03 +08:00
|
|
|
bool
|
2017-07-26 20:08:21 +08:00
|
|
|
help
|
|
|
|
Mark all QEMU targets with this variable for checking whether we are
|
|
|
|
running in an emulated environment.
|
|
|
|
|
2018-09-05 18:58:05 +08:00
|
|
|
# Note: $BOARD_DIR might be a glob pattern
|
2018-05-08 15:31:48 +08:00
|
|
|
|
2015-12-13 18:54:28 +08:00
|
|
|
choice
|
2019-11-01 17:24:07 +08:00
|
|
|
prompt "Board Selection"
|
|
|
|
|
2018-09-05 19:10:19 +08:00
|
|
|
source "$(BOARD_DIR)/Kconfig.board"
|
2019-11-01 17:24:07 +08:00
|
|
|
|
2015-12-13 18:54:28 +08:00
|
|
|
endchoice
|
|
|
|
|
2019-11-22 17:37:01 +08:00
|
|
|
# Parse shields references
|
|
|
|
# Don't do it as a menuconfig, as shield selection is a CMake feature.
|
2021-06-02 14:47:21 +08:00
|
|
|
# This loads custom shields Kconfig (from BOARD_ROOT)
|
|
|
|
osource "$(KCONFIG_BINARY_DIR)/Kconfig.shield"
|
|
|
|
# This loads Zephyr base shield defconfigs
|
|
|
|
rsource "shields/*/Kconfig.shield"
|
2015-12-13 18:54:28 +08:00
|
|
|
|
2016-03-16 01:27:39 +08:00
|
|
|
menu "Board Options"
|
2020-05-12 08:44:51 +08:00
|
|
|
config QEMU_ICOUNT
|
|
|
|
bool "QEMU icount mode"
|
|
|
|
depends on QEMU_TARGET
|
2020-06-17 23:26:51 +08:00
|
|
|
default y if !NETWORKING && !BT
|
2020-05-12 08:44:51 +08:00
|
|
|
help
|
|
|
|
Enable QEMU virtual instruction counter. The virtual cpu will
|
|
|
|
execute one instruction every 2^N ns of virtual time. This will
|
|
|
|
give deterministic execution times from the guest point of view.
|
|
|
|
|
2020-05-20 03:24:25 +08:00
|
|
|
config QEMU_ICOUNT_SHIFT
|
|
|
|
int "QEMU icount shift value"
|
|
|
|
depends on QEMU_ICOUNT
|
|
|
|
help
|
|
|
|
The virtual CPU will execute one instruction every 2^N nanoseconds
|
|
|
|
of virtual time, where N is the value provided here.
|
|
|
|
|
2020-12-11 16:52:09 +08:00
|
|
|
config QEMU_IVSHMEM_PLAIN_MEM_SIZE
|
|
|
|
int "QEMU ivshmem-plain shared memory size in mega-bytes"
|
|
|
|
default 1
|
|
|
|
depends on QEMU_TARGET && IVSHMEM && !IVSHMEM_DOORBELL
|
|
|
|
help
|
|
|
|
This sets the size of the shared memory when using ivshmem-plain
|
|
|
|
device in Qemu. Note that it's in mega-bytes, so 1 means 1M for Qemu
|
|
|
|
etc..
|
|
|
|
|
2018-08-14 13:20:30 +08:00
|
|
|
# There might not be any board options, hence the optional source
|
2018-09-05 19:10:19 +08:00
|
|
|
osource "$(BOARD_DIR)/Kconfig"
|
2016-03-16 01:27:39 +08:00
|
|
|
endmenu
|
2020-08-06 03:57:00 +08:00
|
|
|
|
|
|
|
config BOARD_HAS_TIMING_FUNCTIONS
|
|
|
|
bool
|
|
|
|
help
|
|
|
|
Should be selected if board provides custom method for retrieving
|
|
|
|
timestamps and cycle count.
|