1# Copyright (c) 2023 Espressif Systems (Shanghai) Co., Ltd.
2# SPDX-License-Identifier: Apache-2.0
3
4config FLASH_SIZE
5	int
6
7config FLASH_BASE_ADDRESS
8	hex
9
10config ESP32_USE_UNSUPPORTED_REVISION
11	bool "Use unsupported ESP32 revision (Rev 0/1)"
12	help
13	  ESP32 SoC has multiple revisions, some of which are not supported by the current
14	  implementation, as such as REV0 and REV1. In case those revisions are required,
15	  set this option to enable support for them. Note that this is not recommended and
16	  may lead to unexpected behavior.
17
18config ESP_SIMPLE_BOOT
19	bool "Simple Boot method"
20	default y if !BOOTLOADER_MCUBOOT && !MCUBOOT
21	help
22	  The Simple Boot is a booting method that doesn't need a 2nd stage bootloader.
23	  Output is a single image that should be flashed at an offset defined by used SOC.
24	  Please note that this method brings the system up with all memories set-up, but
25	  all other features, such as secure boot OTA or slots management are not available.
26
27config ESP32_TIMER_TASK_STACK_SIZE
28	int "Stack size of the high resolution ESP Timer"
29	default 4096
30	help
31	  Set the stack size for the internal high resolution ESP Timer
32	  used in Wi-Fi and BLE peripherals.
33
34config ESP32_TIMER_TASK_PRIO
35	int "Task priority of the high resolution ESP Timer"
36	default 3
37	help
38	  Set the task priority for the internal high resolution ESP Timer
39	  used in Wi-Fi and BLE peripherals.
40
41if (BT_ESP32 || WIFI_ESP32)
42
43config ESP32_PHY_MAX_TX_POWER
44	int "Max Wi-Fi/BLE TX power (dBm)"
45	range 10 20
46	default 20
47	help
48	  Set maximum transmit power for Wi-Fi radio. Actual transmit power for high
49	  data rates may be lower than this setting.
50
51config ESP32_SW_COEXIST_ENABLE
52	bool "Software controls Wi-Fi/Bluetooth coexistence"
53	default y if (BT_ESP32 && WIFI_ESP32)
54	help
55	  If enabled, Wi-Fi & Bluetooth coexistence is controlled by software rather than hardware.
56	  Recommended for heavy traffic scenarios. Both coexistence configuration options are
57	  automatically managed, no user intervention is required.
58	  If only Bluetooth is used, it is recommended to disable this option to reduce binary file
59	  size.
60
61endif
62
63rsource "Kconfig.amp"
64rsource "Kconfig.console"
65rsource "Kconfig.spiram"
66rsource "Kconfig.esptool"
67rsource "Kconfig.flash"
68