Encrypted Flash issues

themindfactory
Posts: 65
Joined: Mon Mar 26, 2018 7:57 pm

Encrypted Flash issues

Postby themindfactory » Thu Nov 21, 2024 3:50 am

So I am now assuming that once you turn on flash encryption it never can be turned off...

I am also assuming now that if you do not flash in your own encryption key you will never re-flash the part again?

This is all through trial and error I have bricked a few :-)

I want to get it right!

I am also using VSCODE is there any easy way to flash parts once encrypted? Because now I am assuming all the clear text bin files need to be encrypted with your own key? There does not seem to be control for that in config...

Any help always appreciated...

And yes I have googled all this many many times, can not seem to find the perfect reference for myself.

PS. I had originally thought that once the key was created and you had it in development mode, that when you upload clear text it would then encrypt and store internally....

aliarifat794
Posts: 198
Joined: Sun Jun 23, 2024 6:18 pm

Re: Encrypted Flash issues

Postby aliarifat794 » Thu Nov 21, 2024 7:01 am

In Development mode, the ESP32 encrypts the flash contents on the fly when writing. In Release mode, you must provide pre-encrypted binaries.

themindfactory
Posts: 65
Joined: Mon Mar 26, 2018 7:57 pm

Re: Encrypted Flash issues

Postby themindfactory » Thu Nov 21, 2024 7:14 am

Interesting so it is what I thought it should be, however mine does not do that.

On first run there is a pause while it encrypts the flash, then it runs fine.

I re-flash the same code and I get the dreaded loop.

flash read err, 1000

Thanks!

Below is my SDK Config, if anyone wants to check to see the config I have. I removed the CONFIG_ from the start of them all and removed non essentials to make it fit under 60,000 characters!

Code: Select all

#
# Automatically generated file. DO NOT EDIT.
# Espressif IoT Development Framework (ESP-IDF) 5.1.4 Project Configuration
#
SOC_BROWNOUT_RESET_SUPPORTED="Not determined"
SOC_TWAI_BRP_DIV_SUPPORTED="Not determined"
SOC_DPORT_WORKAROUND="Not determined"
SOC_CAPS_ECO_VER_MAX=301
SOC_ADC_SUPPORTED=y
SOC_DAC_SUPPORTED=y
SOC_UART_SUPPORTED=y
SOC_MCPWM_SUPPORTED=y
SOC_GPTIMER_SUPPORTED=y
SOC_SDMMC_HOST_SUPPORTED=y
SOC_BT_SUPPORTED=y
SOC_PCNT_SUPPORTED=y
SOC_WIFI_SUPPORTED=y
SOC_SDIO_SLAVE_SUPPORTED=y
SOC_TWAI_SUPPORTED=y
SOC_EMAC_SUPPORTED=y
SOC_ULP_SUPPORTED=y
SOC_CCOMP_TIMER_SUPPORTED=y
SOC_RTC_FAST_MEM_SUPPORTED=y
SOC_RTC_SLOW_MEM_SUPPORTED=y
SOC_RTC_MEM_SUPPORTED=y
SOC_I2S_SUPPORTED=y
SOC_RMT_SUPPORTED=y
SOC_SDM_SUPPORTED=y
SOC_GPSPI_SUPPORTED=y
SOC_LEDC_SUPPORTED=y
SOC_I2C_SUPPORTED=y
SOC_SUPPORT_COEXISTENCE=y
SOC_AES_SUPPORTED=y
SOC_MPI_SUPPORTED=y
SOC_SHA_SUPPORTED=y
SOC_FLASH_ENC_SUPPORTED=y
SOC_SECURE_BOOT_SUPPORTED=y
SOC_TOUCH_SENSOR_SUPPORTED=y
SOC_BOD_SUPPORTED=y
SOC_ULP_FSM_SUPPORTED=y
SOC_DPORT_WORKAROUND_DIS_INTERRUPT_LVL=5
SOC_XTAL_SUPPORT_26M=y
SOC_XTAL_SUPPORT_40M=y
SOC_XTAL_SUPPORT_AUTO_DETECT=y
SOC_ADC_RTC_CTRL_SUPPORTED=y
SOC_ADC_DIG_CTRL_SUPPORTED=y
SOC_ADC_DMA_SUPPORTED=y
SOC_ADC_PERIPH_NUM=2
SOC_ADC_MAX_CHANNEL_NUM=10
SOC_ADC_ATTEN_NUM=4
SOC_ADC_DIGI_CONTROLLER_NUM=2
SOC_ADC_PATT_LEN_MAX=16
SOC_ADC_DIGI_MIN_BITWIDTH=9
SOC_ADC_DIGI_MAX_BITWIDTH=12
SOC_ADC_DIGI_RESULT_BYTES=2
SOC_ADC_DIGI_DATA_BYTES_PER_CONV=4
SOC_ADC_SAMPLE_FREQ_THRES_HIGH=2
SOC_ADC_SAMPLE_FREQ_THRES_LOW=20
SOC_ADC_RTC_MIN_BITWIDTH=9
SOC_ADC_RTC_MAX_BITWIDTH=12
SOC_SHARED_IDCACHE_SUPPORTED=y
SOC_IDCACHE_PER_CORE=y
SOC_CPU_CORES_NUM=2
SOC_CPU_INTR_NUM=32
SOC_CPU_HAS_FPU=y
SOC_CPU_BREAKPOINTS_NUM=2
SOC_CPU_WATCHPOINTS_NUM=2
SOC_CPU_WATCHPOINT_MAX_REGION_SIZE=64
SOC_DAC_CHAN_NUM=2
SOC_DAC_RESOLUTION=8
SOC_DAC_DMA_16BIT_ALIGN=y
SOC_GPIO_PORT=1
SOC_GPIO_PIN_COUNT=40
SOC_GPIO_VALID_GPIO_MASK=0xFFFFFFFFFF
SOC_GPIO_VALID_DIGITAL_IO_PAD_MASK=0xEF0FEA
SOC_I2C_NUM=2
SOC_I2C_FIFO_LEN=32
SOC_I2C_CMD_REG_NUM=16
SOC_I2C_SUPPORT_SLAVE=y
SOC_I2C_SUPPORT_APB=y
SOC_I2S_NUM=2
SOC_I2S_HW_VERSION_1=y
SOC_I2S_SUPPORTS_APLL=y
SOC_I2S_SUPPORTS_PLL_F160M=y
SOC_I2S_SUPPORTS_PDM=y
SOC_I2S_SUPPORTS_PDM_TX=y
SOC_I2S_PDM_MAX_TX_LINES=1
SOC_I2S_SUPPORTS_PDM_RX=y
SOC_I2S_PDM_MAX_RX_LINES=1
SOC_I2S_SUPPORTS_ADC_DAC=y
SOC_I2S_SUPPORTS_ADC=y
SOC_I2S_SUPPORTS_DAC=y
SOC_I2S_SUPPORTS_LCD_CAMERA=y
SOC_I2S_TRANS_SIZE_ALIGN_WORD=y
SOC_I2S_LCD_I80_VARIANT=y
SOC_LCD_I80_SUPPORTED=y
SOC_LCD_I80_BUSES=2
SOC_LCD_I80_BUS_WIDTH=24
SOC_LEDC_HAS_TIMER_SPECIFIC_MUX=y
SOC_LEDC_SUPPORT_APB_CLOCK=y
SOC_LEDC_SUPPORT_REF_TICK=y
SOC_LEDC_SUPPORT_HS_MODE=y
SOC_LEDC_CHANNEL_NUM=8
SOC_LEDC_TIMER_BIT_WIDTH=20
SOC_MCPWM_GROUPS=2
SOC_MCPWM_TIMERS_PER_GROUP=3
SOC_MCPWM_OPERATORS_PER_GROUP=3
SOC_MCPWM_COMPARATORS_PER_OPERATOR=2
SOC_MCPWM_GENERATORS_PER_OPERATOR=2
SOC_MCPWM_TRIGGERS_PER_OPERATOR=2
SOC_MCPWM_GPIO_FAULTS_PER_GROUP=3
SOC_MCPWM_CAPTURE_TIMERS_PER_GROUP=y
SOC_MCPWM_CAPTURE_CHANNELS_PER_TIMER=3
SOC_MCPWM_GPIO_SYNCHROS_PER_GROUP=3
SOC_MMU_PERIPH_NUM=2
SOC_MMU_LINEAR_ADDRESS_REGION_NUM=3
SOC_MPU_MIN_REGION_SIZE=0x20000000
SOC_MPU_REGIONS_MAX_NUM=8
SOC_PCNT_GROUPS=1
SOC_PCNT_UNITS_PER_GROUP=8
SOC_PCNT_CHANNELS_PER_UNIT=2
SOC_PCNT_THRES_POINT_PER_UNIT=2
SOC_RMT_GROUPS=1
SOC_RMT_TX_CANDIDATES_PER_GROUP=8
SOC_RMT_RX_CANDIDATES_PER_GROUP=8
SOC_RMT_CHANNELS_PER_GROUP=8
SOC_RMT_MEM_WORDS_PER_CHANNEL=64
SOC_RMT_SUPPORT_REF_TICK=y
SOC_RMT_SUPPORT_APB=y
SOC_RMT_CHANNEL_CLK_INDEPENDENT=y
SOC_RTCIO_PIN_COUNT=18
SOC_RTCIO_INPUT_OUTPUT_SUPPORTED=y
SOC_RTCIO_HOLD_SUPPORTED=y
SOC_RTCIO_WAKE_SUPPORTED=y
SOC_SDM_GROUPS=1
SOC_SDM_CHANNELS_PER_GROUP=8
SOC_SDM_CLK_SUPPORT_APB=y
SOC_SPI_HD_BOTH_INOUT_SUPPORTED=y
SOC_SPI_AS_CS_SUPPORTED=y
SOC_SPI_PERIPH_NUM=3
SOC_SPI_DMA_CHAN_NUM=2
SOC_SPI_MAX_CS_NUM=3
SOC_SPI_SUPPORT_CLK_APB=y
SOC_SPI_MAXIMUM_BUFFER_SIZE=64
SOC_SPI_MAX_PRE_DIVIDER=8192
SOC_MEMSPI_SRC_FREQ_80M_SUPPORTED=y
SOC_MEMSPI_SRC_FREQ_40M_SUPPORTED=y
SOC_MEMSPI_SRC_FREQ_26M_SUPPORTED=y
SOC_MEMSPI_SRC_FREQ_20M_SUPPORTED=y
SOC_TIMER_GROUPS=2
SOC_TIMER_GROUP_TIMERS_PER_GROUP=2
SOC_TIMER_GROUP_COUNTER_BIT_WIDTH=64
SOC_TIMER_GROUP_TOTAL_TIMERS=4
SOC_TIMER_GROUP_SUPPORT_APB=y
SOC_TOUCH_VERSION_1=y
SOC_TOUCH_SENSOR_NUM=10
SOC_TOUCH_PAD_MEASURE_WAIT_MAX=0xFF
SOC_TWAI_CONTROLLER_NUM=1
SOC_TWAI_BRP_MIN=2
SOC_TWAI_CLK_SUPPORT_APB=y
SOC_TWAI_SUPPORT_MULTI_ADDRESS_LAYOUT=y
SOC_UART_NUM=3
SOC_UART_SUPPORT_APB_CLK=y
SOC_UART_SUPPORT_REF_TICK=y
SOC_UART_FIFO_LEN=128
SOC_UART_BITRATE_MAX=5000000
SOC_SPIRAM_SUPPORTED=y
SOC_SPI_MEM_SUPPORT_GPIO_BY_EFUSE=y
SOC_SHA_SUPPORT_PARALLEL_ENG=y
SOC_SHA_SUPPORT_SHA1=y
SOC_SHA_SUPPORT_SHA256=y
SOC_SHA_SUPPORT_SHA384=y
SOC_SHA_SUPPORT_SHA512=y
SOC_RSA_MAX_BIT_LEN=4096
SOC_AES_SUPPORT_AES_128=y
SOC_AES_SUPPORT_AES_192=y
SOC_AES_SUPPORT_AES_256=y
SOC_SECURE_BOOT_V1=y
SOC_EFUSE_SECURE_BOOT_KEY_DIGESTS=y
SOC_FLASH_ENCRYPTED_XTS_AES_BLOCK_MAX=32
SOC_PHY_DIG_REGS_MEM_SIZE=21
SOC_PM_SUPPORT_EXT0_WAKEUP=y
SOC_PM_SUPPORT_EXT1_WAKEUP=y
SOC_PM_SUPPORT_EXT_WAKEUP=y
SOC_PM_SUPPORT_TOUCH_SENSOR_WAKEUP=y
SOC_PM_SUPPORT_RTC_PERIPH_PD=y
SOC_PM_SUPPORT_RTC_FAST_MEM_PD=y
SOC_PM_SUPPORT_RTC_SLOW_MEM_PD=y
SOC_PM_SUPPORT_RC_FAST_PD=y
SOC_PM_SUPPORT_VDDSDIO_PD=y
SOC_PM_SUPPORT_MODEM_PD=y
SOC_CONFIGURABLE_VDDSDIO_SUPPORTED=y
SOC_CLK_APLL_SUPPORTED=y
SOC_APLL_MULTIPLIER_OUT_MIN_HZ=350000000
SOC_APLL_MULTIPLIER_OUT_MAX_HZ=500000000
SOC_APLL_MIN_HZ=5303031
SOC_APLL_MAX_HZ=125000000
SOC_CLK_RC_FAST_D256_SUPPORTED=y
SOC_RTC_SLOW_CLK_SUPPORT_RC_FAST_D256=y
SOC_CLK_RC_FAST_SUPPORT_CALIBRATION=y
SOC_CLK_XTAL32K_SUPPORTED=y
SOC_SDMMC_USE_IOMUX=y
SOC_SDMMC_NUM_SLOTS=2
SOC_WIFI_WAPI_SUPPORT=y
SOC_WIFI_CSI_SUPPORT=y
SOC_WIFI_MESH_SUPPORT=y
SOC_WIFI_SUPPORT_VARIABLE_BEACON_WINDOW=y
SOC_WIFI_NAN_SUPPORT=y
SOC_BLE_SUPPORTED=y
SOC_BLE_MESH_SUPPORTED=y
SOC_BT_CLASSIC_SUPPORTED=y
SOC_BLUFI_SUPPORTED=y
SOC_ULP_HAS_ADC=y
SOC_PHY_COMBO_MODULE=y
IDF_CMAKE=y
IDF_TARGET_ARCH_XTENSA=y
IDF_TARGET_ARCH="xtensa"
IDF_TARGET="esp32"
IDF_TARGET_ESP32=y
IDF_FIRMWARE_CHIP_ID=0x0000

