2016-08-23 03:02:27 -04:00
|
|
|
menu "ESP32-specific config"
|
2016-08-17 11:08:22 -04:00
|
|
|
|
2016-09-13 06:10:58 -04:00
|
|
|
choice ESP32_DEFAULT_CPU_FREQ_MHZ
|
|
|
|
prompt "CPU frequency"
|
|
|
|
default ESP32_DEFAULT_CPU_FREQ_240
|
|
|
|
help
|
|
|
|
CPU frequency to be set on application startup.
|
|
|
|
|
|
|
|
config ESP32_DEFAULT_CPU_FREQ_80
|
|
|
|
bool "80 MHz"
|
|
|
|
config ESP32_DEFAULT_CPU_FREQ_160
|
|
|
|
bool "160 MHz"
|
|
|
|
config ESP32_DEFAULT_CPU_FREQ_240
|
|
|
|
bool "240 MHz"
|
|
|
|
endchoice
|
|
|
|
|
|
|
|
config ESP32_DEFAULT_CPU_FREQ_MHZ
|
|
|
|
int
|
|
|
|
default 80 if ESP32_DEFAULT_CPU_FREQ_80
|
|
|
|
default 160 if ESP32_DEFAULT_CPU_FREQ_160
|
|
|
|
default 240 if ESP32_DEFAULT_CPU_FREQ_240
|
|
|
|
|
2016-09-22 06:36:23 -04:00
|
|
|
choice ESP32_WIFI_OR_BT
|
|
|
|
prompt "Select stack to enable (WiFi or BT)"
|
|
|
|
default ESP32_ENABLE_WIFI
|
|
|
|
help
|
|
|
|
Temporarily, WiFi and BT stacks can not be used at the same time.
|
|
|
|
Select which stack to enable.
|
|
|
|
|
|
|
|
config ESP32_ENABLE_STACK_WIFI
|
|
|
|
bool "WiFi"
|
|
|
|
select WIFI_ENABLED if ESP32_ENABLE_STACK_WIFI
|
|
|
|
config ESP32_ENABLE_STACK_BT
|
|
|
|
bool "BT"
|
|
|
|
select MEMMAP_BT if ESP32_ENABLE_STACK_BT
|
|
|
|
select BT_ENABLED if ESP32_ENABLE_STACK_BT
|
|
|
|
config ESP32_ENABLE_STACK_NONE
|
|
|
|
bool "None"
|
|
|
|
endchoice
|
|
|
|
|
|
|
|
config MEMMAP_BT
|
|
|
|
bool
|
|
|
|
depends on ESP32_ENABLE_STACK_BT
|
|
|
|
help
|
|
|
|
The Bluetooth stack uses memory that cannot be used as generic memory anymore. This
|
|
|
|
reserves the space for that within the memory map of the compiled binary.
|
|
|
|
This option is required to enable BT stack.
|
|
|
|
Temporarily, this option is not compatible with WiFi stack.
|
|
|
|
|
|
|
|
config MEMMAP_SMP
|
|
|
|
bool "Reserve memory for two cores"
|
|
|
|
default "y"
|
|
|
|
help
|
|
|
|
The ESP32 contains two cores. If you plan to only use one, you can disable this item
|
|
|
|
to save some memory. (ToDo: Make this automatically depend on unicore support)
|
|
|
|
|
|
|
|
config MEMMAP_TRACEMEM
|
|
|
|
bool "Use TRAX tracing feature"
|
|
|
|
default "n"
|
|
|
|
help
|
|
|
|
The ESP32 contains a feature which allows you to trace the execution path the processor
|
|
|
|
has taken through the program. This is stored in a chunk of 32K (16K for single-processor)
|
|
|
|
of memory that can't be used for general purposes anymore. Disable this if you do not know
|
|
|
|
what this is.
|
|
|
|
|
2016-09-28 00:27:25 -04:00
|
|
|
# Memory to reverse for trace, used in linker script
|
|
|
|
config TRACEMEM_RESERVE_DRAM
|
|
|
|
hex
|
|
|
|
default 0x8000 if MEMMAP_TRACEMEM
|
|
|
|
default 0x0
|
|
|
|
|
2016-09-22 06:36:23 -04:00
|
|
|
config MEMMAP_SPISRAM
|
|
|
|
bool "Use external SPI SRAM chip as main memory"
|
|
|
|
default "n"
|
|
|
|
help
|
|
|
|
The ESP32 can control an external SPI SRAM chip, adding the memory it contains to the
|
|
|
|
main memory map. Enable this if you have this hardware and want to use it in the same
|
|
|
|
way as on-chip RAM.
|
|
|
|
|
2016-08-17 11:08:22 -04:00
|
|
|
config WIFI_ENABLED
|
2016-09-22 06:36:23 -04:00
|
|
|
bool
|
2016-08-17 11:08:22 -04:00
|
|
|
default "y"
|
2016-09-22 06:36:23 -04:00
|
|
|
depends on ESP32_ENABLE_STACK_WIFI
|
2016-08-17 11:08:22 -04:00
|
|
|
help
|
|
|
|
This compiles in the low-level WiFi stack.
|
|
|
|
|
2016-09-28 01:24:58 -04:00
|
|
|
Temporarily, this option is not compatible with BT stack.
|
2016-09-04 22:02:11 -04:00
|
|
|
|
2016-09-14 01:26:17 -04:00
|
|
|
config SYSTEM_EVENT_QUEUE_SIZE
|
2016-09-25 12:50:57 -04:00
|
|
|
int "System event queue size"
|
2016-08-17 11:08:22 -04:00
|
|
|
default 32
|
|
|
|
help
|
2016-09-14 00:55:41 -04:00
|
|
|
Config system event queue size in different application.
|
2016-08-17 11:08:22 -04:00
|
|
|
|
2016-09-14 00:55:41 -04:00
|
|
|
config SYSTEM_EVENT_TASK_STACK_SIZE
|
2016-09-25 12:50:57 -04:00
|
|
|
int "Event loop task stack size"
|
2016-08-17 11:08:22 -04:00
|
|
|
default 2048
|
2016-09-25 12:50:57 -04:00
|
|
|
help
|
|
|
|
Config system event task stack size in different application.
|
|
|
|
|
|
|
|
|
|
|
|
config MAIN_TASK_STACK_SIZE
|
|
|
|
int "Main task stack size"
|
|
|
|
default 4096
|
2016-08-17 11:08:22 -04:00
|
|
|
help
|
2016-09-14 00:55:41 -04:00
|
|
|
Config system event task stack size in different application.
|
2016-08-17 11:08:22 -04:00
|
|
|
|
2016-08-23 03:02:27 -04:00
|
|
|
|
|
|
|
config NEWLIB_STDOUT_ADDCR
|
2016-09-28 01:24:58 -04:00
|
|
|
bool "Standard-out output adds carriage return before newline"
|
|
|
|
default y
|
|
|
|
help
|
|
|
|
Most people are used to end their printf strings with a newline. If this
|
|
|
|
is sent as is to the serial port, most terminal programs will only move the
|
|
|
|
cursor one line down, not also move it to the beginning of the line. This
|
|
|
|
is usually done by an added CR character. Enabling this will make the
|
|
|
|
standard output code automatically add a CR character before a LF.
|
2016-08-23 03:02:27 -04:00
|
|
|
|
2016-09-20 21:24:02 -04:00
|
|
|
config ULP_COPROC_ENABLED
|
|
|
|
bool "Enable Ultra Low Power (ULP) Coprocessor"
|
|
|
|
default "n"
|
|
|
|
help
|
2016-09-28 01:24:58 -04:00
|
|
|
Set to 'y' if you plan to load a firmware for the coprocessor.
|
2016-09-20 21:24:02 -04:00
|
|
|
|
2016-09-28 01:24:58 -04:00
|
|
|
If this option is enabled, further coprocessor configuration will appear in the Components menu.
|
2016-09-20 21:24:02 -04:00
|
|
|
|
|
|
|
config ULP_COPROC_RESERVE_MEM
|
2016-09-28 01:24:58 -04:00
|
|
|
int "RTC slow memory reserved for coprocessor"
|
|
|
|
default 512
|
|
|
|
range 32 8192
|
|
|
|
depends on ULP_COPROC_ENABLED
|
|
|
|
help
|
|
|
|
Bytes of memory to reserve for ULP coprocessor firmware & data.
|
2016-09-20 21:24:02 -04:00
|
|
|
|
2016-09-28 01:24:58 -04:00
|
|
|
Data is reserved at the beginning of RTC slow memory.
|
2016-09-20 21:24:02 -04:00
|
|
|
|
|
|
|
# Set CONFIG_ULP_COPROC_RESERVE_MEM to 0 if ULP is disabled
|
|
|
|
config ULP_COPROC_RESERVE_MEM
|
2016-09-28 01:24:58 -04:00
|
|
|
int
|
|
|
|
default 0
|
|
|
|
depends on !ULP_COPROC_ENABLED
|
2016-09-20 21:24:02 -04:00
|
|
|
|
2016-08-17 11:08:22 -04:00
|
|
|
endmenu
|