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 ESP_HEAP_RUNTIME
28	bool
29	default y
30	help
31	  Enabling this will allocate SRAM area starting from the last linked data at the symbolic `_end`,
32	  ending at the last memory location that can be safely accessed (depending on a boot mode).
33	  This is a memory pool used in runtime to create a new heap memory.
34
35config ESP32_TIMER_TASK_STACK_SIZE
36	int "Stack size of the high resolution ESP Timer"
37	default 4096
38	help
39	  Set the stack size for the internal high resolution ESP Timer
40	  used in Wi-Fi and BLE peripherals.
41
42config ESP32_TIMER_TASK_PRIO
43	int "Task priority of the high resolution ESP Timer"
44	default 3
45	help
46	  Set the task priority for the internal high resolution ESP Timer
47	  used in Wi-Fi and BLE peripherals.
48
49if (BT_ESP32 || WIFI_ESP32)
50
51config ESP32_PHY_MAX_TX_POWER
52	int "Max Wi-Fi/BLE TX power (dBm)"
53	range 10 20
54	default 20
55	help
56	  Set maximum transmit power for Wi-Fi radio. Actual transmit power for high
57	  data rates may be lower than this setting.
58
59endif
60
61rsource "Kconfig.amp"
62rsource "Kconfig.spiram"
63rsource "Kconfig.esptool"
64rsource "Kconfig.flash"
65