#
# Build type
#
APP_BUILD_TYPE_APP_2NDBOOT=y
# APP_BUILD_TYPE_RAM is not set
APP_BUILD_GENERATE_BINARIES=y
APP_BUILD_BOOTLOADER=y
APP_BUILD_USE_FLASH_SECTIONS=y
# APP_REPRODUCIBLE_BUILD is not set
# APP_NO_BLOBS is not set
# APP_COMPATIBLE_PRE_V2_1_BOOTLOADERS is not set
# APP_COMPATIBLE_PRE_V3_1_BOOTLOADERS is not set
# end of Build type

#
# Bootloader config
#
BOOTLOADER_OFFSET_IN_FLASH=0x1000
BOOTLOADER_COMPILER_OPTIMIZATION_SIZE=y
# BOOTLOADER_COMPILER_OPTIMIZATION_DEBUG is not set
# BOOTLOADER_COMPILER_OPTIMIZATION_PERF is not set
# BOOTLOADER_COMPILER_OPTIMIZATION_NONE is not set
BOOTLOADER_LOG_LEVEL_NONE=y
# BOOTLOADER_LOG_LEVEL_ERROR is not set
# BOOTLOADER_LOG_LEVEL_WARN is not set
# BOOTLOADER_LOG_LEVEL_INFO is not set
# BOOTLOADER_LOG_LEVEL_DEBUG is not set
# BOOTLOADER_LOG_LEVEL_VERBOSE is not set
BOOTLOADER_LOG_LEVEL=0

#
# Serial Flash Configurations
#
# BOOTLOADER_FLASH_DC_AWARE is not set
BOOTLOADER_FLASH_XMC_SUPPORT=y
# end of Serial Flash Configurations

BOOTLOADER_VDDSDIO_BOOST_1_9V=y
# BOOTLOADER_FACTORY_RESET is not set
# BOOTLOADER_APP_TEST is not set
BOOTLOADER_REGION_PROTECTION_ENABLE=y
BOOTLOADER_WDT_ENABLE=y
# BOOTLOADER_WDT_DISABLE_IN_USER_CODE is not set
BOOTLOADER_WDT_TIME_MS=9000
# BOOTLOADER_APP_ROLLBACK_ENABLE is not set
# BOOTLOADER_SKIP_VALIDATE_IN_DEEP_SLEEP is not set
# BOOTLOADER_SKIP_VALIDATE_ON_POWER_ON is not set
# BOOTLOADER_SKIP_VALIDATE_ALWAYS is not set
BOOTLOADER_RESERVE_RTC_SIZE=0
# BOOTLOADER_CUSTOM_RESERVE_RTC is not set
# end of Bootloader config

#
# Security features
#
SECURE_BOOT_V1_SUPPORTED=y
# SECURE_SIGNED_APPS_NO_SECURE_BOOT is not set
# SECURE_BOOT is not set
# SECURE_FLASH_ENC_ENABLED is not set
# end of Security features

#
# Application manager
#
APP_COMPILE_TIME_DATE=y
# APP_EXCLUDE_PROJECT_VER_VAR is not set
# APP_EXCLUDE_PROJECT_NAME_VAR is not set
# APP_PROJECT_VER_FROM_CONFIG is not set
APP_RETRIEVE_LEN_ELF_SHA=16
# end of Application manager

ESP_ROM_HAS_CRC_LE=y
ESP_ROM_HAS_CRC_BE=y
ESP_ROM_HAS_MZ_CRC32=y
ESP_ROM_HAS_JPEG_DECODE=y
ESP_ROM_HAS_UART_BUF_SWITCH=y
ESP_ROM_NEEDS_SWSETUP_WORKAROUND=y
ESP_ROM_HAS_NEWLIB_NANO_FORMAT=y

#
# Partition Table
#
# PARTITION_TABLE_SINGLE_APP is not set
# PARTITION_TABLE_SINGLE_APP_LARGE is not set
# PARTITION_TABLE_TWO_OTA is not set
PARTITION_TABLE_CUSTOM=y
PARTITION_TABLE_CUSTOM_FILENAME="partitions.csv"
PARTITION_TABLE_FILENAME="partitions.csv"
PARTITION_TABLE_OFFSET=0x8000
PARTITION_TABLE_MD5=y
# end of Partition Table

#
# Arduino Configuration
#
ARDUINO_VARIANT="esp32"
ENABLE_ARDUINO_DEPENDS=y
# AUTOSTART_ARDUINO is not set
# ARDUINO_RUN_CORE0 is not set
ARDUINO_RUN_CORE1=y
# ARDUINO_RUN_NO_AFFINITY is not set
ARDUINO_RUNNING_CORE=1
ARDUINO_LOOP_STACK_SIZE=8192
# ARDUINO_EVENT_RUN_CORE0 is not set
ARDUINO_EVENT_RUN_CORE1=y
# ARDUINO_EVENT_RUN_NO_AFFINITY is not set
ARDUINO_EVENT_RUNNING_CORE=1
# ARDUINO_SERIAL_EVENT_RUN_CORE0 is not set
ARDUINO_SERIAL_EVENT_RUN_CORE1=y
# ARDUINO_SERIAL_EVENT_RUN_NO_AFFINITY is not set
ARDUINO_SERIAL_EVENT_TASK_RUNNING_CORE=1
ARDUINO_SERIAL_EVENT_TASK_STACK_SIZE=2048
ARDUINO_SERIAL_EVENT_TASK_PRIORITY=24
ARDUINO_UDP_RUN_CORE0=y
# ARDUINO_UDP_RUN_CORE1 is not set
# ARDUINO_UDP_RUN_NO_AFFINITY is not set
ARDUINO_UDP_RUNNING_CORE=0
ARDUINO_UDP_TASK_PRIORITY=3
# ARDUINO_ISR_IRAM is not set
# DISABLE_HAL_LOCKS is not set

#
# Debug Log Configuration
#
ARDUHAL_LOG_DEFAULT_LEVEL_NONE=y
# ARDUHAL_LOG_DEFAULT_LEVEL_ERROR is not set
# ARDUHAL_LOG_DEFAULT_LEVEL_WARN is not set
# ARDUHAL_LOG_DEFAULT_LEVEL_INFO is not set
# ARDUHAL_LOG_DEFAULT_LEVEL_DEBUG is not set
# ARDUHAL_LOG_DEFAULT_LEVEL_VERBOSE is not set
ARDUHAL_LOG_DEFAULT_LEVEL=0
# ARDUHAL_LOG_COLORS is not set
# ARDUHAL_ESP_LOG is not set
# end of Debug Log Configuration

ARDUHAL_PARTITION_SCHEME_DEFAULT=y
# ARDUHAL_PARTITION_SCHEME_MINIMAL is not set
# ARDUHAL_PARTITION_SCHEME_NO_OTA is not set
# ARDUHAL_PARTITION_SCHEME_HUGE_APP is not set
# ARDUHAL_PARTITION_SCHEME_MIN_SPIFFS is not set
ARDUHAL_PARTITION_SCHEME="default"
# ARDUINO_SELECTIVE_COMPILATION is not set
# end of Arduino Configuration

#
# ESP RainMaker Config
#
# ESP_RMAKER_NO_CLAIM is not set
ESP_RMAKER_ASSISTED_CLAIM=y
ESP_RMAKER_USE_NVS=y
ESP_RMAKER_CLAIM_TYPE=2
# ESP_RMAKER_READ_MQTT_HOST_FROM_CONFIG is not set
# ESP_RMAKER_READ_NODE_ID_FROM_CERT_CN is not set
ESP_RMAKER_MQTT_HOST="a1p72mufdu6064-ats.iot.us-east-1.amazonaws.com"
ESP_RMAKER_MQTT_USE_BASIC_INGEST_TOPICS=y
ESP_RMAKER_MQTT_ENABLE_BUDGETING=y
ESP_RMAKER_MQTT_DEFAULT_BUDGET=100
ESP_RMAKER_MQTT_MAX_BUDGET=1024
ESP_RMAKER_MQTT_BUDGET_REVIVE_PERIOD=5
ESP_RMAKER_MQTT_BUDGET_REVIVE_COUNT=1
ESP_RMAKER_MAX_PARAM_DATA_SIZE=1024
# ESP_RMAKER_DISABLE_USER_MAPPING_PROV is not set
# ESP_RMAKER_USER_ID_CHECK is not set
# RMAKER_NAME_PARAM_CB is not set
# ESP_RMAKER_LOCAL_CTRL_FEATURE_ENABLE is not set
# ESP_RMAKER_LOCAL_CTRL_AUTO_ENABLE is not set
ESP_RMAKER_CONSOLE_UART_NUM_0=y
# ESP_RMAKER_CONSOLE_UART_NUM_1 is not set
ESP_RMAKER_CONSOLE_UART_NUM=0
ESP_RMAKER_USE_CERT_BUNDLE=y

#
# ESP RainMaker OTA Config
#
ESP_RMAKER_OTA_AUTOFETCH=y
ESP_RMAKER_OTA_AUTOFETCH_PERIOD=0
# ESP_RMAKER_SKIP_COMMON_NAME_CHECK is not set
ESP_RMAKER_SKIP_VERSION_CHECK=y
ESP_RMAKER_SKIP_SECURE_VERSION_CHECK=y
# ESP_RMAKER_SKIP_PROJECT_NAME_CHECK is not set
ESP_RMAKER_OTA_HTTP_RX_BUFFER_SIZE=1024
ESP_RMAKER_OTA_ROLLBACK_WAIT_PERIOD=90
# ESP_RMAKER_OTA_DISABLE_AUTO_REBOOT is not set
ESP_RMAKER_OTA_TIME_SUPPORT=y
# end of ESP RainMaker OTA Config

#
# ESP RainMaker Scheduling
#
ESP_RMAKER_SCHEDULING_MAX_SCHEDULES=10
# end of ESP RainMaker Scheduling

#
# ESP RainMaker Scenes
#
ESP_RMAKER_SCENES_MAX_SCENES=10
# ESP_RMAKER_SCENES_DEACTIVATE_SUPPORT is not set
# end of ESP RainMaker Scenes

#
# ESP RainMaker Command-Response
#
ESP_RMAKER_CMD_RESP_ENABLE=y
# ESP_RMAKER_CMD_RESP_TEST_ENABLE is not set
# end of ESP RainMaker Command-Response

ESP_RMAKER_USING_NETWORK_PROV=y
# end of ESP RainMaker Config

#
# Compiler options
#
COMPILER_OPTIMIZATION_DEFAULT=y
# COMPILER_OPTIMIZATION_SIZE is not set
# COMPILER_OPTIMIZATION_PERF is not set
# COMPILER_OPTIMIZATION_NONE is not set
COMPILER_OPTIMIZATION_ASSERTIONS_ENABLE=y
# COMPILER_OPTIMIZATION_ASSERTIONS_SILENT is not set
# COMPILER_OPTIMIZATION_ASSERTIONS_DISABLE is not set
COMPILER_FLOAT_LIB_FROM_GCCLIB=y
COMPILER_OPTIMIZATION_ASSERTION_LEVEL=2
# COMPILER_OPTIMIZATION_CHECKS_SILENT is not set
COMPILER_HIDE_PATHS_MACROS=y
# COMPILER_CXX_EXCEPTIONS is not set
# COMPILER_CXX_RTTI is not set
COMPILER_STACK_CHECK_MODE_NONE=y
# COMPILER_STACK_CHECK_MODE_NORM is not set
# COMPILER_STACK_CHECK_MODE_STRONG is not set
# COMPILER_STACK_CHECK_MODE_ALL is not set
# COMPILER_WARN_WRITE_STRINGS is not set
# COMPILER_DISABLE_GCC12_WARNINGS is not set
# COMPILER_DUMP_RTL_FILES is not set
# end of Compiler options

#
# Component config
#

#
# Application Level Tracing
#
# APPTRACE_DEST_JTAG is not set
APPTRACE_DEST_NONE=y
# APPTRACE_DEST_UART1 is not set
# APPTRACE_DEST_UART2 is not set
APPTRACE_DEST_UART_NONE=y
APPTRACE_UART_TASK_PRIO=1
APPTRACE_LOCK_ENABLE=y
# end of Application Level Tracing


#
# Driver Configurations
#

#
# Legacy ADC Configuration
#
ADC_DISABLE_DAC=y
# ADC_SUPPRESS_DEPRECATE_WARN is not set

#
# Legacy ADC Calibration Configuration
#
ADC_CAL_EFUSE_TP_ENABLE=y
ADC_CAL_EFUSE_VREF_ENABLE=y
ADC_CAL_LUT_ENABLE=y
# ADC_CALI_SUPPRESS_DEPRECATE_WARN is not set
# end of Legacy ADC Calibration Configuration
# end of Legacy ADC Configuration

#
# SPI Configuration
#
SPI_MASTER_ISR_IN_IRAM=y
# SPI_SLAVE_IN_IRAM is not set
SPI_SLAVE_ISR_IN_IRAM=y
# end of SPI Configuration

#
# TWAI Configuration
#
# TWAI_ISR_IN_IRAM is not set
TWAI_ERRATA_FIX_BUS_OFF_REC=y
TWAI_ERRATA_FIX_TX_INTR_LOST=y
TWAI_ERRATA_FIX_RX_FRAME_INVALID=y
TWAI_ERRATA_FIX_RX_FIFO_CORRUPT=y
TWAI_ERRATA_FIX_LISTEN_ONLY_DOM=y
# end of TWAI Configuration

#
# UART Configuration
#
# UART_ISR_IN_IRAM is not set
# end of UART Configuration

#
# GPIO Configuration
#
GPIO_ESP32_SUPPORT_SWITCH_SLP_PULL=y
# GPIO_CTRL_FUNC_IN_IRAM is not set
# end of GPIO Configuration

#
# Sigma Delta Modulator Configuration
#
# SDM_CTRL_FUNC_IN_IRAM is not set
# SDM_SUPPRESS_DEPRECATE_WARN is not set
# SDM_ENABLE_DEBUG_LOG is not set
# end of Sigma Delta Modulator Configuration

#
# GPTimer Configuration
#
GPTIMER_ISR_HANDLER_IN_IRAM=y
# GPTIMER_CTRL_FUNC_IN_IRAM is not set
# GPTIMER_ISR_IRAM_SAFE is not set
# GPTIMER_SUPPRESS_DEPRECATE_WARN is not set
# GPTIMER_ENABLE_DEBUG_LOG is not set
# end of GPTimer Configuration

