2022-01-12 14:36:51 -05:00
|
|
|
#
|
|
|
|
# Espressif IoT Development Framework (ESP-IDF) Project Configuration
|
|
|
|
#
|
|
|
|
CONFIG_IDF_TARGET_ARCH_XTENSA=y
|
|
|
|
CONFIG_IDF_TARGET="esp32s2"
|
|
|
|
CONFIG_IDF_TARGET_ESP32S2=y
|
|
|
|
CONFIG_IDF_FIRMWARE_CHIP_ID=0x0002
|
|
|
|
# end of Espressif IoT Development Framework (ESP-IDF) Project Configuration
|
|
|
|
|
|
|
|
CONFIG_SDK_TOOLPREFIX="xtensa-esp32s2-elf-"
|
|
|
|
#
|
|
|
|
# Bootloader config
|
|
|
|
#
|
|
|
|
CONFIG_BOOTLOADER_OFFSET_IN_FLASH=0x1000
|
|
|
|
# end of Bootloader config
|
|
|
|
|
|
|
|
# CONFIG_ESP32S2_DEFAULT_CPU_FREQ_80 is not set
|
|
|
|
#
|
|
|
|
# ESP32S2-specific
|
|
|
|
#
|
|
|
|
# CONFIG_ESP32S2_DEFAULT_CPU_FREQ_160 is not set
|
|
|
|
CONFIG_ESP32S2_DEFAULT_CPU_FREQ_240=y
|
|
|
|
CONFIG_ESP32S2_DEFAULT_CPU_FREQ_MHZ=240
|
|
|
|
# end of ESP32S2-specific
|
|
|
|
|
|
|
|
# CONFIG_ESP32S2_INSTRUCTION_CACHE_8KB is not set
|
|
|
|
#
|
|
|
|
# Cache config
|
|
|
|
#
|
|
|
|
CONFIG_ESP32S2_INSTRUCTION_CACHE_16KB=y
|
|
|
|
# CONFIG_ESP32S2_INSTRUCTION_CACHE_LINE_16B is not set
|
|
|
|
CONFIG_ESP32S2_INSTRUCTION_CACHE_LINE_32B=y
|
|
|
|
# CONFIG_ESP32S2_DATA_CACHE_0KB is not set
|
|
|
|
# CONFIG_ESP32S2_DATA_CACHE_8KB is not set
|
|
|
|
CONFIG_ESP32S2_DATA_CACHE_16KB=y
|
|
|
|
# CONFIG_ESP32S2_DATA_CACHE_LINE_16B is not set
|
|
|
|
CONFIG_ESP32S2_DATA_CACHE_LINE_32B=y
|
|
|
|
# CONFIG_ESP32S2_INSTRUCTION_CACHE_WRAP is not set
|
|
|
|
# CONFIG_ESP32S2_DATA_CACHE_WRAP is not set
|
|
|
|
# end of Cache config
|
|
|
|
|
|
|
|
# CONFIG_ESP32S2_TRAX is not set
|
|
|
|
CONFIG_ESP32S2_TRACEMEM_RESERVE_DRAM=0x0
|
2022-10-19 11:05:48 -04:00
|
|
|
CONFIG_ESP32S2_ULP_COPROC_ENABLED=y
|
|
|
|
CONFIG_ESP32S2_ULP_COPROC_RESERVE_MEM=4096
|
|
|
|
CONFIG_ESP32S2_ULP_COPROC_RISCV=y
|
2022-01-12 14:36:51 -05:00
|
|
|
CONFIG_ESP32S2_DEBUG_OCDAWARE=y
|
|
|
|
# CONFIG_ESP32S2_DEBUG_STUBS_ENABLE is not set
|
|
|
|
CONFIG_ESP32S2_BROWNOUT_DET=y
|
|
|
|
CONFIG_ESP32S2_BROWNOUT_DET_LVL_SEL_7=y
|
|
|
|
# CONFIG_ESP32S2_BROWNOUT_DET_LVL_SEL_6 is not set
|
|
|
|
# CONFIG_ESP32S2_BROWNOUT_DET_LVL_SEL_5 is not set
|
|
|
|
# CONFIG_ESP32S2_BROWNOUT_DET_LVL_SEL_4 is not set
|
|
|
|
# CONFIG_ESP32S2_BROWNOUT_DET_LVL_SEL_3 is not set
|
|
|
|
# CONFIG_ESP32S2_BROWNOUT_DET_LVL_SEL_2 is not set
|
|
|
|
# CONFIG_ESP32S2_BROWNOUT_DET_LVL_SEL_1 is not set
|
|
|
|
CONFIG_ESP32S2_BROWNOUT_DET_LVL=7
|
|
|
|
CONFIG_ESP32S2_TIME_SYSCALL_USE_RTC_FRC1=y
|
|
|
|
# CONFIG_ESP32S2_TIME_SYSCALL_USE_RTC is not set
|
|
|
|
# CONFIG_ESP32S2_TIME_SYSCALL_USE_FRC1 is not set
|
|
|
|
# CONFIG_ESP32S2_TIME_SYSCALL_USE_NONE is not set
|
|
|
|
CONFIG_ESP32S2_RTC_CLK_SRC_INT_RC=y
|
|
|
|
# CONFIG_ESP32S2_RTC_CLK_SRC_EXT_CRYS is not set
|
|
|
|
# CONFIG_ESP32S2_RTC_CLK_SRC_EXT_OSC is not set
|
|
|
|
# CONFIG_ESP32S2_RTC_CLK_SRC_INT_8MD256 is not set
|
|
|
|
CONFIG_ESP32S2_RTC_CLK_CAL_CYCLES=576
|
|
|
|
# CONFIG_ESP32S2_NO_BLOBS is not set
|
|
|
|
# CONFIG_ESP32S2_KEEP_USB_ALIVE is not set
|
2022-10-19 11:05:48 -04:00
|
|
|
CONFIG_ESP32S2_RTCDATA_IN_FAST_MEM=y
|
2022-01-12 14:36:51 -05:00
|
|
|
# CONFIG_ESP32S2_USE_FIXED_STATIC_RAM_SIZE is not set
|
|
|
|
#
|
|
|
|
# MAC Config
|
|
|
|
#
|
|
|
|
# CONFIG_ESP32S2_UNIVERSAL_MAC_ADDRESSES_ONE is not set
|
|
|
|
CONFIG_ESP32S2_UNIVERSAL_MAC_ADDRESSES_TWO=y
|
|
|
|
CONFIG_ESP32S2_UNIVERSAL_MAC_ADDRESSES=2
|
|
|
|
# end of MAC Config
|
|
|
|
|
|
|
|
CONFIG_ESP_SLEEP_POWER_DOWN_FLASH=y
|
|
|
|
#
|
|
|
|
# Sleep Config
|
|
|
|
#
|
|
|
|
# CONFIG_ESP_SLEEP_GPIO_RESET_WORKAROUND is not set
|
|
|
|
# end of Sleep Config
|
|
|
|
|
|
|
|
#
|
2022-01-18 18:50:32 -05:00
|
|
|
# PHY
|
2022-01-12 14:36:51 -05:00
|
|
|
#
|
2022-01-18 18:50:32 -05:00
|
|
|
# CONFIG_ESP_PHY_ENABLE_USB is not set
|
|
|
|
# end of PHY
|
2022-01-12 14:36:51 -05:00
|
|
|
|
2022-01-18 18:50:32 -05:00
|
|
|
CONFIG_ESP_SYSTEM_SINGLE_CORE_MODE=y
|
2022-01-12 14:36:51 -05:00
|
|
|
#
|
|
|
|
# Memory protection
|
|
|
|
#
|
|
|
|
CONFIG_ESP_SYSTEM_MEMPROT_FEATURE=y
|
|
|
|
CONFIG_ESP_SYSTEM_MEMPROT_FEATURE_LOCK=y
|
|
|
|
CONFIG_ESP_SYSTEM_MEMPROT_CPU_PREFETCH_PAD_SIZE=16
|
|
|
|
CONFIG_ESP_SYSTEM_MEMPROT_MEM_ALIGN_SIZE=4
|
|
|
|
# end of Memory protection
|
|
|
|
|
|
|
|
CONFIG_ESP_MAIN_TASK_AFFINITY_CPU0=y
|
|
|
|
# CONFIG_ESP_MAIN_TASK_AFFINITY_NO_AFFINITY is not set
|
|
|
|
CONFIG_ESP_MAIN_TASK_AFFINITY=0x0
|
|
|
|
#
|
|
|
|
# Wi-Fi
|
|
|
|
#
|
|
|
|
CONFIG_ESP32_WIFI_ENABLED=y
|
|
|
|
CONFIG_ESP32_WIFI_STATIC_RX_BUFFER_NUM=4
|
|
|
|
CONFIG_ESP32_WIFI_DYNAMIC_RX_BUFFER_NUM=8
|
|
|
|
# CONFIG_ESP32_WIFI_STATIC_TX_BUFFER is not set
|
|
|
|
CONFIG_ESP32_WIFI_DYNAMIC_TX_BUFFER=y
|
|
|
|
CONFIG_ESP32_WIFI_TX_BUFFER_TYPE=1
|
|
|
|
CONFIG_ESP32_WIFI_DYNAMIC_TX_BUFFER_NUM=16
|
|
|
|
CONFIG_ESP32_WIFI_CACHE_TX_BUFFER_NUM=16
|
|
|
|
# CONFIG_ESP32_WIFI_CSI_ENABLED is not set
|
|
|
|
CONFIG_ESP32_WIFI_AMPDU_TX_ENABLED=y
|
|
|
|
CONFIG_ESP32_WIFI_TX_BA_WIN=6
|
|
|
|
CONFIG_ESP32_WIFI_AMPDU_RX_ENABLED=y
|
|
|
|
CONFIG_ESP32_WIFI_RX_BA_WIN=6
|
|
|
|
# CONFIG_ESP32_WIFI_NVS_ENABLED is not set
|
|
|
|
CONFIG_ESP32_WIFI_SOFTAP_BEACON_MAX_LEN=752
|
|
|
|
CONFIG_ESP32_WIFI_MGMT_SBUF_NUM=32
|
|
|
|
CONFIG_ESP32_WIFI_IRAM_OPT=y
|
|
|
|
CONFIG_ESP32_WIFI_RX_IRAM_OPT=y
|
|
|
|
# CONFIG_ESP32_WIFI_ENABLE_WPA3_SAE is not set
|
|
|
|
# CONFIG_ESP_WIFI_EXTERNAL_COEXIST_ENABLE is not set
|
|
|
|
# end of Wi-Fi
|
|
|
|
|
|
|
|
CONFIG_FREERTOS_UNICORE=y
|
|
|
|
#
|
|
|
|
# FreeRTOS
|
|
|
|
#
|
|
|
|
CONFIG_FREERTOS_TICK_SUPPORT_CORETIMER=y
|
|
|
|
CONFIG_FREERTOS_CORETIMER_0=y
|
|
|
|
# CONFIG_FREERTOS_CORETIMER_1 is not set
|
|
|
|
CONFIG_FREERTOS_SYSTICK_USES_CCOUNT=y
|
|
|
|
CONFIG_FREERTOS_OPTIMIZED_SCHEDULER=y
|
|
|
|
# end of FreeRTOS
|
|
|
|
|
|
|
|
CONFIG_MBEDTLS_HARDWARE_GCM=y
|
|
|
|
#
|
|
|
|
# Deprecated options for backward compatibility
|
|
|
|
#
|
|
|
|
CONFIG_TOOLPREFIX="xtensa-esp32s2-elf-"
|
|
|
|
# CONFIG_ESP32_APPTRACE_DEST_TRAX is not set
|
|
|
|
CONFIG_ESP32_APPTRACE_DEST_NONE=y
|
|
|
|
CONFIG_ESP32_APPTRACE_LOCK_ENABLE=y
|
|
|
|
CONFIG_ESP_SYSTEM_PD_FLASH=y
|
|
|
|
# CONFIG_ESP32C3_LIGHTSLEEP_GPIO_RESET_WORKAROUND is not set
|
|
|
|
CONFIG_ESP32_PHY_CALIBRATION_AND_DATA_STORAGE=y
|
|
|
|
# CONFIG_ESP32_PHY_INIT_DATA_IN_PARTITION is not set
|
|
|
|
CONFIG_ESP32_PHY_MAX_WIFI_TX_POWER=20
|
|
|
|
CONFIG_ESP32_PHY_MAX_TX_POWER=20
|
|
|
|
CONFIG_ESP32S2_ALLOW_RTC_FAST_MEM_AS_HEAP=y
|
|
|
|
CONFIG_ESP32H2_MEMPROT_FEATURE=y
|
|
|
|
CONFIG_ESP32H2_MEMPROT_FEATURE_LOCK=y
|
|
|
|
# CONFIG_EXTERNAL_COEX_ENABLE is not set
|
|
|
|
# CONFIG_ESP32_ENABLE_COREDUMP_TO_FLASH is not set
|
|
|
|
# CONFIG_ESP32_ENABLE_COREDUMP_TO_UART is not set
|
|
|
|
CONFIG_ESP32_ENABLE_COREDUMP_TO_NONE=y
|
|
|
|
CONFIG_ESP32_PTHREAD_TASK_PRIO_DEFAULT=5
|
|
|
|
CONFIG_ESP32_PTHREAD_TASK_STACK_SIZE_DEFAULT=3072
|
|
|
|
CONFIG_ESP32_PTHREAD_STACK_MIN=768
|
|
|
|
CONFIG_ESP32_PTHREAD_TASK_CORE_DEFAULT=-1
|
|
|
|
CONFIG_ESP32_PTHREAD_TASK_NAME_DEFAULT="pthread"
|
|
|
|
# end of Deprecated options for backward compatibility
|