#
# PCNT Configuration
#
# PCNT_CTRL_FUNC_IN_IRAM is not set
# PCNT_ISR_IRAM_SAFE is not set
# PCNT_SUPPRESS_DEPRECATE_WARN is not set
# PCNT_ENABLE_DEBUG_LOG is not set
# end of PCNT Configuration

#
# RMT Configuration
#
# RMT_ISR_IRAM_SAFE is not set
# RMT_RECV_FUNC_IN_IRAM is not set
# RMT_SUPPRESS_DEPRECATE_WARN is not set
# RMT_ENABLE_DEBUG_LOG is not set
# end of RMT Configuration

#
# MCPWM Configuration
#
# MCPWM_ISR_IRAM_SAFE is not set
# MCPWM_CTRL_FUNC_IN_IRAM is not set
# MCPWM_SUPPRESS_DEPRECATE_WARN is not set
# MCPWM_ENABLE_DEBUG_LOG is not set
# end of MCPWM Configuration

#
# I2S Configuration
#
# I2S_ISR_IRAM_SAFE is not set
# I2S_SUPPRESS_DEPRECATE_WARN is not set
# I2S_ENABLE_DEBUG_LOG is not set
# end of I2S Configuration

#
# DAC Configuration
#
# DAC_CTRL_FUNC_IN_IRAM is not set
# DAC_ISR_IRAM_SAFE is not set
# DAC_SUPPRESS_DEPRECATE_WARN is not set
# DAC_ENABLE_DEBUG_LOG is not set
DAC_DMA_AUTO_16BIT_ALIGN=y
# end of DAC Configuration
# end of Driver Configurations

#
# eFuse Bit Manager
#
# EFUSE_CUSTOM_TABLE is not set
# EFUSE_VIRTUAL is not set
# EFUSE_CODE_SCHEME_COMPAT_NONE is not set
EFUSE_CODE_SCHEME_COMPAT_3_4=y
# EFUSE_CODE_SCHEME_COMPAT_REPEAT is not set
EFUSE_MAX_BLK_LEN=192
# end of eFuse Bit Manager

#
# ESP-TLS
#
ESP_TLS_USING_MBEDTLS=y
# ESP_TLS_USE_SECURE_ELEMENT is not set
# ESP_TLS_CLIENT_SESSION_TICKETS is not set
# ESP_TLS_SERVER is not set
# ESP_TLS_PSK_VERIFICATION is not set
# ESP_TLS_INSECURE is not set
# end of ESP-TLS

#
# ADC and ADC Calibration
#
# ADC_ONESHOT_CTRL_FUNC_IN_IRAM is not set
# ADC_CONTINUOUS_ISR_IRAM_SAFE is not set

#
# ADC Calibration Configurations
#
ADC_CALI_EFUSE_TP_ENABLE=y
ADC_CALI_EFUSE_VREF_ENABLE=y
ADC_CALI_LUT_ENABLE=y
# end of ADC Calibration Configurations

ADC_DISABLE_DAC_OUTPUT=y
# end of ADC and ADC Calibration

#
# Wireless Coexistence
#
ESP_COEX_SW_COEXIST_ENABLE=y
# end of Wireless Coexistence

#
# Common ESP-related
#
ESP_ERR_TO_NAME_LOOKUP=y
# end of Common ESP-related

#
# Ethernet
#
ETH_ENABLED=y
ETH_USE_ESP32_EMAC=y
ETH_PHY_INTERFACE_RMII=y
ETH_RMII_CLK_INPUT=y
# ETH_RMII_CLK_OUTPUT is not set
ETH_RMII_CLK_IN_GPIO=0
ETH_DMA_BUFFER_SIZE=512
ETH_DMA_RX_BUFFER_NUM=10
ETH_DMA_TX_BUFFER_NUM=10
# ETH_IRAM_OPTIMIZATION is not set
ETH_USE_SPI_ETHERNET=y
# ETH_SPI_ETHERNET_DM9051 is not set
# ETH_SPI_ETHERNET_W5500 is not set
# ETH_SPI_ETHERNET_KSZ8851SNL is not set
# ETH_USE_OPENETH is not set
# ETH_TRANSMIT_MUTEX is not set
# end of Ethernet

#
# Event Loop Library
#
# ESP_EVENT_LOOP_PROFILING is not set
ESP_EVENT_POST_FROM_ISR=y
ESP_EVENT_POST_FROM_IRAM_ISR=y
# end of Event Loop Library

#
# GDB Stub
#
# end of GDB Stub

#
# ESP HTTP client
#
ESP_HTTP_CLIENT_ENABLE_HTTPS=y
# ESP_HTTP_CLIENT_ENABLE_BASIC_AUTH is not set
# ESP_HTTP_CLIENT_ENABLE_DIGEST_AUTH is not set
# end of ESP HTTP client

#
# HTTP Server
#
HTTPD_MAX_REQ_HDR_LEN=512
HTTPD_MAX_URI_LEN=512
HTTPD_ERR_RESP_NO_DELAY=y
HTTPD_PURGE_BUF_LEN=32
# HTTPD_LOG_PURGE_DATA is not set
# HTTPD_WS_SUPPORT is not set
# HTTPD_QUEUE_WORK_BLOCKING is not set
# end of HTTP Server

#
# ESP HTTPS OTA
#
# ESP_HTTPS_OTA_DECRYPT_CB is not set
# ESP_HTTPS_OTA_ALLOW_HTTP is not set
# end of ESP HTTPS OTA

#
# ESP HTTPS server
#
# ESP_HTTPS_SERVER_ENABLE is not set
# end of ESP HTTPS server

#
# Hardware Settings
#

#
# Chip revision
#
ESP32_REV_MIN_0=y
# ESP32_REV_MIN_1 is not set
# ESP32_REV_MIN_1_1 is not set
# ESP32_REV_MIN_2 is not set
# ESP32_REV_MIN_3 is not set
# ESP32_REV_MIN_3_1 is not set
ESP32_REV_MIN=0
ESP32_REV_MIN_FULL=0
ESP_REV_MIN_FULL=0

#
# Maximum Supported ESP32 Revision (Rev v3.99)
#
ESP32_REV_MAX_FULL=399
ESP_REV_MAX_FULL=399
# end of Chip revision

#
# MAC Config
#
ESP_MAC_ADDR_UNIVERSE_WIFI_STA=y
ESP_MAC_ADDR_UNIVERSE_WIFI_AP=y
ESP_MAC_ADDR_UNIVERSE_BT=y
ESP_MAC_ADDR_UNIVERSE_ETH=y
ESP_MAC_UNIVERSAL_MAC_ADDRESSES_FOUR=y
# ESP32_UNIVERSAL_MAC_ADDRESSES_TWO is not set
ESP32_UNIVERSAL_MAC_ADDRESSES_FOUR=y
ESP32_UNIVERSAL_MAC_ADDRESSES=4
# ESP_MAC_IGNORE_MAC_CRC_ERROR is not set
# ESP_MAC_USE_CUSTOM_MAC_AS_BASE_MAC is not set
# end of MAC Config

#
# Sleep Config
#
# ESP_SLEEP_POWER_DOWN_FLASH is not set
ESP_SLEEP_FLASH_LEAKAGE_WORKAROUND=y
# ESP_SLEEP_MSPI_NEED_ALL_IO_PU is not set
ESP_SLEEP_RTC_BUS_ISO_WORKAROUND=y
# ESP_SLEEP_GPIO_RESET_WORKAROUND is not set
ESP_SLEEP_WAIT_FLASH_READY_EXTRA_DELAY=2000
# ESP_SLEEP_DEBUG is not set
ESP_SLEEP_GPIO_ENABLE_INTERNAL_RESISTORS=y
# ESP_SLEEP_CACHE_SAFE_ASSERTION is not set
# end of Sleep Config

#
# RTC Clock Config
#
RTC_CLK_SRC_INT_RC=y
# RTC_CLK_SRC_EXT_CRYS is not set
# RTC_CLK_SRC_EXT_OSC is not set
# RTC_CLK_SRC_INT_8MD256 is not set
RTC_CLK_CAL_CYCLES=1024
# end of RTC Clock Config

#
# Peripheral Control
#
PERIPH_CTRL_FUNC_IN_IRAM=y
# end of Peripheral Control

#
# Main XTAL Config
#
# XTAL_FREQ_26 is not set
XTAL_FREQ_40=y
# XTAL_FREQ_AUTO is not set
XTAL_FREQ=40
# end of Main XTAL Config
# end of Hardware Settings

#
# LCD and Touch Panel
#

#
# LCD Touch Drivers are maintained in the IDF Component Registry
#

#
# LCD Peripheral Configuration
#
LCD_PANEL_IO_FORMAT_BUF_SIZE=32
# LCD_ENABLE_DEBUG_LOG is not set
# end of LCD Peripheral Configuration
# end of LCD and Touch Panel

#
# ESP NETIF Adapter
#
ESP_NETIF_IP_LOST_TIMER_INTERVAL=120
ESP_NETIF_TCPIP_LWIP=y
# ESP_NETIF_LOOPBACK is not set
ESP_NETIF_USES_TCPIP_WITH_BSD_API=y
# ESP_NETIF_RECEIVE_REPORT_ERRORS is not set
# ESP_NETIF_L2_TAP is not set
# ESP_NETIF_BRIDGE_EN is not set
# end of ESP NETIF Adapter

#
# Partition API Configuration
#
# end of Partition API Configuration

#
# PHY
#
ESP_PHY_CALIBRATION_AND_DATA_STORAGE=y
# ESP_PHY_INIT_DATA_IN_PARTITION is not set
ESP_PHY_MAX_WIFI_TX_POWER=20
ESP_PHY_MAX_TX_POWER=20
# ESP_PHY_REDUCE_TX_POWER is not set
ESP_PHY_RF_CAL_PARTIAL=y
# ESP_PHY_RF_CAL_NONE is not set
# ESP_PHY_RF_CAL_FULL is not set
ESP_PHY_CALIBRATION_MODE=0
# ESP_PHY_PLL_TRACK_DEBUG is not set
# end of PHY

#
# Power Management
#
# PM_ENABLE is not set
# end of Power Management

#
# ESP PSRAM
#
# SPIRAM is not set
# end of ESP PSRAM

#
# ESP Ringbuf
#
RINGBUF_PLACE_FUNCTIONS_INTO_FLASH=y
# RINGBUF_PLACE_ISR_FUNCTIONS_INTO_FLASH is not set
# end of ESP Ringbuf

#
# ESP System Settings
#
# ESP_DEFAULT_CPU_FREQ_MHZ_80 is not set
# ESP_DEFAULT_CPU_FREQ_MHZ_160 is not set
ESP_DEFAULT_CPU_FREQ_MHZ_240=y
ESP_DEFAULT_CPU_FREQ_MHZ=240

#
# Memory
#
# ESP32_USE_FIXED_STATIC_RAM_SIZE is not set

#
# Non-backward compatible options
#
# ESP_SYSTEM_ESP32_SRAM1_REGION_AS_IRAM is not set
# end of Non-backward compatible options
# end of Memory

#
# Trace memory
#
# ESP32_TRAX is not set
ESP32_TRACEMEM_RESERVE_DRAM=0x0
# end of Trace memory

# ESP_SYSTEM_PANIC_PRINT_HALT is not set
ESP_SYSTEM_PANIC_PRINT_REBOOT=y
# ESP_SYSTEM_PANIC_SILENT_REBOOT is not set
# ESP_SYSTEM_PANIC_GDBSTUB is not set
# ESP_SYSTEM_GDBSTUB_RUNTIME is not set
ESP_SYSTEM_PANIC_REBOOT_DELAY_SECONDS=0

#
# Memory protection
#
# end of Memory protection

ESP_SYSTEM_EVENT_QUEUE_SIZE=32
ESP_SYSTEM_EVENT_TASK_STACK_SIZE=2304
ESP_MAIN_TASK_STACK_SIZE=8192
ESP_MAIN_TASK_AFFINITY_CPU0=y
# ESP_MAIN_TASK_AFFINITY_CPU1 is not set
# ESP_MAIN_TASK_AFFINITY_NO_AFFINITY is not set
ESP_MAIN_TASK_AFFINITY=0x0
ESP_MINIMAL_SHARED_STACK_SIZE=2048
ESP_CONSOLE_UART_DEFAULT=y
# ESP_CONSOLE_UART_CUSTOM is not set
# ESP_CONSOLE_NONE is not set
ESP_CONSOLE_UART=y
ESP_CONSOLE_MULTIPLE_UART=y
ESP_CONSOLE_UART_NUM=0
ESP_CONSOLE_UART_BAUDRATE=115200
ESP_INT_WDT=y
ESP_INT_WDT_TIMEOUT_MS=300
ESP_INT_WDT_CHECK_CPU1=y
ESP_TASK_WDT_EN=y
ESP_TASK_WDT_INIT=y
# ESP_TASK_WDT_PANIC is not set
ESP_TASK_WDT_TIMEOUT_S=5
ESP_TASK_WDT_CHECK_IDLE_TASK_CPU0=y
ESP_TASK_WDT_CHECK_IDLE_TASK_CPU1=y
# ESP_PANIC_HANDLER_IRAM is not set
# ESP_DEBUG_STUBS_ENABLE is not set
ESP_DEBUG_OCDAWARE=y
ESP_SYSTEM_CHECK_INT_LEVEL_5=y

#
# Brownout Detector
#
ESP_BROWNOUT_DET=y
ESP_BROWNOUT_DET_LVL_SEL_0=y
# ESP_BROWNOUT_DET_LVL_SEL_1 is not set
# ESP_BROWNOUT_DET_LVL_SEL_2 is not set
# ESP_BROWNOUT_DET_LVL_SEL_3 is not set
# ESP_BROWNOUT_DET_LVL_SEL_4 is not set
# ESP_BROWNOUT_DET_LVL_SEL_5 is not set
# ESP_BROWNOUT_DET_LVL_SEL_6 is not set
# ESP_BROWNOUT_DET_LVL_SEL_7 is not set
ESP_BROWNOUT_DET_LVL=0
# end of Brownout Detector

# ESP32_DISABLE_BASIC_ROM_CONSOLE is not set
ESP_SYSTEM_BROWNOUT_INTR=y
# end of ESP System Settings

#
# IPC (Inter-Processor Call)
#
ESP_IPC_TASK_STACK_SIZE=1024
ESP_IPC_USES_CALLERS_PRIORITY=y
ESP_IPC_ISR_ENABLE=y
# end of IPC (Inter-Processor Call)

#
# High resolution timer (esp_timer)
#
# ESP_TIMER_PROFILING is not set
ESP_TIME_FUNCS_USE_RTC_TIMER=y
ESP_TIME_FUNCS_USE_ESP_TIMER=y
ESP_TIMER_TASK_STACK_SIZE=3584
ESP_TIMER_INTERRUPT_LEVEL=1
# ESP_TIMER_SHOW_EXPERIMENTAL is not set
ESP_TIMER_TASK_AFFINITY=0x0
ESP_TIMER_TASK_AFFINITY_CPU0=y
ESP_TIMER_ISR_AFFINITY=0x1
ESP_TIMER_ISR_AFFINITY_CPU0=y
# ESP_TIMER_SUPPORTS_ISR_DISPATCH_METHOD is not set
ESP_TIMER_IMPL_TG0_LAC=y
# end of High resolution timer (esp_timer)

#
# Wi-Fi
#
ESP_WIFI_ENABLED=y
ESP_WIFI_STATIC_RX_BUFFER_NUM=10
ESP_WIFI_DYNAMIC_RX_BUFFER_NUM=32
ESP_WIFI_STATIC_TX_BUFFER=y
# ESP_WIFI_DYNAMIC_TX_BUFFER is not set
ESP_WIFI_TX_BUFFER_TYPE=0
ESP_WIFI_STATIC_TX_BUFFER_NUM=16
ESP_WIFI_STATIC_RX_MGMT_BUFFER=y
# ESP_WIFI_DYNAMIC_RX_MGMT_BUFFER is not set
ESP_WIFI_DYNAMIC_RX_MGMT_BUF=0
ESP_WIFI_RX_MGMT_BUF_NUM_DEF=5
# ESP_WIFI_CSI_ENABLED is not set
ESP_WIFI_AMPDU_TX_ENABLED=y
ESP_WIFI_TX_BA_WIN=6
ESP_WIFI_AMPDU_RX_ENABLED=y
ESP_WIFI_RX_BA_WIN=6
# ESP_WIFI_NVS_ENABLED is not set
ESP_WIFI_TASK_PINNED_TO_CORE_0=y
# ESP_WIFI_TASK_PINNED_TO_CORE_1 is not set
ESP_WIFI_SOFTAP_BEACON_MAX_LEN=752
ESP_WIFI_MGMT_SBUF_NUM=32
ESP_WIFI_IRAM_OPT=y
# ESP_WIFI_EXTRA_IRAM_OPT is not set
ESP_WIFI_RX_IRAM_OPT=y
ESP_WIFI_ENABLE_WPA3_SAE=y
ESP_WIFI_ENABLE_SAE_PK=y
ESP_WIFI_SOFTAP_SAE_SUPPORT=y
ESP_WIFI_ENABLE_WPA3_OWE_STA=y
# ESP_WIFI_SLP_IRAM_OPT is not set
ESP_WIFI_STA_DISCONNECTED_PM_ENABLE=y
# ESP_WIFI_GMAC_SUPPORT is not set
ESP_WIFI_SOFTAP_SUPPORT=y
# ESP_WIFI_SLP_BEACON_LOST_OPT is not set
ESP_WIFI_ESPNOW_MAX_ENCRYPT_NUM=7
# ESP_WIFI_NAN_ENABLE is not set
ESP_WIFI_MBEDTLS_CRYPTO=y
ESP_WIFI_MBEDTLS_TLS_CLIENT=y
# ESP_WIFI_WAPI_PSK is not set
# ESP_WIFI_11KV_SUPPORT is not set
# ESP_WIFI_MBO_SUPPORT is not set
# ESP_WIFI_DPP_SUPPORT is not set
# ESP_WIFI_11R_SUPPORT is not set
# ESP_WIFI_WPS_SOFTAP_REGISTRAR is not set

#
# WPS Configuration Options
#
# ESP_WIFI_WPS_STRICT is not set
# ESP_WIFI_WPS_PASSPHRASE is not set
# end of WPS Configuration Options

# ESP_WIFI_DEBUG_PRINT is not set
# ESP_WIFI_TESTING_OPTIONS is not set
ESP_WIFI_ENTERPRISE_SUPPORT=y
# ESP_WIFI_ENT_FREE_DYNAMIC_BUFFER is not set
# end of Wi-Fi

#
# Core dump
#
# ESP_COREDUMP_ENABLE_TO_FLASH is not set
# ESP_COREDUMP_ENABLE_TO_UART is not set
ESP_COREDUMP_ENABLE_TO_NONE=y
# end of Core dump

#
# FAT Filesystem support
#
FATFS_VOLUME_COUNT=2
FATFS_LFN_NONE=y
# FATFS_LFN_HEAP is not set
# FATFS_LFN_STACK is not set
# FATFS_SECTOR_512 is not set
FATFS_SECTOR_4096=y
# FATFS_CODEPAGE_DYNAMIC is not set
FATFS_CODEPAGE_437=y
# FATFS_CODEPAGE_720 is not set
# FATFS_CODEPAGE_737 is not set
# FATFS_CODEPAGE_771 is not set
# FATFS_CODEPAGE_775 is not set
# FATFS_CODEPAGE_850 is not set
# FATFS_CODEPAGE_852 is not set
# FATFS_CODEPAGE_855 is not set
# FATFS_CODEPAGE_857 is not set
# FATFS_CODEPAGE_860 is not set
# FATFS_CODEPAGE_861 is not set
# FATFS_CODEPAGE_862 is not set
# FATFS_CODEPAGE_863 is not set
# FATFS_CODEPAGE_864 is not set
# FATFS_CODEPAGE_865 is not set
# FATFS_CODEPAGE_866 is not set
# FATFS_CODEPAGE_869 is not set
# FATFS_CODEPAGE_932 is not set
# FATFS_CODEPAGE_936 is not set
# FATFS_CODEPAGE_949 is not set
# FATFS_CODEPAGE_950 is not set
FATFS_CODEPAGE=437
FATFS_FS_LOCK=0
FATFS_TIMEOUT_MS=10000
FATFS_PER_FILE_CACHE=y
# FATFS_USE_FASTSEEK is not set
FATFS_VFS_FSTAT_BLKSIZE=0
# end of FAT Filesystem support

#
# FreeRTOS
#

#
# Kernel
#
# FREERTOS_SMP is not set
# FREERTOS_UNICORE is not set
FREERTOS_HZ=1000
# FREERTOS_CHECK_STACKOVERFLOW_NONE is not set
# FREERTOS_CHECK_STACKOVERFLOW_PTRVAL is not set
FREERTOS_CHECK_STACKOVERFLOW_CANARY=y
FREERTOS_THREAD_LOCAL_STORAGE_POINTERS=1
FREERTOS_IDLE_TASK_STACKSIZE=1536
# FREERTOS_USE_IDLE_HOOK is not set
# FREERTOS_USE_TICK_HOOK is not set
FREERTOS_MAX_TASK_NAME_LEN=16
# FREERTOS_ENABLE_BACKWARD_COMPATIBILITY is not set
FREERTOS_TIMER_TASK_PRIORITY=1
FREERTOS_TIMER_TASK_STACK_DEPTH=4096
FREERTOS_TIMER_QUEUE_LENGTH=10
FREERTOS_QUEUE_REGISTRY_SIZE=0
FREERTOS_TASK_NOTIFICATION_ARRAY_ENTRIES=1
# FREERTOS_USE_TRACE_FACILITY is not set
# FREERTOS_GENERATE_RUN_TIME_STATS is not set
# end of Kernel

#
# Port
#
FREERTOS_TASK_FUNCTION_WRAPPER=y
# FREERTOS_WATCHPOINT_END_OF_STACK is not set
FREERTOS_TLSP_DELETION_CALLBACKS=y
# FREERTOS_ENABLE_STATIC_TASK_CLEAN_UP is not set
FREERTOS_CHECK_MUTEX_GIVEN_BY_OWNER=y
FREERTOS_ISR_STACKSIZE=2096
FREERTOS_INTERRUPT_BACKTRACE=y
# FREERTOS_FPU_IN_ISR is not set
FREERTOS_TICK_SUPPORT_CORETIMER=y
FREERTOS_CORETIMER_0=y
# FREERTOS_CORETIMER_1 is not set
FREERTOS_SYSTICK_USES_CCOUNT=y
FREERTOS_PLACE_FUNCTIONS_INTO_FLASH=y
# FREERTOS_PLACE_SNAPSHOT_FUNS_INTO_FLASH is not set
# FREERTOS_CHECK_PORT_CRITICAL_COMPLIANCE is not set
FREERTOS_ENABLE_TASK_SNAPSHOT=y
# end of Port

FREERTOS_NO_AFFINITY=0x7FFFFFFF
FREERTOS_SUPPORT_STATIC_ALLOCATION=y
FREERTOS_DEBUG_OCDAWARE=y
# end of FreeRTOS

#
# Hardware Abstraction Layer (HAL) and Low Level (LL)
#
HAL_ASSERTION_EQUALS_SYSTEM=y
# HAL_ASSERTION_DISABLE is not set
# HAL_ASSERTION_SILENT is not set
# HAL_ASSERTION_ENABLE is not set
HAL_DEFAULT_ASSERTION_LEVEL=2
HAL_SPI_MASTER_FUNC_IN_IRAM=y
HAL_SPI_SLAVE_FUNC_IN_IRAM=y
# end of Hardware Abstraction Layer (HAL) and Low Level (LL)

#
# Heap memory debugging
#
HEAP_POISONING_DISABLED=y
# HEAP_POISONING_LIGHT is not set
# HEAP_POISONING_COMPREHENSIVE is not set
HEAP_TRACING_OFF=y
# HEAP_TRACING_STANDALONE is not set
# HEAP_TRACING_TOHOST is not set
# HEAP_USE_HOOKS is not set
# HEAP_ABORT_WHEN_ALLOCATION_FAILS is not set
# HEAP_PLACE_FUNCTION_INTO_FLASH is not set
# end of Heap memory debugging

#
# Log output
#
LOG_DEFAULT_LEVEL_NONE=y
# LOG_DEFAULT_LEVEL_ERROR is not set
# LOG_DEFAULT_LEVEL_WARN is not set
# LOG_DEFAULT_LEVEL_INFO is not set
# LOG_DEFAULT_LEVEL_DEBUG is not set
# LOG_DEFAULT_LEVEL_VERBOSE is not set
LOG_DEFAULT_LEVEL=0
LOG_MAXIMUM_EQUALS_DEFAULT=y
# LOG_MAXIMUM_LEVEL_ERROR is not set
# LOG_MAXIMUM_LEVEL_WARN is not set
# LOG_MAXIMUM_LEVEL_INFO is not set
# LOG_MAXIMUM_LEVEL_DEBUG is not set
# LOG_MAXIMUM_LEVEL_VERBOSE is not set
LOG_MAXIMUM_LEVEL=0
LOG_COLORS=y
LOG_TIMESTAMP_SOURCE_RTOS=y
# LOG_TIMESTAMP_SOURCE_SYSTEM is not set
# end of Log output

#
# LWIP
#
LWIP_LOCAL_HOSTNAME="espressif"
# LWIP_NETIF_API is not set
LWIP_TCPIP_TASK_PRIO=18
# LWIP_TCPIP_CORE_LOCKING is not set
# LWIP_CHECK_THREAD_SAFETY is not set
LWIP_DNS_SUPPORT_MDNS_QUERIES=y
# LWIP_L2_TO_L3_COPY is not set
# LWIP_IRAM_OPTIMIZATION is not set
# LWIP_EXTRA_IRAM_OPTIMIZATION is not set
LWIP_TIMERS_ONDEMAND=y
LWIP_ND6=y
# LWIP_FORCE_ROUTER_FORWARDING is not set
LWIP_MAX_SOCKETS=10
# LWIP_USE_ONLY_LWIP_SELECT is not set
# LWIP_SO_LINGER is not set
LWIP_SO_REUSE=y
LWIP_SO_REUSE_RXTOALL=y
LWIP_SO_RCVBUF=y
# LWIP_NETBUF_RECVINFO is not set
LWIP_IP_DEFAULT_TTL=64
LWIP_IP4_FRAG=y
LWIP_IP6_FRAG=y
# LWIP_IP4_REASSEMBLY is not set
# LWIP_IP6_REASSEMBLY is not set
LWIP_IP_REASS_MAX_PBUFS=10
# LWIP_IP_FORWARD is not set
# LWIP_STATS is not set
LWIP_ESP_GRATUITOUS_ARP=y
LWIP_GARP_TMR_INTERVAL=60
LWIP_ESP_MLDV6_REPORT=y
LWIP_MLDV6_TMR_INTERVAL=40
LWIP_TCPIP_RECVMBOX_SIZE=32
LWIP_DHCP_DOES_ARP_CHECK=y
# LWIP_DHCP_DISABLE_CLIENT_ID is not set
LWIP_DHCP_DISABLE_VENDOR_CLASS_ID=y
# LWIP_DHCP_RESTORE_LAST_IP is not set
LWIP_DHCP_OPTIONS_LEN=68
LWIP_NUM_NETIF_CLIENT_DATA=0
LWIP_DHCP_COARSE_TIMER_SECS=1

#
# DHCP server
#
LWIP_DHCPS=y
LWIP_DHCPS_LEASE_UNIT=60
LWIP_DHCPS_MAX_STATION_NUM=8
# end of DHCP server

# LWIP_AUTOIP is not set
LWIP_IPV4=y
LWIP_IPV6=y
# LWIP_IPV6_AUTOCONFIG is not set
LWIP_IPV6_NUM_ADDRESSES=3
# LWIP_IPV6_FORWARD is not set
# LWIP_NETIF_STATUS_CALLBACK is not set
LWIP_NETIF_LOOPBACK=y
LWIP_LOOPBACK_MAX_PBUFS=8

#
# TCP
#
LWIP_MAX_ACTIVE_TCP=16
LWIP_MAX_LISTENING_TCP=16
LWIP_TCP_HIGH_SPEED_RETRANSMISSION=y
LWIP_TCP_MAXRTX=12
LWIP_TCP_SYNMAXRTX=12
LWIP_TCP_MSS=1440
LWIP_TCP_TMR_INTERVAL=250
LWIP_TCP_MSL=60000
LWIP_TCP_FIN_WAIT_TIMEOUT=20000
LWIP_TCP_SND_BUF_DEFAULT=5760
LWIP_TCP_WND_DEFAULT=5760
LWIP_TCP_RECVMBOX_SIZE=6
LWIP_TCP_QUEUE_OOSEQ=y
LWIP_TCP_OOSEQ_TIMEOUT=6
LWIP_TCP_OOSEQ_MAX_PBUFS=4
# LWIP_TCP_SACK_OUT is not set
LWIP_TCP_OVERSIZE_MSS=y
# LWIP_TCP_OVERSIZE_QUARTER_MSS is not set
# LWIP_TCP_OVERSIZE_DISABLE is not set
LWIP_TCP_RTO_TIME=1500
# end of TCP

#
# UDP
#
LWIP_MAX_UDP_PCBS=16
LWIP_UDP_RECVMBOX_SIZE=6
# end of UDP

#
# Checksums
#
# LWIP_CHECKSUM_CHECK_IP is not set
# LWIP_CHECKSUM_CHECK_UDP is not set
LWIP_CHECKSUM_CHECK_ICMP=y
# end of Checksums

LWIP_TCPIP_TASK_STACK_SIZE=3072
LWIP_TCPIP_TASK_AFFINITY_NO_AFFINITY=y
# LWIP_TCPIP_TASK_AFFINITY_CPU0 is not set
# LWIP_TCPIP_TASK_AFFINITY_CPU1 is not set
LWIP_TCPIP_TASK_AFFINITY=0x7FFFFFFF
# LWIP_PPP_SUPPORT is not set
LWIP_IPV6_MEMP_NUM_ND6_QUEUE=3
LWIP_IPV6_ND6_NUM_NEIGHBORS=5
# LWIP_SLIP_SUPPORT is not set

#
# ICMP
#
LWIP_ICMP=y
# LWIP_MULTICAST_PING is not set
# LWIP_BROADCAST_PING is not set
# end of ICMP

#
# LWIP RAW API
#
LWIP_MAX_RAW_PCBS=16
# end of LWIP RAW API

#
# SNTP
#
LWIP_SNTP_MAX_SERVERS=1
# LWIP_DHCP_GET_NTP_SRV is not set
LWIP_SNTP_UPDATE_DELAY=3600000
# end of SNTP

#
# DNS
#
LWIP_DNS_MAX_SERVERS=3
# LWIP_FALLBACK_DNS_SERVER_SUPPORT is not set
# end of DNS

LWIP_BRIDGEIF_MAX_PORTS=7
LWIP_ESP_LWIP_ASSERT=y

#
# Hooks
#
# LWIP_HOOK_TCP_ISN_NONE is not set
LWIP_HOOK_TCP_ISN_DEFAULT=y
# LWIP_HOOK_TCP_ISN_CUSTOM is not set
LWIP_HOOK_IP6_ROUTE_NONE=y
# LWIP_HOOK_IP6_ROUTE_DEFAULT is not set
# LWIP_HOOK_IP6_ROUTE_CUSTOM is not set
LWIP_HOOK_ND6_GET_GW_NONE=y
# LWIP_HOOK_ND6_GET_GW_DEFAULT is not set
# LWIP_HOOK_ND6_GET_GW_CUSTOM is not set
LWIP_HOOK_IP6_SELECT_SRC_ADDR_NONE=y
# LWIP_HOOK_IP6_SELECT_SRC_ADDR_DEFAULT is not set
# LWIP_HOOK_IP6_SELECT_SRC_ADDR_CUSTOM is not set
LWIP_HOOK_NETCONN_EXT_RESOLVE_NONE=y
# LWIP_HOOK_NETCONN_EXT_RESOLVE_DEFAULT is not set
# LWIP_HOOK_NETCONN_EXT_RESOLVE_CUSTOM is not set
LWIP_HOOK_IP6_INPUT_NONE=y
# LWIP_HOOK_IP6_INPUT_DEFAULT is not set
# LWIP_HOOK_IP6_INPUT_CUSTOM is not set
# end of Hooks

# LWIP_DEBUG is not set
# end of LWIP

#
# ESP-MQTT Configurations
#
MQTT_PROTOCOL_311=y
# MQTT_PROTOCOL_5 is not set
MQTT_TRANSPORT_SSL=y
MQTT_TRANSPORT_WEBSOCKET=y
MQTT_TRANSPORT_WEBSOCKET_SECURE=y
# MQTT_MSG_ID_INCREMENTAL is not set
# MQTT_SKIP_PUBLISH_IF_DISCONNECTED is not set
# MQTT_REPORT_DELETED_MESSAGES is not set
# MQTT_USE_CUSTOM_CONFIG is not set
# MQTT_TASK_CORE_SELECTION_ENABLED is not set
# MQTT_CUSTOM_OUTBOX is not set
# end of ESP-MQTT Configurations

#
# Newlib
#
NEWLIB_STDOUT_LINE_ENDING_CRLF=y
# NEWLIB_STDOUT_LINE_ENDING_LF is not set
# NEWLIB_STDOUT_LINE_ENDING_CR is not set
# NEWLIB_STDIN_LINE_ENDING_CRLF is not set
# NEWLIB_STDIN_LINE_ENDING_LF is not set
NEWLIB_STDIN_LINE_ENDING_CR=y
# NEWLIB_NANO_FORMAT is not set
NEWLIB_TIME_SYSCALL_USE_RTC_HRT=y
# NEWLIB_TIME_SYSCALL_USE_RTC is not set
# NEWLIB_TIME_SYSCALL_USE_HRT is not set
# NEWLIB_TIME_SYSCALL_USE_NONE is not set
# end of Newlib

#
# NVS
#
# NVS_ASSERT_ERROR_CHECK is not set
# end of NVS

#
# OpenThread
#
# OPENTHREAD_ENABLED is not set

#
# Thread Operational Dataset
#
OPENTHREAD_NETWORK_NAME="OpenThread-ESP"
OPENTHREAD_MESH_LOCAL_PREFIX="fd00:db8:a0:0::/64"
OPENTHREAD_NETWORK_CHANNEL=15
OPENTHREAD_NETWORK_PANID=0x1234
OPENTHREAD_NETWORK_EXTPANID="dead00beef00cafe"
OPENTHREAD_NETWORK_MASTERKEY="00112233445566778899aabbccddeeff"
OPENTHREAD_NETWORK_PSKC="104810e2315100afd6bc9215a6bfac53"
# end of Thread Operational Dataset

OPENTHREAD_XTAL_ACCURACY=130
# OPENTHREAD_SPINEL_ONLY is not set
OPENTHREAD_RX_ON_WHEN_IDLE=y

#
# Thread Address Query Config
#
# end of Thread Address Query Config
# end of OpenThread

#
# Protocomm
#
ESP_PROTOCOMM_SUPPORT_SECURITY_VERSION_0=y
ESP_PROTOCOMM_SUPPORT_SECURITY_VERSION_1=y
ESP_PROTOCOMM_SUPPORT_SECURITY_VERSION_2=y
# end of Protocomm

#
# PThreads
#
PTHREAD_TASK_PRIO_DEFAULT=5
PTHREAD_TASK_STACK_SIZE_DEFAULT=3072
PTHREAD_STACK_MIN=768
PTHREAD_DEFAULT_CORE_NO_AFFINITY=y
# PTHREAD_DEFAULT_CORE_0 is not set
# PTHREAD_DEFAULT_CORE_1 is not set
PTHREAD_TASK_CORE_DEFAULT=-1
PTHREAD_TASK_NAME_DEFAULT="pthread"
# end of PThreads

#
# MMU Config
#
MMU_PAGE_SIZE_64KB=y
MMU_PAGE_MODE="64KB"
MMU_PAGE_SIZE=0x10000
# end of MMU Config

#
# Main Flash configuration
#

#
# SPI Flash behavior when brownout
#
SPI_FLASH_BROWNOUT_RESET_XMC=y
SPI_FLASH_BROWNOUT_RESET=y
# end of SPI Flash behavior when brownout

#
# Optional and Experimental Features (READ DOCS FIRST)
#

#
# Features here require specific hardware (READ DOCS FIRST!)
#
# end of Optional and Experimental Features (READ DOCS FIRST)
# end of Main Flash configuration

#
# SPI Flash driver
#
# SPI_FLASH_VERIFY_WRITE is not set
# SPI_FLASH_ENABLE_COUNTERS is not set
SPI_FLASH_ROM_DRIVER_PATCH=y
SPI_FLASH_DANGEROUS_WRITE_ABORTS=y
# SPI_FLASH_DANGEROUS_WRITE_FAILS is not set
# SPI_FLASH_DANGEROUS_WRITE_ALLOWED is not set
# SPI_FLASH_SHARE_SPI1_BUS is not set
# SPI_FLASH_BYPASS_BLOCK_ERASE is not set
SPI_FLASH_YIELD_DURING_ERASE=y
SPI_FLASH_ERASE_YIELD_DURATION_MS=20
SPI_FLASH_ERASE_YIELD_TICKS=1
SPI_FLASH_WRITE_CHUNK_SIZE=8192
# SPI_FLASH_SIZE_OVERRIDE is not set
# SPI_FLASH_CHECK_ERASE_TIMEOUT_DISABLED is not set
# SPI_FLASH_OVERRIDE_CHIP_DRIVER_LIST is not set

#
# Auto-detect flash chips
#
SPI_FLASH_VENDOR_XMC_SUPPORTED=y
SPI_FLASH_VENDOR_GD_SUPPORTED=y
SPI_FLASH_VENDOR_ISSI_SUPPORTED=y
SPI_FLASH_VENDOR_MXIC_SUPPORTED=y
SPI_FLASH_VENDOR_WINBOND_SUPPORTED=y
SPI_FLASH_SUPPORT_ISSI_CHIP=y
SPI_FLASH_SUPPORT_MXIC_CHIP=y
SPI_FLASH_SUPPORT_GD_CHIP=y
SPI_FLASH_SUPPORT_WINBOND_CHIP=y
# SPI_FLASH_SUPPORT_BOYA_CHIP is not set
# SPI_FLASH_SUPPORT_TH_CHIP is not set
# end of Auto-detect flash chips

SPI_FLASH_ENABLE_ENCRYPTED_READ_WRITE=y
# end of SPI Flash driver

#
# SPIFFS Configuration
#
SPIFFS_MAX_PARTITIONS=3

#
# SPIFFS Cache Configuration
#
SPIFFS_CACHE=y
SPIFFS_CACHE_WR=y
# SPIFFS_CACHE_STATS is not set
# end of SPIFFS Cache Configuration

SPIFFS_PAGE_CHECK=y
SPIFFS_GC_MAX_RUNS=10
# SPIFFS_GC_STATS is not set
SPIFFS_PAGE_SIZE=256
SPIFFS_OBJ_NAME_LEN=32
# SPIFFS_FOLLOW_SYMLINKS is not set
SPIFFS_USE_MAGIC=y
SPIFFS_USE_MAGIC_LENGTH=y
SPIFFS_META_LENGTH=4
SPIFFS_USE_MTIME=y

#
# Debug Configuration
#
# SPIFFS_DBG is not set
# SPIFFS_API_DBG is not set
# SPIFFS_GC_DBG is not set
# SPIFFS_CACHE_DBG is not set
# SPIFFS_CHECK_DBG is not set
# SPIFFS_TEST_VISUALISATION is not set
# end of Debug Configuration
# end of SPIFFS Configuration

#
# TCP Transport
#

#
# Websocket
#
WS_TRANSPORT=y
WS_BUFFER_SIZE=1024
# WS_DYNAMIC_BUFFER is not set
# end of Websocket
# end of TCP Transport

#
# Ultra Low Power (ULP) Co-processor
#
# ULP_COPROC_ENABLED is not set
# end of Ultra Low Power (ULP) Co-processor

#
# Unity unit testing library
#
UNITY_ENABLE_FLOAT=y
UNITY_ENABLE_DOUBLE=y
# UNITY_ENABLE_64BIT is not set
# UNITY_ENABLE_COLOR is not set
UNITY_ENABLE_IDF_TEST_RUNNER=y
# UNITY_ENABLE_FIXTURE is not set
# UNITY_ENABLE_BACKTRACE_ON_FAIL is not set
# end of Unity unit testing library

#
# Virtual file system
#
VFS_SUPPORT_IO=y
VFS_SUPPORT_DIR=y
VFS_SUPPORT_SELECT=y
VFS_SUPPRESS_SELECT_DEBUG_OUTPUT=y
# VFS_SELECT_IN_RAM is not set
VFS_SUPPORT_TERMIOS=y
VFS_MAX_COUNT=8

#
# Host File System I/O (Semihosting)
#
VFS_SEMIHOSTFS_MAX_MOUNT_POINTS=1
# end of Host File System I/O (Semihosting)
# end of Virtual file system

#
# Wear Levelling
#
# WL_SECTOR_SIZE_512 is not set
WL_SECTOR_SIZE_4096=y
WL_SECTOR_SIZE=4096
# end of Wear Levelling

#
# Wi-Fi Provisioning Manager
#
WIFI_PROV_SCAN_MAX_ENTRIES=16
WIFI_PROV_AUTOSTOP_TIMEOUT=30
# WIFI_PROV_BLE_BONDING is not set
# WIFI_PROV_BLE_FORCE_ENCRYPTION is not set
# WIFI_PROV_KEEP_BLE_ON_AFTER_PROV is not set
WIFI_PROV_STA_ALL_CHANNEL_SCAN=y
# WIFI_PROV_STA_FAST_SCAN is not set
# end of Wi-Fi Provisioning Manager

#
# DSP Library
#
DSP_OPTIMIZATIONS_SUPPORTED=y
# DSP_ANSI is not set
DSP_OPTIMIZED=y
DSP_OPTIMIZATION=1
# DSP_MAX_FFT_SIZE_512 is not set
# DSP_MAX_FFT_SIZE_1024 is not set
# DSP_MAX_FFT_SIZE_2048 is not set
DSP_MAX_FFT_SIZE_4096=y
# DSP_MAX_FFT_SIZE_8192 is not set
# DSP_MAX_FFT_SIZE_16384 is not set
# DSP_MAX_FFT_SIZE_32768 is not set
DSP_MAX_FFT_SIZE=4096
# end of DSP Library

#
# Modbus configuration
#
FMB_COMM_MODE_TCP_EN=y
FMB_TCP_PORT_DEFAULT=502
FMB_TCP_PORT_MAX_CONN=5
FMB_TCP_CONNECTION_TOUT_SEC=20
# FMB_TCP_UID_ENABLED is not set
FMB_COMM_MODE_RTU_EN=y
FMB_COMM_MODE_ASCII_EN=y
FMB_MASTER_TIMEOUT_MS_RESPOND=3000
FMB_MASTER_DELAY_MS_CONVERT=200
FMB_QUEUE_LENGTH=20
FMB_PORT_TASK_STACK_SIZE=4096
FMB_SERIAL_BUF_SIZE=256
FMB_SERIAL_ASCII_BITS_PER_SYMB=8
FMB_ASCII_TIMEOUT_WAIT_BEFORE_SEND_MS=0
FMB_SERIAL_ASCII_TIMEOUT_RESPOND_MS=1000
FMB_PORT_TASK_PRIO=10
# FMB_PORT_TASK_AFFINITY_NO_AFFINITY is not set
FMB_PORT_TASK_AFFINITY_CPU0=y
# FMB_PORT_TASK_AFFINITY_CPU1 is not set
FMB_PORT_TASK_AFFINITY=0x0
FMB_CONTROLLER_SLAVE_ID_SUPPORT=y
FMB_CONTROLLER_SLAVE_ID=0x00112233
FMB_CONTROLLER_NOTIFY_TIMEOUT=20
FMB_CONTROLLER_NOTIFY_QUEUE_SIZE=20
FMB_CONTROLLER_STACK_SIZE=4096
FMB_EVENT_QUEUE_TIMEOUT=20
# FMB_TIMER_PORT_ENABLED is not set
# FMB_TIMER_USE_ISR_DISPATCH_METHOD is not set
# FMB_EXT_TYPE_SUPPORT is not set
# end of Modbus configuration

#
# ESP serial flasher
#
SERIAL_FLASHER_MD5_ENABLED=y
SERIAL_FLASHER_RESET_HOLD_TIME_MS=100
SERIAL_FLASHER_BOOT_HOLD_TIME_MS=50
# end of ESP serial flasher

#
# Zigbee
#
# ZB_ENABLED is not set
# end of Zigbee

#
# Diagnostics data store
#
DIAG_DATA_STORE_RTC=y
# DIAG_DATA_STORE_FLASH is not set
# DIAG_DATA_STORE_DBG_PRINTS is not set
DIAG_DATA_STORE_REPORTING_WATERMARK_PERCENT=80

#
# RTC Store
#
RTC_STORE_DATA_SIZE=3072
RTC_STORE_CRITICAL_DATA_SIZE=2048
# end of RTC Store
# end of Diagnostics data store

#
# Diagnostics
#
DIAG_LOG_MSG_ARG_FORMAT_TLV=y
# DIAG_LOG_MSG_ARG_FORMAT_STRING is not set
DIAG_LOG_MSG_ARG_MAX_SIZE=64
DIAG_LOG_DROP_WIFI_LOGS=y
DIAG_ENABLE_METRICS=y
DIAG_METRICS_MAX_COUNT=20
DIAG_ENABLE_HEAP_METRICS=y
DIAG_ENABLE_WIFI_METRICS=y
DIAG_ENABLE_VARIABLES=y
DIAG_VARIABLES_MAX_COUNT=20
DIAG_ENABLE_NETWORK_VARIABLES=y
# DIAG_MORE_NETWORK_VARS is not set
# DIAG_USE_EXTERNAL_LOG_WRAP is not set
# end of Diagnostics

#
# ESP Insights
#
ESP_INSIGHTS_ENABLED=y
# ESP_INSIGHTS_DEBUG_ENABLED is not set
# ESP_INSIGHTS_TRANSPORT_MQTT is not set
ESP_INSIGHTS_TRANSPORT_HTTPS=y
ESP_INSIGHTS_TRANSPORT_HTTPS_HOST="https://client.insights.espressif.com"
ESP_INSIGHTS_CLOUD_POST_MIN_INTERVAL_SEC=60
ESP_INSIGHTS_CLOUD_POST_MAX_INTERVAL_SEC=240
ESP_INSIGHTS_META_VERSION_10=y
# end of ESP Insights

#
# esp-modem
#
ESP_MODEM_CMUX_DEFRAGMENT_PAYLOAD=y
# ESP_MODEM_USE_INFLATABLE_BUFFER_IF_NEEDED is not set
ESP_MODEM_CMUX_DELAY_AFTER_DLCI_SETUP=0
# ESP_MODEM_CMUX_USE_SHORT_PAYLOADS_ONLY is not set
# ESP_MODEM_ADD_CUSTOM_MODULE is not set
# end of esp-modem

#
# OpenThread RCP Update
#
# AUTO_UPDATE_RCP is not set
# CREATE_OTA_IMAGE_WITH_RCP_FW is not set
# end of OpenThread RCP Update

#
# ESP Secure Cert Manager
#
# ESP_SECURE_CERT_SUPPORT_LEGACY_FORMATS is not set
# end of ESP Secure Cert Manager

#
# jsmn
#
# JSMN_PARENT_LINKS is not set
# JSMN_STRICT is not set
# JSMN_STATIC is not set
# end of jsmn

#
# libsodium
#
# end of libsodium

#
# mDNS
#
MDNS_MAX_INTERFACES=3
MDNS_MAX_SERVICES=10
MDNS_TASK_PRIORITY=1
MDNS_ACTION_QUEUE_LEN=16
MDNS_TASK_STACK_SIZE=4096
# MDNS_TASK_AFFINITY_NO_AFFINITY is not set
MDNS_TASK_AFFINITY_CPU0=y
# MDNS_TASK_AFFINITY_CPU1 is not set
MDNS_TASK_AFFINITY=0x0
MDNS_SERVICE_ADD_TIMEOUT_MS=2000
MDNS_TIMER_PERIOD_MS=100
# MDNS_NETWORKING_SOCKET is not set
# MDNS_SKIP_SUPPRESSING_OWN_QUERIES is not set
# MDNS_ENABLE_DEBUG_PRINTS is not set
MDNS_ENABLE_CONSOLE_CLI=y
# MDNS_RESPOND_REVERSE_QUERIES is not set
MDNS_MULTIPLE_INSTANCE=y

#
# MDNS Predefined interfaces
#
MDNS_PREDEF_NETIF_STA=y
MDNS_PREDEF_NETIF_AP=y
MDNS_PREDEF_NETIF_ETH=y
# end of MDNS Predefined interfaces
# end of mDNS

#
# Network Provisioning Manager
#
NETWORK_PROV_NETWORK_TYPE_WIFI=y
NETWORK_PROV_SCAN_MAX_ENTRIES=16
NETWORK_PROV_AUTOSTOP_TIMEOUT=30
# NETWORK_PROV_BLE_BONDING is not set
# NETWORK_PROV_BLE_FORCE_ENCRYPTION is not set
# NETWORK_PROV_KEEP_BLE_ON_AFTER_PROV is not set
NETWORK_PROV_WIFI_STA_ALL_CHANNEL_SCAN=y
# NETWORK_PROV_WIFI_STA_FAST_SCAN is not set
# end of Network Provisioning Manager

#
# ESP RainMaker Common
#
ESP_RMAKER_LIB_ESP_MQTT=y
# ESP_RMAKER_LIB_AWS_IOT is not set
ESP_RMAKER_MQTT_GLUE_LIB=1
ESP_RMAKER_MQTT_PORT_443=y
# ESP_RMAKER_MQTT_PORT_8883 is not set
ESP_RMAKER_MQTT_PORT=1
# ESP_RMAKER_MQTT_PERSISTENT_SESSION is not set
ESP_RMAKER_MQTT_SEND_USERNAME=y
ESP_RMAKER_MQTT_PRODUCT_NAME="RMDev"
ESP_RMAKER_MQTT_PRODUCT_VERSION="1x0"
ESP_RMAKER_MQTT_PRODUCT_SKU="EX00"
ESP_RMAKER_MQTT_USE_CERT_BUNDLE=y
ESP_RMAKER_MAX_MQTT_SUBSCRIPTIONS=10
ESP_RMAKER_MQTT_KEEP_ALIVE_INTERVAL=120
ESP_RMAKER_NETWORK_OVER_WIFI=y
ESP_RMAKER_WORK_QUEUE_TASK_STACK=4096
ESP_RMAKER_WORK_QUEUE_TASK_PRIORITY=5
ESP_RMAKER_FACTORY_PARTITION_NAME="fctry"
ESP_RMAKER_FACTORY_NAMESPACE="rmaker_creds"
ESP_RMAKER_DEF_TIMEZONE="Asia/Shanghai"
ESP_RMAKER_SNTP_SERVER_NAME="pool.ntp.org"
ESP_RMAKER_MAX_COMMANDS=10
# end of ESP RainMaker Common

#
# LittleFS
#
# LITTLEFS_SDMMC_SUPPORT is not set
LITTLEFS_MAX_PARTITIONS=3
LITTLEFS_PAGE_SIZE=256
LITTLEFS_OBJ_NAME_LEN=64
LITTLEFS_READ_SIZE=128
LITTLEFS_WRITE_SIZE=128
LITTLEFS_LOOKAHEAD_SIZE=128
LITTLEFS_CACHE_SIZE=512
LITTLEFS_BLOCK_CYCLES=512
LITTLEFS_USE_MTIME=y
# LITTLEFS_USE_ONLY_HASH is not set
# LITTLEFS_HUMAN_READABLE is not set
LITTLEFS_MTIME_USE_SECONDS=y
# LITTLEFS_MTIME_USE_NONCE is not set
# LITTLEFS_SPIFFS_COMPAT is not set
# LITTLEFS_FLUSH_FILE_EVERY_WRITE is not set
# LITTLEFS_FCNTL_GET_PATH is not set
# LITTLEFS_MULTIVERSION is not set
# LITTLEFS_MALLOC_STRATEGY_DISABLE is not set
LITTLEFS_MALLOC_STRATEGY_DEFAULT=y
# LITTLEFS_MALLOC_STRATEGY_INTERNAL is not set
LITTLEFS_ASSERTS=y
# end of LittleFS
# end of Component config

# IDF_EXPERIMENTAL_FEATURES is not set

# Deprecated options for backward compatibility
# APP_BUILD_TYPE_ELF_RAM is not set
# NO_BLOBS is not set
# ESP32_NO_BLOBS is not set
# ESP32_COMPATIBLE_PRE_V2_1_BOOTLOADERS is not set
# ESP32_COMPATIBLE_PRE_V3_1_BOOTLOADERS is not set
LOG_BOOTLOADER_LEVEL_NONE=y
# LOG_BOOTLOADER_LEVEL_ERROR is not set
# LOG_BOOTLOADER_LEVEL_WARN is not set
# LOG_BOOTLOADER_LEVEL_INFO is not set
# LOG_BOOTLOADER_LEVEL_DEBUG is not set
# LOG_BOOTLOADER_LEVEL_VERBOSE is not set
LOG_BOOTLOADER_LEVEL=0
# APP_ROLLBACK_ENABLE is not set
# FLASH_ENCRYPTION_ENABLED is not set
# FLASHMODE_QIO is not set
# FLASHMODE_QOUT is not set
FLASHMODE_DIO=y
# FLASHMODE_DOUT is not set
MONITOR_BAUD=115200
# ESP_RMAKER_LOCAL_CTRL_ENABLE is not set
OPTIMIZATION_LEVEL_DEBUG=y
COMPILER_OPTIMIZATION_LEVEL_DEBUG=y
# OPTIMIZATION_LEVEL_RELEASE is not set
# COMPILER_OPTIMIZATION_LEVEL_RELEASE is not set
OPTIMIZATION_ASSERTIONS_ENABLED=y
# OPTIMIZATION_ASSERTIONS_SILENT is not set
# OPTIMIZATION_ASSERTIONS_DISABLED is not set
OPTIMIZATION_ASSERTION_LEVEL=2
# CXX_EXCEPTIONS is not set
STACK_CHECK_NONE=y
# STACK_CHECK_NORM is not set
# STACK_CHECK_STRONG is not set
# STACK_CHECK_ALL is not set
# WARN_WRITE_STRINGS is not set
# ESP32_APPTRACE_DEST_TRAX is not set
ESP32_APPTRACE_DEST_NONE=y
ESP32_APPTRACE_LOCK_ENABLE=y
BLUEDROID_ENABLED=y
# NIMBLE_ENABLED is not set
BTC_TASK_STACK_SIZE=3072
BLUEDROID_PINNED_TO_CORE_0=y
# BLUEDROID_PINNED_TO_CORE_1 is not set
BLUEDROID_PINNED_TO_CORE=0
BTU_TASK_STACK_SIZE=4352
# BLUEDROID_MEM_DEBUG is not set
# CLASSIC_BT_ENABLED is not set
GATTS_ENABLE=y
# GATTS_SEND_SERVICE_CHANGE_MANUAL is not set
GATTS_SEND_SERVICE_CHANGE_AUTO=y
GATTS_SEND_SERVICE_CHANGE_MODE=0
GATTC_ENABLE=y
# GATTC_CACHE_NVS_FLASH is not set
BLE_SMP_ENABLE=y
# SMP_SLAVE_CON_PARAMS_UPD_ENABLE is not set
# HCI_TRACE_LEVEL_NONE is not set
# HCI_TRACE_LEVEL_ERROR is not set
HCI_TRACE_LEVEL_WARNING=y
# HCI_TRACE_LEVEL_API is not set
# HCI_TRACE_LEVEL_EVENT is not set
# HCI_TRACE_LEVEL_DEBUG is not set
# HCI_TRACE_LEVEL_VERBOSE is not set
HCI_INITIAL_TRACE_LEVEL=2
# BTM_TRACE_LEVEL_NONE is not set
# BTM_TRACE_LEVEL_ERROR is not set
BTM_TRACE_LEVEL_WARNING=y
# BTM_TRACE_LEVEL_API is not set
# BTM_TRACE_LEVEL_EVENT is not set
# BTM_TRACE_LEVEL_DEBUG is not set
# BTM_TRACE_LEVEL_VERBOSE is not set
BTM_INITIAL_TRACE_LEVEL=2
# L2CAP_TRACE_LEVEL_NONE is not set
# L2CAP_TRACE_LEVEL_ERROR is not set
L2CAP_TRACE_LEVEL_WARNING=y
# L2CAP_TRACE_LEVEL_API is not set
# L2CAP_TRACE_LEVEL_EVENT is not set
# L2CAP_TRACE_LEVEL_DEBUG is not set
# L2CAP_TRACE_LEVEL_VERBOSE is not set
L2CAP_INITIAL_TRACE_LEVEL=2
# RFCOMM_TRACE_LEVEL_NONE is not set
# RFCOMM_TRACE_LEVEL_ERROR is not set
RFCOMM_TRACE_LEVEL_WARNING=y
# RFCOMM_TRACE_LEVEL_API is not set
# RFCOMM_TRACE_LEVEL_EVENT is not set
# RFCOMM_TRACE_LEVEL_DEBUG is not set
# RFCOMM_TRACE_LEVEL_VERBOSE is not set
RFCOMM_INITIAL_TRACE_LEVEL=2
# SDP_TRACE_LEVEL_NONE is not set
# SDP_TRACE_LEVEL_ERROR is not set
SDP_TRACE_LEVEL_WARNING=y
# SDP_TRACE_LEVEL_API is not set
# SDP_TRACE_LEVEL_EVENT is not set
# SDP_TRACE_LEVEL_DEBUG is not set
# SDP_TRACE_LEVEL_VERBOSE is not set
BTH_LOG_SDP_INITIAL_TRACE_LEVEL=2
# GAP_TRACE_LEVEL_NONE is not set
# GAP_TRACE_LEVEL_ERROR is not set
GAP_TRACE_LEVEL_WARNING=y
# GAP_TRACE_LEVEL_API is not set
# GAP_TRACE_LEVEL_EVENT is not set
# GAP_TRACE_LEVEL_DEBUG is not set
# GAP_TRACE_LEVEL_VERBOSE is not set
GAP_INITIAL_TRACE_LEVEL=2
BNEP_INITIAL_TRACE_LEVEL=2
# PAN_TRACE_LEVEL_NONE is not set
# PAN_TRACE_LEVEL_ERROR is not set
PAN_TRACE_LEVEL_WARNING=y
# PAN_TRACE_LEVEL_API is not set
# PAN_TRACE_LEVEL_EVENT is not set
# PAN_TRACE_LEVEL_DEBUG is not set
# PAN_TRACE_LEVEL_VERBOSE is not set
PAN_INITIAL_TRACE_LEVEL=2
# A2D_TRACE_LEVEL_NONE is not set
# A2D_TRACE_LEVEL_ERROR is not set
A2D_TRACE_LEVEL_WARNING=y
# A2D_TRACE_LEVEL_API is not set
# A2D_TRACE_LEVEL_EVENT is not set
# A2D_TRACE_LEVEL_DEBUG is not set
# A2D_TRACE_LEVEL_VERBOSE is not set
A2D_INITIAL_TRACE_LEVEL=2
# AVDT_TRACE_LEVEL_NONE is not set
# AVDT_TRACE_LEVEL_ERROR is not set
AVDT_TRACE_LEVEL_WARNING=y
# AVDT_TRACE_LEVEL_API is not set
# AVDT_TRACE_LEVEL_EVENT is not set
# AVDT_TRACE_LEVEL_DEBUG is not set
# AVDT_TRACE_LEVEL_VERBOSE is not set
AVDT_INITIAL_TRACE_LEVEL=2
# AVCT_TRACE_LEVEL_NONE is not set
# AVCT_TRACE_LEVEL_ERROR is not set
AVCT_TRACE_LEVEL_WARNING=y
# AVCT_TRACE_LEVEL_API is not set
# AVCT_TRACE_LEVEL_EVENT is not set
# AVCT_TRACE_LEVEL_DEBUG is not set
# AVCT_TRACE_LEVEL_VERBOSE is not set
AVCT_INITIAL_TRACE_LEVEL=2
# AVRC_TRACE_LEVEL_NONE is not set
# AVRC_TRACE_LEVEL_ERROR is not set
AVRC_TRACE_LEVEL_WARNING=y
# AVRC_TRACE_LEVEL_API is not set
# AVRC_TRACE_LEVEL_EVENT is not set
# AVRC_TRACE_LEVEL_DEBUG is not set
# AVRC_TRACE_LEVEL_VERBOSE is not set
AVRC_INITIAL_TRACE_LEVEL=2
# MCA_TRACE_LEVEL_NONE is not set
# MCA_TRACE_LEVEL_ERROR is not set
MCA_TRACE_LEVEL_WARNING=y
# MCA_TRACE_LEVEL_API is not set
# MCA_TRACE_LEVEL_EVENT is not set
# MCA_TRACE_LEVEL_DEBUG is not set
# MCA_TRACE_LEVEL_VERBOSE is not set
MCA_INITIAL_TRACE_LEVEL=2
# HID_TRACE_LEVEL_NONE is not set
# HID_TRACE_LEVEL_ERROR is not set
HID_TRACE_LEVEL_WARNING=y
# HID_TRACE_LEVEL_API is not set
# HID_TRACE_LEVEL_EVENT is not set
# HID_TRACE_LEVEL_DEBUG is not set
# HID_TRACE_LEVEL_VERBOSE is not set
HID_INITIAL_TRACE_LEVEL=2
# APPL_TRACE_LEVEL_NONE is not set
# APPL_TRACE_LEVEL_ERROR is not set
APPL_TRACE_LEVEL_WARNING=y
# APPL_TRACE_LEVEL_API is not set
# APPL_TRACE_LEVEL_EVENT is not set
# APPL_TRACE_LEVEL_DEBUG is not set
# APPL_TRACE_LEVEL_VERBOSE is not set
APPL_INITIAL_TRACE_LEVEL=2
# GATT_TRACE_LEVEL_NONE is not set
# GATT_TRACE_LEVEL_ERROR is not set
GATT_TRACE_LEVEL_WARNING=y
# GATT_TRACE_LEVEL_API is not set
# GATT_TRACE_LEVEL_EVENT is not set
# GATT_TRACE_LEVEL_DEBUG is not set
# GATT_TRACE_LEVEL_VERBOSE is not set
GATT_INITIAL_TRACE_LEVEL=2
# SMP_TRACE_LEVEL_NONE is not set
# SMP_TRACE_LEVEL_ERROR is not set
SMP_TRACE_LEVEL_WARNING=y
# SMP_TRACE_LEVEL_API is not set
# SMP_TRACE_LEVEL_EVENT is not set
# SMP_TRACE_LEVEL_DEBUG is not set
# SMP_TRACE_LEVEL_VERBOSE is not set
SMP_INITIAL_TRACE_LEVEL=2
# BTIF_TRACE_LEVEL_NONE is not set
# BTIF_TRACE_LEVEL_ERROR is not set
BTIF_TRACE_LEVEL_WARNING=y
# BTIF_TRACE_LEVEL_API is not set
# BTIF_TRACE_LEVEL_EVENT is not set
# BTIF_TRACE_LEVEL_DEBUG is not set
# BTIF_TRACE_LEVEL_VERBOSE is not set
BTIF_INITIAL_TRACE_LEVEL=2
# BTC_TRACE_LEVEL_NONE is not set
# BTC_TRACE_LEVEL_ERROR is not set
BTC_TRACE_LEVEL_WARNING=y
# BTC_TRACE_LEVEL_API is not set
# BTC_TRACE_LEVEL_EVENT is not set
# BTC_TRACE_LEVEL_DEBUG is not set
# BTC_TRACE_LEVEL_VERBOSE is not set
BTC_INITIAL_TRACE_LEVEL=2
# OSI_TRACE_LEVEL_NONE is not set
# OSI_TRACE_LEVEL_ERROR is not set
OSI_TRACE_LEVEL_WARNING=y
# OSI_TRACE_LEVEL_API is not set
# OSI_TRACE_LEVEL_EVENT is not set
# OSI_TRACE_LEVEL_DEBUG is not set
# OSI_TRACE_LEVEL_VERBOSE is not set
OSI_INITIAL_TRACE_LEVEL=2
# BLUFI_TRACE_LEVEL_NONE is not set
# BLUFI_TRACE_LEVEL_ERROR is not set
BLUFI_TRACE_LEVEL_WARNING=y
# BLUFI_TRACE_LEVEL_API is not set
# BLUFI_TRACE_LEVEL_EVENT is not set
# BLUFI_TRACE_LEVEL_DEBUG is not set
# BLUFI_TRACE_LEVEL_VERBOSE is not set
BLUFI_INITIAL_TRACE_LEVEL=2
# BLE_HOST_QUEUE_CONGESTION_CHECK is not set
SMP_ENABLE=y
# BLE_ACTIVE_SCAN_REPORT_ADV_SCAN_RSP_INDIVIDUALLY is not set
BLE_ESTABLISH_LINK_CONNECTION_TIMEOUT=30
BTDM_CONTROLLER_MODE_BLE_ONLY=y
# BTDM_CONTROLLER_MODE_BR_EDR_ONLY is not set
# BTDM_CONTROLLER_MODE_BTDM is not set
BTDM_CONTROLLER_BLE_MAX_CONN=3
BTDM_CONTROLLER_BLE_MAX_CONN_EFF=3
BTDM_CONTROLLER_BR_EDR_MAX_ACL_CONN_EFF=0
BTDM_CONTROLLER_BR_EDR_MAX_SYNC_CONN_EFF=0
BTDM_CONTROLLER_PINNED_TO_CORE=0
BTDM_CONTROLLER_HCI_MODE_VHCI=y
# BTDM_CONTROLLER_HCI_MODE_UART_H4 is not set
BTDM_CONTROLLER_MODEM_SLEEP=y
BLE_SCAN_DUPLICATE=y
SCAN_DUPLICATE_BY_DEVICE_ADDR=y
# SCAN_DUPLICATE_BY_ADV_DATA is not set
# SCAN_DUPLICATE_BY_ADV_DATA_AND_DEVICE_ADDR is not set
SCAN_DUPLICATE_TYPE=0
DUPLICATE_SCAN_CACHE_SIZE=100
# BLE_MESH_SCAN_DUPLICATE_EN is not set
BTDM_CONTROLLER_FULL_SCAN_SUPPORTED=y
BLE_ADV_REPORT_FLOW_CONTROL_SUPPORTED=y
BLE_ADV_REPORT_FLOW_CONTROL_NUM=100
BLE_ADV_REPORT_DISCARD_THRSHOLD=20
ADC2_DISABLE_DAC=y
# MCPWM_ISR_IN_IRAM is not set
SW_COEXIST_ENABLE=y
ESP32_WIFI_SW_COEXIST_ENABLE=y
ESP_WIFI_SW_COEXIST_ENABLE=y
# EVENT_LOOP_PROFILING is not set
POST_EVENTS_FROM_ISR=y
POST_EVENTS_FROM_IRAM_ISR=y
# OTA_ALLOW_HTTP is not set
# TWO_UNIVERSAL_MAC_ADDRESS is not set
FOUR_UNIVERSAL_MAC_ADDRESS=y
NUMBER_OF_UNIVERSAL_MAC_ADDRESS=4
# ESP_SYSTEM_PD_FLASH is not set
ESP32_DEEP_SLEEP_WAKEUP_DELAY=2000
ESP_SLEEP_DEEP_SLEEP_WAKEUP_DELAY=2000
ESP32_RTC_CLK_SRC_INT_RC=y
ESP32_RTC_CLOCK_SOURCE_INTERNAL_RC=y
# ESP32_RTC_CLK_SRC_EXT_CRYS is not set
# ESP32_RTC_CLOCK_SOURCE_EXTERNAL_CRYSTAL is not set
# ESP32_RTC_CLK_SRC_EXT_OSC is not set
# ESP32_RTC_CLOCK_SOURCE_EXTERNAL_OSC is not set
# ESP32_RTC_CLK_SRC_INT_8MD256 is not set
# ESP32_RTC_CLOCK_SOURCE_INTERNAL_8MD256 is not set
ESP32_RTC_CLK_CAL_CYCLES=1024
# ESP32_XTAL_FREQ_26 is not set
ESP32_XTAL_FREQ_40=y
# ESP32_XTAL_FREQ_AUTO is not set
ESP32_XTAL_FREQ=40
ESP32_PHY_CALIBRATION_AND_DATA_STORAGE=y
# ESP32_PHY_INIT_DATA_IN_PARTITION is not set
ESP32_PHY_MAX_WIFI_TX_POWER=20
ESP32_PHY_MAX_TX_POWER=20
# REDUCE_PHY_TX_POWER is not set
# ESP32_REDUCE_PHY_TX_POWER is not set
# SPIRAM_SUPPORT is not set
# ESP32_SPIRAM_SUPPORT is not set
# ESP32_DEFAULT_CPU_FREQ_80 is not set
# ESP32_DEFAULT_CPU_FREQ_160 is not set
ESP32_DEFAULT_CPU_FREQ_240=y
ESP32_DEFAULT_CPU_FREQ_MHZ=240
TRACEMEM_RESERVE_DRAM=0x0
# ESP32_PANIC_PRINT_HALT is not set
ESP32_PANIC_PRINT_REBOOT=y
# ESP32_PANIC_SILENT_REBOOT is not set
# ESP32_PANIC_GDBSTUB is not set
SYSTEM_EVENT_QUEUE_SIZE=32
SYSTEM_EVENT_TASK_STACK_SIZE=2304
MAIN_TASK_STACK_SIZE=8192
CONSOLE_UART_DEFAULT=y
# CONSOLE_UART_CUSTOM is not set
# CONSOLE_UART_NONE is not set
# ESP_CONSOLE_UART_NONE is not set
CONSOLE_UART=y
CONSOLE_UART_NUM=0
CONSOLE_UART_BAUDRATE=115200
INT_WDT=y
INT_WDT_TIMEOUT_MS=300
INT_WDT_CHECK_CPU1=y
TASK_WDT=y
ESP_TASK_WDT=y
# TASK_WDT_PANIC is not set
TASK_WDT_TIMEOUT_S=5
TASK_WDT_CHECK_IDLE_TASK_CPU0=y
TASK_WDT_CHECK_IDLE_TASK_CPU1=y
# ESP32_DEBUG_STUBS_ENABLE is not set
ESP32_DEBUG_OCDAWARE=y
BROWNOUT_DET=y
ESP32_BROWNOUT_DET=y
BROWNOUT_DET_LVL_SEL_0=y
ESP32_BROWNOUT_DET_LVL_SEL_0=y
# BROWNOUT_DET_LVL_SEL_1 is not set
# ESP32_BROWNOUT_DET_LVL_SEL_1 is not set
# BROWNOUT_DET_LVL_SEL_2 is not set
# ESP32_BROWNOUT_DET_LVL_SEL_2 is not set
# BROWNOUT_DET_LVL_SEL_3 is not set
# ESP32_BROWNOUT_DET_LVL_SEL_3 is not set
# BROWNOUT_DET_LVL_SEL_4 is not set
# ESP32_BROWNOUT_DET_LVL_SEL_4 is not set
# BROWNOUT_DET_LVL_SEL_5 is not set
# ESP32_BROWNOUT_DET_LVL_SEL_5 is not set
# BROWNOUT_DET_LVL_SEL_6 is not set
# ESP32_BROWNOUT_DET_LVL_SEL_6 is not set
# BROWNOUT_DET_LVL_SEL_7 is not set
# ESP32_BROWNOUT_DET_LVL_SEL_7 is not set
BROWNOUT_DET_LVL=0
ESP32_BROWNOUT_DET_LVL=0
# DISABLE_BASIC_ROM_CONSOLE is not set
IPC_TASK_STACK_SIZE=1024
TIMER_TASK_STACK_SIZE=3584
ESP32_WIFI_ENABLED=y
ESP32_WIFI_STATIC_RX_BUFFER_NUM=10
ESP32_WIFI_DYNAMIC_RX_BUFFER_NUM=32
ESP32_WIFI_STATIC_TX_BUFFER=y
# ESP32_WIFI_DYNAMIC_TX_BUFFER is not set
ESP32_WIFI_TX_BUFFER_TYPE=0
ESP32_WIFI_STATIC_TX_BUFFER_NUM=16
# ESP32_WIFI_CSI_ENABLED is not set
ESP32_WIFI_AMPDU_TX_ENABLED=y
ESP32_WIFI_TX_BA_WIN=6
ESP32_WIFI_AMPDU_RX_ENABLED=y
ESP32_WIFI_AMPDU_RX_ENABLED=y
ESP32_WIFI_RX_BA_WIN=6
ESP32_WIFI_RX_BA_WIN=6
# ESP32_WIFI_NVS_ENABLED is not set
ESP32_WIFI_TASK_PINNED_TO_CORE_0=y
# ESP32_WIFI_TASK_PINNED_TO_CORE_1 is not set
ESP32_WIFI_SOFTAP_BEACON_MAX_LEN=752
ESP32_WIFI_MGMT_SBUF_NUM=32
ESP32_WIFI_IRAM_OPT=y
ESP32_WIFI_RX_IRAM_OPT=y
ESP32_WIFI_ENABLE_WPA3_SAE=y
ESP32_WIFI_ENABLE_WPA3_OWE_STA=y
WPA_MBEDTLS_CRYPTO=y
WPA_MBEDTLS_TLS_CLIENT=y
# WPA_WAPI_PSK is not set
# WPA_11KV_SUPPORT is not set
# WPA_MBO_SUPPORT is not set
# WPA_DPP_SUPPORT is not set
# WPA_11R_SUPPORT is not set
# WPA_WPS_SOFTAP_REGISTRAR is not set
# WPA_WPS_STRICT is not set
# WPA_DEBUG_PRINT is not set
# WPA_TESTING_OPTIONS is not set
# ESP32_ENABLE_COREDUMP_TO_FLASH is not set
# ESP32_ENABLE_COREDUMP_TO_UART is not set
ESP32_ENABLE_COREDUMP_TO_NONE=y
TIMER_TASK_PRIORITY=1
TIMER_TASK_STACK_DEPTH=4096
TIMER_QUEUE_LENGTH=10
# ENABLE_STATIC_TASK_CLEAN_UP_HOOK is not set
# HAL_ASSERTION_SILIENT is not set
# L2_TO_L3_COPY is not set
ESP_GRATUITOUS_ARP=y
GARP_TMR_INTERVAL=60
TCPIP_RECVMBOX_SIZE=32
TCP_MAXRTX=12
TCP_SYNMAXRTX=12
TCP_MSS=1440
TCP_MSL=60000
TCP_SND_BUF_DEFAULT=5760
TCP_WND_DEFAULT=5760
TCP_RECVMBOX_SIZE=6
TCP_QUEUE_OOSEQ=y
TCP_OVERSIZE_MSS=y
# TCP_OVERSIZE_QUARTER_MSS is not set
# TCP_OVERSIZE_DISABLE is not set
UDP_RECVMBOX_SIZE=6
TCPIP_TASK_STACK_SIZE=3072
TCPIP_TASK_AFFINITY_NO_AFFINITY=y
# TCPIP_TASK_AFFINITY_CPU0 is not set
# TCPIP_TASK_AFFINITY_CPU1 is not set
TCPIP_TASK_AFFINITY=0x7FFFFFFF
# PPP_SUPPORT is not set
ESP32_TIME_SYSCALL_USE_RTC_HRT=y
ESP32_TIME_SYSCALL_USE_RTC_FRC1=y
# ESP32_TIME_SYSCALL_USE_RTC is not set
# ESP32_TIME_SYSCALL_USE_HRT is not set
# ESP32_TIME_SYSCALL_USE_FRC1 is not set
# ESP32_TIME_SYSCALL_USE_NONE is not set
ESP32_PTHREAD_TASK_PRIO_DEFAULT=5
ESP32_PTHREAD_TASK_STACK_SIZE_DEFAULT=3072
ESP32_PTHREAD_STACK_MIN=768
ESP32_DEFAULT_PTHREAD_CORE_NO_AFFINITY=y
# ESP32_DEFAULT_PTHREAD_CORE_0 is not set
# ESP32_DEFAULT_PTHREAD_CORE_1 is not set
ESP32_PTHREAD_TASK_CORE_DEFAULT=-1
ESP32_PTHREAD_TASK_NAME_DEFAULT="pthread"
SPI_FLASH_WRITING_DANGEROUS_REGIONS_ABORTS=y
# SPI_FLASH_WRITING_DANGEROUS_REGIONS_FAILS is not set
# SPI_FLASH_WRITING_DANGEROUS_REGIONS_ALLOWED is not set
# ESP32_ULP_COPROC_ENABLED is not set
SUPPRESS_SELECT_DEBUG_OUTPUT=y
SUPPORT_TERMIOS=y
SEMIHOSTFS_MAX_MOUNT_POINTS=1
MB_MASTER_TIMEOUT_MS_RESPOND=3000
MB_MASTER_DELAY_MS_CONVERT=200
MB_QUEUE_LENGTH=20
MB_SERIAL_TASK_STACK_SIZE=4096
MB_SERIAL_BUF_SIZE=256
MB_SERIAL_TASK_PRIO=10
MB_CONTROLLER_SLAVE_ID_SUPPORT=y
MB_CONTROLLER_SLAVE_ID=0x00112233
MB_CONTROLLER_NOTIFY_TIMEOUT=20
MB_CONTROLLER_NOTIFY_QUEUE_SIZE=20
MB_CONTROLLER_STACK_SIZE=4096
MB_EVENT_QUEUE_TIMEOUT=20
# MB_TIMER_PORT_ENABLED is not set
# End of deprecated options

themindfactory
Posts: 65
Joined: Mon Mar 26, 2018 7:57 pm

Re: Encrypted Flash issues

Postby themindfactory » Thu Nov 21, 2024 6:37 pm

Here also is a dump of my efuse summary

Code: Select all

EFUSE_NAME (Block) Description  = [Meaningful Value] [Readable/Writeable] (Hex Value)   
----------------------------------------------------------------------------------------
Calibration fuses:
ADC_VREF (BLOCK0)                                  True ADC reference voltage                         = 1107 R/W (0b00001)

Config fuses:
WR_DIS (BLOCK0)                                    Efuse write disable mask                           = 128 R/W (0x0080)
RD_DIS (BLOCK0)                                    Disable reading from BlOCK1-3                      = 1 R/W (0x1)
DISABLE_APP_CPU (BLOCK0)                           Disables APP CPU                                   = False R/W (0b0)
DISABLE_BT (BLOCK0)                                Disables Bluetooth                                 = False R/W (0b0)
DIS_CACHE (BLOCK0)                                 Disables cache                                     = False R/W (0b0)
CHIP_CPU_FREQ_LOW (BLOCK0)                         If set alongside EFUSE_RD_CHIP_CPU_FREQ_RATED; the = False R/W (0b0)
                                                    ESP32's max CPU frequency is rated for 160MHz. 24
                                                   0MHz otherwise
CHIP_CPU_FREQ_RATED (BLOCK0)                       If set; the ESP32's maximum CPU frequency has been = True R/W (0b1)
                                                    rated
BLK3_PART_RESERVE (BLOCK0)                         BLOCK3 partially served for ADC calibration data   = False R/W (0b0)
CLK8M_FREQ (BLOCK0)                                8MHz clock freq override                           = 53 R/W (0x35)
VOL_LEVEL_HP_INV (BLOCK0)                          This field stores the voltage level for CPU to run = 0 R/W (0b00)
                                                    at 240 MHz; or for flash/PSRAM to run at 80 MHz.0
                                                   x0: level 7; 0x1: level 6; 0x2: level 5; 0x3: leve
                                                   l 4. (RO)
CODING_SCHEME (BLOCK0)                             Efuse variable block length scheme
   = NONE (BLK1-3 len=256 bits) R/W (0b00)
CONSOLE_DEBUG_DISABLE (BLOCK0)                     Disable ROM BASIC interpreter fallback             = True R/W (0b1)
DISABLE_SDIO_HOST (BLOCK0)                                                                            = False R/W (0b0)
DISABLE_DL_CACHE (BLOCK0)                          Disable flash cache in UART bootloader             = True R/W (0b1)

Flash fuses:
FLASH_CRYPT_CNT (BLOCK0)                           Flash encryption is enabled if this field has an o = 31 R/W (0b0011111)
                                                   dd number of bits set
FLASH_CRYPT_CONFIG (BLOCK0)                        Flash encryption config (key tweak bits)           = 15 R/W (0xf)

Identity fuses:
CHIP_PACKAGE_4BIT (BLOCK0)                         Chip package identifier #4bit                      = False R/W (0b0)
CHIP_PACKAGE (BLOCK0)                              Chip package identifier                            = 0 R/W (0b000)
CHIP_VER_REV1 (BLOCK0)                             bit is set to 1 for rev1 silicon                   = True R/W (0b1)
CHIP_VER_REV2 (BLOCK0)                                                                                = False R/W (0b0)
WAFER_VERSION_MINOR (BLOCK0)                                                                          = 0 R/W (0b00)
WAFER_VERSION_MAJOR (BLOCK0)                       calc WAFER VERSION MAJOR from CHIP_VER_REV1 and CH = 1 R/W (0b001)
                                                   IP_VER_REV2 and apb_ctl_date (read only)
PKG_VERSION (BLOCK0)                               calc Chip package = CHIP_PACKAGE_4BIT << 3 + CHIP_ = 0 R/W (0x0)
                                                   PACKAGE (read only)

Jtag fuses:
JTAG_DISABLE (BLOCK0)                              Disable JTAG                                       = True R/W (0b1)

Mac fuses:
MAC (BLOCK0)                                       MAC address
   = 24:6f:28:97:a7:34 (CRC 0x75 OK) R/W
MAC_CRC (BLOCK0)                                   CRC8 for MAC address                               = 117 R/W (0x75)
MAC_VERSION (BLOCK3)                               Version of the MAC field                           = 0 R/W (0x00)

Security fuses:
UART_DOWNLOAD_DIS (BLOCK0)                         Disable UART download mode. Valid for ESP32 V3 and = False R/W (0b0)
                                                    newer; only
ABS_DONE_0 (BLOCK0)                                Secure boot V1 is enabled for bootloader image     = False R/W (0b0)
ABS_DONE_1 (BLOCK0)                                Secure boot V2 is enabled for bootloader image     = False R/W (0b0)
DISABLE_DL_ENCRYPT (BLOCK0)                        Disable flash encryption in UART bootloader        = False R/W (0b0)
DISABLE_DL_DECRYPT (BLOCK0)                        Disable flash decryption in UART bootloader        = True R/W (0b1)
KEY_STATUS (BLOCK0)                                Usage of efuse block 3 (reserved)                  = False R/W (0b0)
SECURE_VERSION (BLOCK3)                            Secure version for anti-rollback                   = 0 R/W (0x00000000)
BLOCK1 (BLOCK1)                                    Flash encryption key
   = ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? -/-
BLOCK2 (BLOCK2)                                    Security boot key
   = 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 R/W
   = 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 R/W

Spi Pad fuses:
SPI_PAD_CONFIG_HD (BLOCK0)                         read for SPI_pad_config_hd                         = 0 R/W (0b00000)
SPI_PAD_CONFIG_CLK (BLOCK0)                        Override SD_CLK pad (GPIO6/SPICLK)                 = 0 R/W (0b00000)
SPI_PAD_CONFIG_D (BLOCK0)                          Override SD_DATA_1 pad (GPIO8/SPID)                = 0 R/W (0b00000)
SPI_PAD_CONFIG_CS0 (BLOCK0)                        Override SD_CMD pad (GPIO11/SPICS0)                = 0 R/W (0b00000)

Vdd fuses:
XPD_SDIO_REG (BLOCK0)                              read for XPD_SDIO_REG                              = False R/W (0b0)
XPD_SDIO_TIEH (BLOCK0)                             If XPD_SDIO_FORCE & XPD_SDIO_REG                   = 1.8V R/W (0b0)
XPD_SDIO_FORCE (BLOCK0)                            Ignore MTDI pin (GPIO12) for VDD_SDIO on reset     = False R/W (0b0)

Flash voltage (VDD_SDIO) determined by GPIO12 on reset (High for 1.8V, Low/NC for 3.3V)
From what I see these look OK:
DISABLE_DL_CACHE (BLOCK0) Disable flash cache in UART bootloader = True R/W (0b1)
DISABLE_DL_ENCRYPT (BLOCK0) Disable flash encryption in UART bootloader = False R/W (0b0)
DISABLE_DL_DECRYPT (BLOCK0) Disable flash decryption in UART bootloader = True R/W (0b1)
FLASH_CRYPT_CNT (BLOCK0) Flash encryption is enabled if this field has an o = 31 R/W (0b0011111)
dd number of bits set

themindfactory
Posts: 65
Joined: Mon Mar 26, 2018 7:57 pm

Re: Encrypted Flash issues

Postby themindfactory » Thu Nov 21, 2024 8:16 pm

My next step was to take a virgin part and do the steps outlined online:

I did it manually so I would have control over the key!

espefuse.py --port COM12 burn_key flash_encryption ff.bin
espefuse.py --chip esp32 --port COM12 burn_efuse FLASH_CRYPT_CNT 1
espefuse.py --chip esp32 --port COM12 burn_efuse DISABLE_DL_DECRYPT 1
espefuse.py --chip esp32 --port COM12 burn_efuse DISABLE_DL_CACHE 1


From what I have read the above is called DEVELOPMENT MODE

Still will not work, can not upload clear text binary from VSCODE... This time around I am not getting the flash read error, 1000 but I am getting the invalid header: 0x0cd5098a

There must be something in the SDK config that is getting in the way within VSCODE compiled code!

Richard.

Who is online

Users browsing this forum: No registered users and 124 guests