espressif / esp-idf

Espressif IoT Development Framework. Official development framework for Espressif SoCs.
Apache License 2.0
13.73k stars 7.3k forks source link

Secure boot 在不同分支,不同提交下的不兼容问题 (IDFGH-5046) #6831

Closed gl-zhongshangwen closed 3 years ago

gl-zhongshangwen commented 3 years ago

环境:

问题描述:

Secure boot 在不同分支,不同提交下,基于examples/get-started/hello_world 例程 partition table 和 secure_boot_signing_key.pem 相同的情况下,flash app后设备无法启动的问题。

以下是我们测试的IDF版本和各版本的操作步骤:

一、release/V3.3 - bf022060 :

注:bootloader 已经提前在release/V3.3 - bf022060 烧入完成

1.配置

#
# Automatically generated file; DO NOT EDIT.
# Espressif IoT Development Framework Configuration
#
CONFIG_IDF_TARGET="esp32"
CONFIG_IDF_FIRMWARE_CHIP_ID=0x0000

#
# SDK tool configuration
#
CONFIG_TOOLPREFIX="xtensa-esp32-elf-"
CONFIG_PYTHON="python"
CONFIG_MAKE_WARN_UNDEFINED_VARIABLES=y

#
# Application manager
#
CONFIG_APP_COMPILE_TIME_DATE=y
CONFIG_APP_EXCLUDE_PROJECT_VER_VAR=
CONFIG_APP_EXCLUDE_PROJECT_NAME_VAR=
CONFIG_APP_RETRIEVE_LEN_ELF_SHA=16

#
# Bootloader config
#
CONFIG_LOG_BOOTLOADER_LEVEL_NONE=
CONFIG_LOG_BOOTLOADER_LEVEL_ERROR=
CONFIG_LOG_BOOTLOADER_LEVEL_WARN=
CONFIG_LOG_BOOTLOADER_LEVEL_INFO=y
CONFIG_LOG_BOOTLOADER_LEVEL_DEBUG=
CONFIG_LOG_BOOTLOADER_LEVEL_VERBOSE=
CONFIG_LOG_BOOTLOADER_LEVEL=3
CONFIG_BOOTLOADER_VDDSDIO_BOOST_1_8V=
CONFIG_BOOTLOADER_VDDSDIO_BOOST_1_9V=y
CONFIG_BOOTLOADER_FACTORY_RESET=
CONFIG_BOOTLOADER_APP_TEST=
CONFIG_BOOTLOADER_WDT_ENABLE=y
CONFIG_BOOTLOADER_WDT_DISABLE_IN_USER_CODE=
CONFIG_BOOTLOADER_WDT_TIME_MS=9000
CONFIG_APP_ROLLBACK_ENABLE=

#
# Security features
#
CONFIG_SECURE_SIGNED_ON_BOOT=y
CONFIG_SECURE_SIGNED_ON_UPDATE=y
CONFIG_SECURE_SIGNED_APPS=y
CONFIG_SECURE_BOOT_ENABLED=y
CONFIG_SECURE_BOOTLOADER_ONE_TIME_FLASH=y
CONFIG_SECURE_BOOTLOADER_REFLASHABLE=
CONFIG_SECURE_BOOT_BUILD_SIGNED_BINARIES=y
CONFIG_SECURE_BOOT_SIGNING_KEY="secure_boot_signing_key.pem"
CONFIG_SECURE_BOOT_INSECURE=
CONFIG_FLASH_ENCRYPTION_ENABLED=

#
# Serial flasher config
#
CONFIG_ESPTOOLPY_PORT="/dev/ttyUSB0"
CONFIG_ESPTOOLPY_BAUD_115200B=
CONFIG_ESPTOOLPY_BAUD_230400B=
CONFIG_ESPTOOLPY_BAUD_921600B=y
CONFIG_ESPTOOLPY_BAUD_2MB=
CONFIG_ESPTOOLPY_BAUD_OTHER=
CONFIG_ESPTOOLPY_BAUD_OTHER_VAL=115200
CONFIG_ESPTOOLPY_BAUD=921600
CONFIG_ESPTOOLPY_COMPRESSED=y
CONFIG_FLASHMODE_QIO=
CONFIG_FLASHMODE_QOUT=
CONFIG_FLASHMODE_DIO=y
CONFIG_FLASHMODE_DOUT=
CONFIG_ESPTOOLPY_FLASHMODE="dio"
CONFIG_ESPTOOLPY_FLASHFREQ_80M=
CONFIG_ESPTOOLPY_FLASHFREQ_40M=y
CONFIG_ESPTOOLPY_FLASHFREQ_26M=
CONFIG_ESPTOOLPY_FLASHFREQ_20M=
CONFIG_ESPTOOLPY_FLASHFREQ="40m"
CONFIG_ESPTOOLPY_FLASHSIZE_1MB=
CONFIG_ESPTOOLPY_FLASHSIZE_2MB=y
CONFIG_ESPTOOLPY_FLASHSIZE_4MB=
CONFIG_ESPTOOLPY_FLASHSIZE_8MB=
CONFIG_ESPTOOLPY_FLASHSIZE_16MB=
CONFIG_ESPTOOLPY_FLASHSIZE="2MB"
CONFIG_ESPTOOLPY_FLASHSIZE_DETECT=y
CONFIG_ESPTOOLPY_BEFORE_RESET=y
CONFIG_ESPTOOLPY_BEFORE_NORESET=
CONFIG_ESPTOOLPY_BEFORE="default_reset"
CONFIG_ESPTOOLPY_AFTER_RESET=y
CONFIG_ESPTOOLPY_AFTER_NORESET=
CONFIG_ESPTOOLPY_AFTER="hard_reset"
CONFIG_MONITOR_BAUD_9600B=
CONFIG_MONITOR_BAUD_57600B=
CONFIG_MONITOR_BAUD_115200B=y
CONFIG_MONITOR_BAUD_230400B=
CONFIG_MONITOR_BAUD_921600B=
CONFIG_MONITOR_BAUD_2MB=
CONFIG_MONITOR_BAUD_OTHER=
CONFIG_MONITOR_BAUD_OTHER_VAL=115200
CONFIG_MONITOR_BAUD=115200

#
# Partition Table
#
CONFIG_PARTITION_TABLE_SINGLE_APP=
CONFIG_PARTITION_TABLE_TWO_OTA=
CONFIG_PARTITION_TABLE_CUSTOM=y
CONFIG_PARTITION_TABLE_CUSTOM_FILENAME="partitions.csv"
CONFIG_PARTITION_TABLE_FILENAME="partitions.csv"
CONFIG_PARTITION_TABLE_OFFSET=0xa000
CONFIG_PARTITION_TABLE_MD5=y

#
# Compiler options
#
CONFIG_OPTIMIZATION_LEVEL_DEBUG=y
CONFIG_OPTIMIZATION_LEVEL_RELEASE=
CONFIG_OPTIMIZATION_ASSERTIONS_ENABLED=y
CONFIG_OPTIMIZATION_ASSERTIONS_SILENT=
CONFIG_OPTIMIZATION_ASSERTIONS_DISABLED=
CONFIG_CXX_EXCEPTIONS=
CONFIG_STACK_CHECK_NONE=y
CONFIG_STACK_CHECK_NORM=
CONFIG_STACK_CHECK_STRONG=
CONFIG_STACK_CHECK_ALL=
CONFIG_STACK_CHECK=
CONFIG_WARN_WRITE_STRINGS=
CONFIG_DISABLE_GCC8_WARNINGS=

#
# Component config
#

#
# Application Level Tracing
#
CONFIG_ESP32_APPTRACE_DEST_TRAX=
CONFIG_ESP32_APPTRACE_DEST_NONE=y
CONFIG_ESP32_APPTRACE_ENABLE=
CONFIG_ESP32_APPTRACE_LOCK_ENABLE=y
CONFIG_AWS_IOT_SDK=

#
# Bluetooth
#
CONFIG_BT_ENABLED=
CONFIG_BTDM_CTRL_BR_EDR_SCO_DATA_PATH_EFF=0
CONFIG_BTDM_CTRL_AUTO_LATENCY_EFF=
CONFIG_BTDM_CTRL_LEGACY_AUTH_VENDOR_EVT_EFF=
CONFIG_BTDM_CONTROLLER_BLE_MAX_CONN_EFF=0
CONFIG_BTDM_CONTROLLER_BR_EDR_MAX_ACL_CONN_EFF=0
CONFIG_BTDM_CONTROLLER_BR_EDR_MAX_SYNC_CONN_EFF=0
CONFIG_BTDM_CONTROLLER_PINNED_TO_CORE=0
CONFIG_BT_RESERVE_DRAM=0
CONFIG_BLE_MESH=

#
# Driver configurations
#

#
# ADC configuration
#
CONFIG_ADC_FORCE_XPD_FSM=
CONFIG_ADC2_DISABLE_DAC=y

#
# SPI configuration
#
CONFIG_SPI_MASTER_IN_IRAM=
CONFIG_SPI_MASTER_ISR_IN_IRAM=y
CONFIG_SPI_SLAVE_IN_IRAM=
CONFIG_SPI_SLAVE_ISR_IN_IRAM=y

#
# eFuse Bit Manager
#
CONFIG_EFUSE_CUSTOM_TABLE=
CONFIG_EFUSE_VIRTUAL=
CONFIG_EFUSE_CODE_SCHEME_COMPAT_NONE=
CONFIG_EFUSE_CODE_SCHEME_COMPAT_3_4=y
CONFIG_EFUSE_CODE_SCHEME_COMPAT_REPEAT=
CONFIG_EFUSE_MAX_BLK_LEN=192

#
# ESP32-specific
#
CONFIG_IDF_TARGET_ESP32=y
CONFIG_ESP32_REV_MIN_0=y
CONFIG_ESP32_REV_MIN_1=
CONFIG_ESP32_REV_MIN_2=
CONFIG_ESP32_REV_MIN_3=
CONFIG_ESP32_REV_MIN=0
CONFIG_ESP32_DPORT_WORKAROUND=y
CONFIG_ESP32_DEFAULT_CPU_FREQ_80=
CONFIG_ESP32_DEFAULT_CPU_FREQ_160=y
CONFIG_ESP32_DEFAULT_CPU_FREQ_240=
CONFIG_ESP32_DEFAULT_CPU_FREQ_MHZ=160
CONFIG_SPIRAM_SUPPORT=
CONFIG_MEMMAP_TRACEMEM=
CONFIG_MEMMAP_TRACEMEM_TWOBANKS=
CONFIG_ESP32_TRAX=
CONFIG_TRACEMEM_RESERVE_DRAM=0x0
CONFIG_TWO_UNIVERSAL_MAC_ADDRESS=
CONFIG_FOUR_UNIVERSAL_MAC_ADDRESS=y
CONFIG_NUMBER_OF_UNIVERSAL_MAC_ADDRESS=4
CONFIG_SYSTEM_EVENT_QUEUE_SIZE=32
CONFIG_SYSTEM_EVENT_TASK_STACK_SIZE=2304
CONFIG_MAIN_TASK_STACK_SIZE=3584
CONFIG_IPC_TASK_STACK_SIZE=1024
CONFIG_TIMER_TASK_STACK_SIZE=3584
CONFIG_NEWLIB_STDOUT_LINE_ENDING_CRLF=y
CONFIG_NEWLIB_STDOUT_LINE_ENDING_LF=
CONFIG_NEWLIB_STDOUT_LINE_ENDING_CR=
CONFIG_NEWLIB_STDIN_LINE_ENDING_CRLF=
CONFIG_NEWLIB_STDIN_LINE_ENDING_LF=
CONFIG_NEWLIB_STDIN_LINE_ENDING_CR=y
CONFIG_NEWLIB_NANO_FORMAT=
CONFIG_CONSOLE_UART_DEFAULT=y
CONFIG_CONSOLE_UART_CUSTOM=
CONFIG_CONSOLE_UART_NONE=
CONFIG_CONSOLE_UART_NUM=0
CONFIG_CONSOLE_UART_BAUDRATE=115200
CONFIG_ULP_COPROC_ENABLED=
CONFIG_ULP_COPROC_RESERVE_MEM=0
CONFIG_ESP32_PANIC_PRINT_HALT=
CONFIG_ESP32_PANIC_PRINT_REBOOT=y
CONFIG_ESP32_PANIC_SILENT_REBOOT=
CONFIG_ESP32_PANIC_GDBSTUB=
CONFIG_ESP32_DEBUG_OCDAWARE=y
CONFIG_ESP32_DEBUG_STUBS_ENABLE=y
CONFIG_INT_WDT=y
CONFIG_INT_WDT_TIMEOUT_MS=300
CONFIG_INT_WDT_CHECK_CPU1=y
CONFIG_TASK_WDT=y
CONFIG_TASK_WDT_PANIC=
CONFIG_TASK_WDT_TIMEOUT_S=5
CONFIG_TASK_WDT_CHECK_IDLE_TASK_CPU0=y
CONFIG_TASK_WDT_CHECK_IDLE_TASK_CPU1=y
CONFIG_BROWNOUT_DET=y
CONFIG_BROWNOUT_DET_LVL_SEL_0=y
CONFIG_BROWNOUT_DET_LVL_SEL_1=
CONFIG_BROWNOUT_DET_LVL_SEL_2=
CONFIG_BROWNOUT_DET_LVL_SEL_3=
CONFIG_BROWNOUT_DET_LVL_SEL_4=
CONFIG_BROWNOUT_DET_LVL_SEL_5=
CONFIG_BROWNOUT_DET_LVL_SEL_6=
CONFIG_BROWNOUT_DET_LVL_SEL_7=
CONFIG_BROWNOUT_DET_LVL=0
CONFIG_REDUCE_PHY_TX_POWER=y
CONFIG_ESP32_TIME_SYSCALL_USE_RTC_FRC1=y
CONFIG_ESP32_TIME_SYSCALL_USE_RTC=
CONFIG_ESP32_TIME_SYSCALL_USE_FRC1=
CONFIG_ESP32_TIME_SYSCALL_USE_NONE=
CONFIG_ESP32_RTC_CLOCK_SOURCE_INTERNAL_RC=y
CONFIG_ESP32_RTC_CLOCK_SOURCE_EXTERNAL_CRYSTAL=
CONFIG_ESP32_RTC_CLOCK_SOURCE_EXTERNAL_OSC=
CONFIG_ESP32_RTC_CLOCK_SOURCE_INTERNAL_8MD256=
CONFIG_ESP32_RTC_CLK_CAL_CYCLES=1024
CONFIG_ESP32_DEEP_SLEEP_WAKEUP_DELAY=2000
CONFIG_ESP32_XTAL_FREQ_40=y
CONFIG_ESP32_XTAL_FREQ_26=
CONFIG_ESP32_XTAL_FREQ_AUTO=
CONFIG_ESP32_XTAL_FREQ=40
CONFIG_DISABLE_BASIC_ROM_CONSOLE=
CONFIG_NO_BLOBS=
CONFIG_ESP_TIMER_PROFILING=
CONFIG_COMPATIBLE_PRE_V2_1_BOOTLOADERS=
CONFIG_ESP_ERR_TO_NAME_LOOKUP=y
CONFIG_ESP32_DPORT_DIS_INTERRUPT_LVL=5

#
# Wi-Fi
#
CONFIG_ESP32_WIFI_STATIC_RX_BUFFER_NUM=10
CONFIG_ESP32_WIFI_DYNAMIC_RX_BUFFER_NUM=32
CONFIG_ESP32_WIFI_STATIC_TX_BUFFER=
CONFIG_ESP32_WIFI_DYNAMIC_TX_BUFFER=y
CONFIG_ESP32_WIFI_TX_BUFFER_TYPE=1
CONFIG_ESP32_WIFI_DYNAMIC_TX_BUFFER_NUM=32
CONFIG_ESP32_WIFI_CSI_ENABLED=
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=y
CONFIG_ESP32_WIFI_TASK_PINNED_TO_CORE_0=y
CONFIG_ESP32_WIFI_TASK_PINNED_TO_CORE_1=
CONFIG_ESP32_WIFI_SOFTAP_BEACON_MAX_LEN=752
CONFIG_ESP32_WIFI_MGMT_SBUF_NUM=32
CONFIG_ESP32_WIFI_DEBUG_LOG_ENABLE=
CONFIG_ESP32_WIFI_IRAM_OPT=y
CONFIG_ESP32_WIFI_RX_IRAM_OPT=y

#
# PHY
#
CONFIG_ESP32_PHY_CALIBRATION_AND_DATA_STORAGE=y
CONFIG_ESP32_PHY_INIT_DATA_IN_PARTITION=
CONFIG_ESP32_PHY_MAX_WIFI_TX_POWER=20
CONFIG_ESP32_PHY_MAX_TX_POWER=20

#
# Power Management
#
CONFIG_PM_ENABLE=

#
# ADC-Calibration
#
CONFIG_ADC_CAL_EFUSE_TP_ENABLE=y
CONFIG_ADC_CAL_EFUSE_VREF_ENABLE=y
CONFIG_ADC_CAL_LUT_ENABLE=y

#
# Event Loop Library
#
CONFIG_EVENT_LOOP_PROFILING=

#
# ESP HTTP client
#
CONFIG_ESP_HTTP_CLIENT_ENABLE_HTTPS=y
CONFIG_ESP_HTTP_CLIENT_ENABLE_BASIC_AUTH=

#
# HTTP Server
#
CONFIG_HTTPD_MAX_REQ_HDR_LEN=512
CONFIG_HTTPD_MAX_URI_LEN=512
CONFIG_HTTPD_ERR_RESP_NO_DELAY=y
CONFIG_HTTPD_PURGE_BUF_LEN=32
CONFIG_HTTPD_LOG_PURGE_DATA=

#
# ESP HTTPS OTA
#
CONFIG_OTA_ALLOW_HTTP=

#
# Core dump
#
CONFIG_ESP32_ENABLE_COREDUMP_TO_FLASH=
CONFIG_ESP32_ENABLE_COREDUMP_TO_UART=
CONFIG_ESP32_ENABLE_COREDUMP_TO_NONE=y
CONFIG_ESP32_ENABLE_COREDUMP=

#
# Ethernet
#
CONFIG_DMA_RX_BUF_NUM=10
CONFIG_DMA_TX_BUF_NUM=10
CONFIG_EMAC_L2_TO_L3_RX_BUF_MODE=y
CONFIG_EMAC_CHECK_LINK_PERIOD_MS=2000
CONFIG_EMAC_TASK_PRIORITY=20
CONFIG_EMAC_TASK_STACK_SIZE=3072

#
# FAT Filesystem support
#
CONFIG_FATFS_CODEPAGE_DYNAMIC=
CONFIG_FATFS_CODEPAGE_437=y
CONFIG_FATFS_CODEPAGE_720=
CONFIG_FATFS_CODEPAGE_737=
CONFIG_FATFS_CODEPAGE_771=
CONFIG_FATFS_CODEPAGE_775=
CONFIG_FATFS_CODEPAGE_850=
CONFIG_FATFS_CODEPAGE_852=
CONFIG_FATFS_CODEPAGE_855=
CONFIG_FATFS_CODEPAGE_857=
CONFIG_FATFS_CODEPAGE_860=
CONFIG_FATFS_CODEPAGE_861=
CONFIG_FATFS_CODEPAGE_862=
CONFIG_FATFS_CODEPAGE_863=
CONFIG_FATFS_CODEPAGE_864=
CONFIG_FATFS_CODEPAGE_865=
CONFIG_FATFS_CODEPAGE_866=
CONFIG_FATFS_CODEPAGE_869=
CONFIG_FATFS_CODEPAGE_932=
CONFIG_FATFS_CODEPAGE_936=
CONFIG_FATFS_CODEPAGE_949=
CONFIG_FATFS_CODEPAGE_950=
CONFIG_FATFS_CODEPAGE=437
CONFIG_FATFS_LFN_NONE=y
CONFIG_FATFS_LFN_HEAP=
CONFIG_FATFS_LFN_STACK=
CONFIG_FATFS_FS_LOCK=0
CONFIG_FATFS_TIMEOUT_MS=10000
CONFIG_FATFS_PER_FILE_CACHE=y

#
# Modbus configuration
#
CONFIG_MB_QUEUE_LENGTH=20
CONFIG_MB_SERIAL_TASK_STACK_SIZE=2048
CONFIG_MB_SERIAL_BUF_SIZE=256
CONFIG_MB_SERIAL_TASK_PRIO=10
CONFIG_MB_CONTROLLER_SLAVE_ID_SUPPORT=
CONFIG_MB_CONTROLLER_NOTIFY_TIMEOUT=20
CONFIG_MB_CONTROLLER_NOTIFY_QUEUE_SIZE=20
CONFIG_MB_CONTROLLER_STACK_SIZE=4096
CONFIG_MB_EVENT_QUEUE_TIMEOUT=20
CONFIG_MB_TIMER_PORT_ENABLED=y
CONFIG_MB_TIMER_GROUP=0
CONFIG_MB_TIMER_INDEX=0

#
# FreeRTOS
#
CONFIG_FREERTOS_UNICORE=
CONFIG_FREERTOS_NO_AFFINITY=0x7FFFFFFF
CONFIG_FREERTOS_CORETIMER_0=y
CONFIG_FREERTOS_CORETIMER_1=
CONFIG_FREERTOS_HZ=100
CONFIG_FREERTOS_ASSERT_ON_UNTESTED_FUNCTION=y
CONFIG_FREERTOS_CHECK_STACKOVERFLOW_NONE=
CONFIG_FREERTOS_CHECK_STACKOVERFLOW_PTRVAL=
CONFIG_FREERTOS_CHECK_STACKOVERFLOW_CANARY=y
CONFIG_FREERTOS_WATCHPOINT_END_OF_STACK=
CONFIG_FREERTOS_INTERRUPT_BACKTRACE=y
CONFIG_FREERTOS_THREAD_LOCAL_STORAGE_POINTERS=1
CONFIG_FREERTOS_ASSERT_FAIL_ABORT=y
CONFIG_FREERTOS_ASSERT_FAIL_PRINT_CONTINUE=
CONFIG_FREERTOS_ASSERT_DISABLE=
CONFIG_FREERTOS_IDLE_TASK_STACKSIZE=1536
CONFIG_FREERTOS_ISR_STACKSIZE=1536
CONFIG_FREERTOS_LEGACY_HOOKS=
CONFIG_FREERTOS_MAX_TASK_NAME_LEN=16
CONFIG_SUPPORT_STATIC_ALLOCATION=
CONFIG_TIMER_TASK_PRIORITY=1
CONFIG_TIMER_TASK_STACK_DEPTH=2048
CONFIG_TIMER_QUEUE_LENGTH=10
CONFIG_FREERTOS_QUEUE_REGISTRY_SIZE=0
CONFIG_FREERTOS_USE_TRACE_FACILITY=
CONFIG_FREERTOS_GENERATE_RUN_TIME_STATS=
CONFIG_FREERTOS_DEBUG_INTERNALS=
CONFIG_FREERTOS_TASK_FUNCTION_WRAPPER=y
CONFIG_FREERTOS_CHECK_MUTEX_GIVEN_BY_OWNER=y
CONFIG_FREERTOS_CHECK_PORT_CRITICAL_COMPLIANCE=

#
# Heap memory debugging
#
CONFIG_HEAP_POISONING_DISABLED=y
CONFIG_HEAP_POISONING_LIGHT=
CONFIG_HEAP_POISONING_COMPREHENSIVE=
CONFIG_HEAP_TRACING=

#
# libsodium
#
CONFIG_LIBSODIUM_USE_MBEDTLS_SHA=y

#
# Log output
#
CONFIG_LOG_DEFAULT_LEVEL_NONE=
CONFIG_LOG_DEFAULT_LEVEL_ERROR=
CONFIG_LOG_DEFAULT_LEVEL_WARN=
CONFIG_LOG_DEFAULT_LEVEL_INFO=y
CONFIG_LOG_DEFAULT_LEVEL_DEBUG=
CONFIG_LOG_DEFAULT_LEVEL_VERBOSE=
CONFIG_LOG_DEFAULT_LEVEL=3
CONFIG_LOG_COLORS=y

#
# LWIP
#
CONFIG_L2_TO_L3_COPY=
CONFIG_ETHARP_SUPPORT_VLAN=
CONFIG_LWIP_IRAM_OPTIMIZATION=
CONFIG_LWIP_MAX_SOCKETS=10
CONFIG_LWIP_RANDOMIZE_INITIAL_LOCAL_PORTS=y
CONFIG_USE_ONLY_LWIP_SELECT=
CONFIG_LWIP_SO_LINGER=
CONFIG_LWIP_SO_REUSE=y
CONFIG_LWIP_SO_REUSE_RXTOALL=y
CONFIG_LWIP_SO_RCVBUF=
CONFIG_LWIP_IP_FRAG=y
CONFIG_LWIP_IP_REASSEMBLY=
CONFIG_LWIP_STATS=
CONFIG_LWIP_ETHARP_TRUST_IP_MAC=
CONFIG_ESP_GRATUITOUS_ARP=y
CONFIG_GARP_TMR_INTERVAL=60
CONFIG_TCPIP_RECVMBOX_SIZE=32
CONFIG_LWIP_DHCP_DOES_ARP_CHECK=y
CONFIG_LWIP_DHCP_RESTORE_LAST_IP=

#
# DHCP server
#
CONFIG_LWIP_DHCPS_LEASE_UNIT=60
CONFIG_LWIP_DHCPS_MAX_STATION_NUM=8
CONFIG_LWIP_AUTOIP=
CONFIG_LWIP_IPV6_AUTOCONFIG=
CONFIG_LWIP_NETIF_LOOPBACK=y
CONFIG_LWIP_LOOPBACK_MAX_PBUFS=8

#
# TCP
#
CONFIG_LWIP_MAX_ACTIVE_TCP=16
CONFIG_LWIP_MAX_LISTENING_TCP=16
CONFIG_TCP_MAXRTX=12
CONFIG_TCP_SYNMAXRTX=6
CONFIG_TCP_MSS=1436
CONFIG_TCP_MSL=60000
CONFIG_TCP_SND_BUF_DEFAULT=5744
CONFIG_TCP_WND_DEFAULT=5744
CONFIG_TCP_RECVMBOX_SIZE=6
CONFIG_TCP_QUEUE_OOSEQ=y
CONFIG_ESP_TCP_KEEP_CONNECTION_WHEN_IP_CHANGES=
CONFIG_TCP_OVERSIZE_MSS=y
CONFIG_TCP_OVERSIZE_QUARTER_MSS=
CONFIG_TCP_OVERSIZE_DISABLE=

#
# UDP
#
CONFIG_LWIP_MAX_UDP_PCBS=16
CONFIG_UDP_RECVMBOX_SIZE=6
CONFIG_TCPIP_TASK_STACK_SIZE=3072
CONFIG_TCPIP_TASK_AFFINITY_NO_AFFINITY=y
CONFIG_TCPIP_TASK_AFFINITY_CPU0=
CONFIG_TCPIP_TASK_AFFINITY_CPU1=
CONFIG_TCPIP_TASK_AFFINITY=0x7FFFFFFF
CONFIG_PPP_SUPPORT=

#
# ICMP
#
CONFIG_LWIP_MULTICAST_PING=
CONFIG_LWIP_BROADCAST_PING=

#
# LWIP RAW API
#
CONFIG_LWIP_MAX_RAW_PCBS=16

#
# SNTP
#
CONFIG_LWIP_DHCP_MAX_NTP_SERVERS=1
CONFIG_LWIP_SNTP_UPDATE_DELAY=3600000
CONFIG_LWIP_ESP_LWIP_ASSERT=y

#
# mbedTLS
#
CONFIG_MBEDTLS_INTERNAL_MEM_ALLOC=y
CONFIG_MBEDTLS_DEFAULT_MEM_ALLOC=
CONFIG_MBEDTLS_CUSTOM_MEM_ALLOC=
CONFIG_MBEDTLS_SSL_MAX_CONTENT_LEN=16384
CONFIG_MBEDTLS_ASYMMETRIC_CONTENT_LEN=
CONFIG_MBEDTLS_DEBUG=
CONFIG_MBEDTLS_ECP_RESTARTABLE=
CONFIG_MBEDTLS_CMAC_C=
CONFIG_MBEDTLS_HARDWARE_AES=y
CONFIG_MBEDTLS_HARDWARE_MPI=
CONFIG_MBEDTLS_HARDWARE_SHA=
CONFIG_MBEDTLS_HAVE_TIME=y
CONFIG_MBEDTLS_HAVE_TIME_DATE=
CONFIG_MBEDTLS_TLS_SERVER_AND_CLIENT=y
CONFIG_MBEDTLS_TLS_SERVER_ONLY=
CONFIG_MBEDTLS_TLS_CLIENT_ONLY=
CONFIG_MBEDTLS_TLS_DISABLED=
CONFIG_MBEDTLS_TLS_SERVER=y
CONFIG_MBEDTLS_TLS_CLIENT=y
CONFIG_MBEDTLS_TLS_ENABLED=y

#
# TLS Key Exchange Methods
#
CONFIG_MBEDTLS_PSK_MODES=
CONFIG_MBEDTLS_KEY_EXCHANGE_RSA=y
CONFIG_MBEDTLS_KEY_EXCHANGE_DHE_RSA=y
CONFIG_MBEDTLS_KEY_EXCHANGE_ELLIPTIC_CURVE=y
CONFIG_MBEDTLS_KEY_EXCHANGE_ECDHE_RSA=y
CONFIG_MBEDTLS_KEY_EXCHANGE_ECDHE_ECDSA=y
CONFIG_MBEDTLS_KEY_EXCHANGE_ECDH_ECDSA=y
CONFIG_MBEDTLS_KEY_EXCHANGE_ECDH_RSA=y
CONFIG_MBEDTLS_SSL_RENEGOTIATION=y
CONFIG_MBEDTLS_SSL_PROTO_SSL3=
CONFIG_MBEDTLS_SSL_PROTO_TLS1=y
CONFIG_MBEDTLS_SSL_PROTO_TLS1_1=y
CONFIG_MBEDTLS_SSL_PROTO_TLS1_2=y
CONFIG_MBEDTLS_SSL_PROTO_DTLS=
CONFIG_MBEDTLS_SSL_ALPN=y
CONFIG_MBEDTLS_SSL_SESSION_TICKETS=y

#
# Symmetric Ciphers
#
CONFIG_MBEDTLS_AES_C=y
CONFIG_MBEDTLS_CAMELLIA_C=
CONFIG_MBEDTLS_DES_C=
CONFIG_MBEDTLS_RC4_DISABLED=y
CONFIG_MBEDTLS_RC4_ENABLED_NO_DEFAULT=
CONFIG_MBEDTLS_RC4_ENABLED=
CONFIG_MBEDTLS_BLOWFISH_C=
CONFIG_MBEDTLS_XTEA_C=
CONFIG_MBEDTLS_CCM_C=y
CONFIG_MBEDTLS_GCM_C=y
CONFIG_MBEDTLS_RIPEMD160_C=

#
# Certificates
#
CONFIG_MBEDTLS_PEM_PARSE_C=y
CONFIG_MBEDTLS_PEM_WRITE_C=y
CONFIG_MBEDTLS_X509_CRL_PARSE_C=y
CONFIG_MBEDTLS_X509_CSR_PARSE_C=y
CONFIG_MBEDTLS_ECP_C=y
CONFIG_MBEDTLS_ECDH_C=y
CONFIG_MBEDTLS_ECDSA_C=y
CONFIG_MBEDTLS_ECP_DP_SECP192R1_ENABLED=y
CONFIG_MBEDTLS_ECP_DP_SECP224R1_ENABLED=y
CONFIG_MBEDTLS_ECP_DP_SECP256R1_ENABLED=y
CONFIG_MBEDTLS_ECP_DP_SECP384R1_ENABLED=y
CONFIG_MBEDTLS_ECP_DP_SECP521R1_ENABLED=y
CONFIG_MBEDTLS_ECP_DP_SECP192K1_ENABLED=y
CONFIG_MBEDTLS_ECP_DP_SECP224K1_ENABLED=y
CONFIG_MBEDTLS_ECP_DP_SECP256K1_ENABLED=y
CONFIG_MBEDTLS_ECP_DP_BP256R1_ENABLED=y
CONFIG_MBEDTLS_ECP_DP_BP384R1_ENABLED=y
CONFIG_MBEDTLS_ECP_DP_BP512R1_ENABLED=y
CONFIG_MBEDTLS_ECP_DP_CURVE25519_ENABLED=y
CONFIG_MBEDTLS_ECP_NIST_OPTIM=y

#
# mDNS
#
CONFIG_MDNS_MAX_SERVICES=10

#
# ESP-MQTT Configurations
#
CONFIG_MQTT_PROTOCOL_311=y
CONFIG_MQTT_TRANSPORT_SSL=y
CONFIG_MQTT_TRANSPORT_WEBSOCKET=y
CONFIG_MQTT_TRANSPORT_WEBSOCKET_SECURE=y
CONFIG_MQTT_USE_CUSTOM_CONFIG=
CONFIG_MQTT_TASK_CORE_SELECTION_ENABLED=
CONFIG_MQTT_CUSTOM_OUTBOX=

#
# NVS
#

#
# OpenSSL
#
CONFIG_OPENSSL_DEBUG=
CONFIG_OPENSSL_ASSERT_DO_NOTHING=y
CONFIG_OPENSSL_ASSERT_EXIT=

#
# PThreads
#
CONFIG_ESP32_PTHREAD_TASK_PRIO_DEFAULT=5
CONFIG_ESP32_PTHREAD_TASK_STACK_SIZE_DEFAULT=3072
CONFIG_PTHREAD_STACK_MIN=768
CONFIG_ESP32_DEFAULT_PTHREAD_CORE_NO_AFFINITY=y
CONFIG_ESP32_DEFAULT_PTHREAD_CORE_0=
CONFIG_ESP32_DEFAULT_PTHREAD_CORE_1=
CONFIG_ESP32_PTHREAD_TASK_CORE_DEFAULT=-1
CONFIG_ESP32_PTHREAD_TASK_NAME_DEFAULT="pthread"

#
# SPI Flash driver
#
CONFIG_SPI_FLASH_VERIFY_WRITE=
CONFIG_SPI_FLASH_ENABLE_COUNTERS=
CONFIG_SPI_FLASH_ROM_DRIVER_PATCH=y
CONFIG_SPI_FLASH_WRITING_DANGEROUS_REGIONS_ABORTS=y
CONFIG_SPI_FLASH_WRITING_DANGEROUS_REGIONS_FAILS=
CONFIG_SPI_FLASH_WRITING_DANGEROUS_REGIONS_ALLOWED=
CONFIG_SPI_FLASH_YIELD_DURING_ERASE=y
CONFIG_SPI_FLASH_ERASE_YIELD_DURATION_MS=20
CONFIG_SPI_FLASH_ERASE_YIELD_TICKS=1

#
# SPIFFS Configuration
#
CONFIG_SPIFFS_MAX_PARTITIONS=3

#
# SPIFFS Cache Configuration
#
CONFIG_SPIFFS_CACHE=y
CONFIG_SPIFFS_CACHE_WR=y
CONFIG_SPIFFS_CACHE_STATS=
CONFIG_SPIFFS_PAGE_CHECK=y
CONFIG_SPIFFS_GC_MAX_RUNS=10
CONFIG_SPIFFS_GC_STATS=
CONFIG_SPIFFS_PAGE_SIZE=256
CONFIG_SPIFFS_OBJ_NAME_LEN=32
CONFIG_SPIFFS_USE_MAGIC=y
CONFIG_SPIFFS_USE_MAGIC_LENGTH=y
CONFIG_SPIFFS_META_LENGTH=4
CONFIG_SPIFFS_USE_MTIME=y

#
# Debug Configuration
#
CONFIG_SPIFFS_DBG=
CONFIG_SPIFFS_API_DBG=
CONFIG_SPIFFS_GC_DBG=
CONFIG_SPIFFS_CACHE_DBG=
CONFIG_SPIFFS_CHECK_DBG=
CONFIG_SPIFFS_TEST_VISUALISATION=

#
# TCP/IP Adapter
#
CONFIG_IP_LOST_TIMER_INTERVAL=120
CONFIG_TCPIP_LWIP=y

#
# Unity unit testing library
#
CONFIG_UNITY_ENABLE_FLOAT=y
CONFIG_UNITY_ENABLE_DOUBLE=y
CONFIG_UNITY_ENABLE_COLOR=
CONFIG_UNITY_ENABLE_IDF_TEST_RUNNER=y
CONFIG_UNITY_ENABLE_FIXTURE=

#
# Virtual file system
#
CONFIG_SUPPRESS_SELECT_DEBUG_OUTPUT=y
CONFIG_SUPPORT_TERMIOS=y

#
# Wear Levelling
#
CONFIG_WL_SECTOR_SIZE_512=
CONFIG_WL_SECTOR_SIZE_4096=y
CONFIG_WL_SECTOR_SIZE=4096

#
# Wi-Fi Provisioning Manager
#
CONFIG_WIFI_PROV_SCAN_MAX_ENTRIES=16

#
# Supplicant
#
CONFIG_WPA_WPS_WARS=

2.编译

zsw@mylinux:~/tmp/test/esp-idf/examples/get-started/hello_world$ make app
Toolchain path: /home/zsw/.espressif/tools/xtensa-esp32-elf/1.22.0-96-g2852398-5.2.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc
Toolchain version: crosstool-ng-1.22.0-96-g2852398
Compiler version: 5.2.0
GENCONFIG
App "hello-world" version: v3.3.2-323-gbf0220609-dirty
CC build/app_trace/app_trace.o
CC build/app_trace/app_trace_util.o
CC build/app_trace/host_file_io.o
CC build/app_trace/gcov/gcov_rtio.o
AR build/app_trace/libapp_trace.a
App "hello-world" version: v3.3.2-323-gbf0220609-dirty
CC build/app_update/esp_app_desc.o
CC build/app_update/esp_ota_ops.o
AR build/app_update/libapp_update.a
CXX build/asio/asio/asio/src/asio.o
AR build/asio/libasio.a
CC build/bootloader_support/src/bootloader_clock.o
CC build/bootloader_support/src/bootloader_common.o
CC build/bootloader_support/src/bootloader_flash.o
CC build/bootloader_support/src/bootloader_flash_config.o
CC build/bootloader_support/src/bootloader_random.o
CC build/bootloader_support/src/bootloader_sha.o
CC build/bootloader_support/src/bootloader_utility.o
CC build/bootloader_support/src/esp_image_format.o
CC build/bootloader_support/src/flash_encrypt.o
CC build/bootloader_support/src/flash_partitions.o
CC build/bootloader_support/src/flash_qio_mode.o
CC build/bootloader_support/src/secure_boot.o
CC build/bootloader_support/src/secure_boot_signatures.o
espsecure.py v2.8
/home/zsw/tmp/test/esp-idf/examples/get-started/hello_world/secure_boot_signing_key.pem public key extracted to /home/zsw/tmp/test/esp-idf/examples/get-started/hello_world/build/bootloader_support/signature_verification_key.bin
EMBED build/bootloader_support/signature_verification_key.bin.bin.o
AR build/bootloader_support/libbootloader_support.a
CC build/bt/bt.o
AR build/bt/libbt.a
CC build/coap/libcoap/src/address.o
CC build/coap/libcoap/src/async.o
CC build/coap/libcoap/src/block.o
CC build/coap/libcoap/src/coap_time.o
CC build/coap/libcoap/src/debug.o
CC build/coap/libcoap/src/encode.o
CC build/coap/libcoap/src/mem.o
CC build/coap/libcoap/src/net.o
CC build/coap/libcoap/src/option.o
CC build/coap/libcoap/src/pdu.o
CC build/coap/libcoap/src/resource.o
CC build/coap/libcoap/src/str.o
CC build/coap/libcoap/src/subscribe.o
CC build/coap/libcoap/src/uri.o
CC build/coap/port/coap_io_socket.o
AR build/coap/libcoap.a
CC build/console/commands.o
AR build/console/libconsole.a
CXX build/cxx/cxx_exception_stubs.o
CXX build/cxx/cxx_guards.o
AR build/cxx/libcxx.a
CC build/driver/can.o
CC build/driver/gpio.o
CC build/driver/i2c.o
CC build/driver/i2s.o
CC build/driver/ledc.o
CC build/driver/mcpwm.o
CC build/driver/pcnt.o
CC build/driver/periph_ctrl.o
CC build/driver/rmt.o
CC build/driver/rtc_module.o
CC build/driver/sdio_slave.o
CC build/driver/sdmmc_host.o
CC build/driver/sdmmc_transaction.o
CC build/driver/sdspi_host.o
CC build/driver/sdspi_transaction.o
CC build/driver/sigmadelta.o
CC build/driver/spi_common.o
CC build/driver/spi_master.o
CC build/driver/spi_slave.o
CC build/driver/timer.o
CC build/driver/uart.o
AR build/driver/libdriver.a
CC build/efuse/esp32/esp_efuse_table.o
CC build/efuse/src/esp_efuse_api.o
CC build/efuse/src/esp_efuse_fields.o
CC build/efuse/src/esp_efuse_utility.o
AR build/efuse/libefuse.a
CC build/esp-tls/esp_tls.o
AR build/esp-tls/libesp-tls.a
CC build/esp32/brownout.o
CC build/esp32/cache_err_int.o
CC build/esp32/cache_sram_mmu.o
CC build/esp32/clk.o
CC build/esp32/coexist.o
CC build/esp32/cpu_start.o
CC build/esp32/crosscore_int.o
CC build/esp32/dbg_stubs.o
CC build/esp32/dport_access.o
CC build/esp32/esp_adapter.o
CC build/esp32/esp_err_to_name.o
CC build/esp32/esp_himem.o
CC build/esp32/esp_timer.o
CC build/esp32/esp_timer_esp32.o
CC build/esp32/ets_timer_legacy.o
CC build/esp32/event_default_handlers.o
CC build/esp32/event_loop.o
CC build/esp32/fast_crypto_ops.o
CC build/esp32/freertos_hooks.o
CC build/esp32/gdbstub.o
CC build/esp32/hw_random.o
CC build/esp32/intr_alloc.o
CC build/esp32/int_wdt.o
CC build/esp32/ipc.o
CC build/esp32/lib_printf.o
CC build/esp32/panic.o
CC build/esp32/phy_init.o
CC build/esp32/pm_esp32.o
CC build/esp32/pm_locks.o
CC build/esp32/pm_trace.o
CC build/esp32/reset_reason.o
CC build/esp32/restore.o
CC build/esp32/sleep_modes.o
CC build/esp32/spiram.o
CC build/esp32/spiram_psram.o
CC build/esp32/stack_check.o
CC build/esp32/system_api.o
CC build/esp32/task_wdt.o
CC build/esp32/wifi_init.o
CC build/esp32/hwcrypto/aes.o
CC build/esp32/hwcrypto/sha.o
AS build/esp32/dport_panic_highint_hdl.o
AR build/esp32/libesp32.a
CC build/esp_adc_cal/esp_adc_cal.o
AR build/esp_adc_cal/libesp_adc_cal.a
CC build/esp_event/default_event_loop.o
CC build/esp_event/esp_event.o
CC build/esp_event/esp_event_private.o
AR build/esp_event/libesp_event.a
CC build/esp_http_client/esp_http_client.o
CC build/esp_http_client/lib/http_auth.o
CC build/esp_http_client/lib/http_header.o
CC build/esp_http_client/lib/http_utils.o
AR build/esp_http_client/libesp_http_client.a
CC build/esp_http_server/src/httpd_main.o
CC build/esp_http_server/src/httpd_parse.o
CC build/esp_http_server/src/httpd_sess.o
CC build/esp_http_server/src/httpd_txrx.o
CC build/esp_http_server/src/httpd_uri.o
CC build/esp_http_server/src/util/ctrl_sock.o
AR build/esp_http_server/libesp_http_server.a
CC build/esp_https_ota/src/esp_https_ota.o
AR build/esp_https_ota/libesp_https_ota.a
CC build/esp_https_server/src/https_server.o
AR build/esp_https_server/libesp_https_server.a
CC build/esp_ringbuf/ringbuf.o
AR build/esp_ringbuf/libesp_ringbuf.a
CC build/esp_websocket_client/esp_websocket_client.o
AR build/esp_websocket_client/libesp_websocket_client.a
CC build/espcoredump/src/core_dump_common.o
CC build/espcoredump/src/core_dump_flash.o
CC build/espcoredump/src/core_dump_port.o
CC build/espcoredump/src/core_dump_uart.o
AR build/espcoredump/libespcoredump.a
CC build/ethernet/emac_dev.o
CC build/ethernet/emac_main.o
CC build/ethernet/eth_phy/phy_common.o
CC build/ethernet/eth_phy/phy_ip101.o
CC build/ethernet/eth_phy/phy_lan8720.o
CC build/ethernet/eth_phy/phy_tlk110.o
AR build/ethernet/libethernet.a
CC build/expat/expat/expat/lib/xmlparse.o
AR build/expat/libexpat.a
CC build/fatfs/src/diskio.o
CC build/fatfs/src/diskio_rawflash.o
CC build/fatfs/src/diskio_sdmmc.o
CC build/fatfs/src/diskio_wl.o
CC build/fatfs/src/ff.o
CC build/fatfs/src/ffsystem.o
CC build/fatfs/src/ffunicode.o
CC build/fatfs/src/vfs_fat.o
CC build/fatfs/src/vfs_fat_sdmmc.o
CC build/fatfs/src/vfs_fat_spiflash.o
AR build/fatfs/libfatfs.a
CC build/freemodbus/modbus/mb.o
CC build/freemodbus/port/portevent.o
CC build/freemodbus/port/portother.o
CC build/freemodbus/port/portserial.o
CC build/freemodbus/port/porttimer.o
CC build/freemodbus/modbus/ascii/mbascii.o
CC build/freemodbus/modbus/functions/mbfunccoils.o
CC build/freemodbus/modbus/functions/mbfuncdisc.o
CC build/freemodbus/modbus/functions/mbfuncholding.o
CC build/freemodbus/modbus/functions/mbfuncinput.o
CC build/freemodbus/modbus/functions/mbfuncother.o
CC build/freemodbus/modbus/functions/mbutils.o
CC build/freemodbus/modbus/rtu/mbcrc.o
CC build/freemodbus/modbus/rtu/mbrtu.o
CC build/freemodbus/modbus_controller/mbcontroller.o
AR build/freemodbus/libfreemodbus.a
CC build/freertos/croutine.o
CC build/freertos/event_groups.o
CC build/freertos/FreeRTOS-openocd.o
CC build/freertos/list.o
CC build/freertos/port.o
CC build/freertos/queue.o
CC build/freertos/tasks.o
CC build/freertos/timers.o
CC build/freertos/xtensa_init.o
CC build/freertos/xtensa_intr.o
CC build/freertos/xtensa_overlay_os_hook.o
AS build/freertos/portasm.o
AS build/freertos/xtensa_context.o
AS build/freertos/xtensa_intr_asm.o
AS build/freertos/xtensa_vector_defaults.o
AS build/freertos/xtensa_vectors.o
AR build/freertos/libfreertos.a
CC build/heap/heap_caps_init.o
CC build/heap/heap_caps.o
CC build/heap/multi_heap.o
CC build/heap/heap_trace.o
AR build/heap/libheap.a
CC build/libsodium/port/randombytes_esp32.o
CC build/libsodium/libsodium/src/libsodium/crypto_generichash/blake2b/ref/blake2b-ref.o
CC build/libsodium/libsodium/src/libsodium/crypto_generichash/blake2b/ref/generichash_blake2b.o
CC build/libsodium/libsodium/src/libsodium/crypto_secretbox/crypto_secretbox_easy.o
CC build/libsodium/libsodium/src/libsodium/randombytes/randombytes.o
CC build/libsodium/libsodium/src/libsodium/sodium/utils.o
CC build/libsodium/port/crypto_hash_mbedtls/crypto_hash_sha256_mbedtls.o
CC build/libsodium/port/crypto_hash_mbedtls/crypto_hash_sha512_mbedtls.o
AR build/libsodium/liblibsodium.a
CC build/log/log.o
AR build/log/liblog.a
CC build/lwip/apps/dhcpserver/dhcpserver.o
CC build/lwip/apps/ping/esp_ping.o
CC build/lwip/apps/ping/ping.o
CC build/lwip/apps/sntp/sntp.o
CC build/lwip/lwip/src/api/api_lib.o
CC build/lwip/lwip/src/api/api_msg.o
CC build/lwip/lwip/src/api/err.o
CC build/lwip/lwip/src/api/netbuf.o
CC build/lwip/lwip/src/api/netdb.o
CC build/lwip/lwip/src/api/netifapi.o
CC build/lwip/lwip/src/api/sockets.o
CC build/lwip/lwip/src/api/tcpip.o
CC build/lwip/lwip/src/apps/sntp/sntp.o
CC build/lwip/lwip/src/core/def.o
CC build/lwip/lwip/src/core/dns.o
CC build/lwip/lwip/src/core/inet_chksum.o
CC build/lwip/lwip/src/core/init.o
CC build/lwip/lwip/src/core/ip.o
CC build/lwip/lwip/src/core/mem.o
CC build/lwip/lwip/src/core/memp.o
CC build/lwip/lwip/src/core/netif.o
CC build/lwip/lwip/src/core/pbuf.o
CC build/lwip/lwip/src/core/raw.o
CC build/lwip/lwip/src/core/stats.o
CC build/lwip/lwip/src/core/sys.o
CC build/lwip/lwip/src/core/tcp.o
CC build/lwip/lwip/src/core/tcp_in.o
CC build/lwip/lwip/src/core/tcp_out.o
CC build/lwip/lwip/src/core/timeouts.o
CC build/lwip/lwip/src/core/udp.o
CC build/lwip/lwip/src/core/ipv4/autoip.o
CC build/lwip/lwip/src/core/ipv4/dhcp.o
CC build/lwip/lwip/src/core/ipv4/etharp.o
CC build/lwip/lwip/src/core/ipv4/icmp.o
CC build/lwip/lwip/src/core/ipv4/igmp.o
CC build/lwip/lwip/src/core/ipv4/ip4_addr.o
CC build/lwip/lwip/src/core/ipv4/ip4.o
CC build/lwip/lwip/src/core/ipv4/ip4_frag.o
CC build/lwip/lwip/src/core/ipv6/dhcp6.o
CC build/lwip/lwip/src/core/ipv6/ethip6.o
CC build/lwip/lwip/src/core/ipv6/icmp6.o
CC build/lwip/lwip/src/core/ipv6/inet6.o
CC build/lwip/lwip/src/core/ipv6/ip6_addr.o
CC build/lwip/lwip/src/core/ipv6/ip6.o
CC build/lwip/lwip/src/core/ipv6/ip6_frag.o
CC build/lwip/lwip/src/core/ipv6/mld6.o
CC build/lwip/lwip/src/core/ipv6/nd6.o
CC build/lwip/lwip/src/netif/ethernet.o
CC build/lwip/lwip/src/netif/ethernetif.o
CC build/lwip/lwip/src/netif/lowpan6.o
CC build/lwip/lwip/src/netif/slipif.o
CC build/lwip/port/esp32/vfs_lwip.o
CC build/lwip/port/esp32/freertos/sys_arch.o
CC build/lwip/port/esp32/netif/dhcp_state.o
CC build/lwip/port/esp32/netif/ethernetif.o
CC build/lwip/port/esp32/netif/wlanif.o
CC build/lwip/port/esp32/debug/lwip_debug.o
AR build/lwip/liblwip.a
CC build/main/hello_world_main.o
AR build/main/libmain.a
CC build/mbedtls/mbedtls/library/aes.o
CC build/mbedtls/mbedtls/library/aesni.o
CC build/mbedtls/mbedtls/library/arc4.o
CC build/mbedtls/mbedtls/library/aria.o
CC build/mbedtls/mbedtls/library/asn1parse.o
CC build/mbedtls/mbedtls/library/asn1write.o
CC build/mbedtls/mbedtls/library/base64.o
CC build/mbedtls/mbedtls/library/bignum.o
CC build/mbedtls/mbedtls/library/blowfish.o
CC build/mbedtls/mbedtls/library/camellia.o
CC build/mbedtls/mbedtls/library/ccm.o
CC build/mbedtls/mbedtls/library/certs.o
CC build/mbedtls/mbedtls/library/chacha20.o
CC build/mbedtls/mbedtls/library/chachapoly.o
CC build/mbedtls/mbedtls/library/cipher.o
CC build/mbedtls/mbedtls/library/cipher_wrap.o
CC build/mbedtls/mbedtls/library/cmac.o
CC build/mbedtls/mbedtls/library/ctr_drbg.o
CC build/mbedtls/mbedtls/library/debug.o
CC build/mbedtls/mbedtls/library/des.o
CC build/mbedtls/mbedtls/library/dhm.o
CC build/mbedtls/mbedtls/library/ecdh.o
CC build/mbedtls/mbedtls/library/ecdsa.o
CC build/mbedtls/mbedtls/library/ecjpake.o
CC build/mbedtls/mbedtls/library/ecp.o
CC build/mbedtls/mbedtls/library/ecp_curves.o
CC build/mbedtls/mbedtls/library/entropy.o
CC build/mbedtls/mbedtls/library/entropy_poll.o
CC build/mbedtls/mbedtls/library/error.o
CC build/mbedtls/mbedtls/library/gcm.o
CC build/mbedtls/mbedtls/library/havege.o
CC build/mbedtls/mbedtls/library/hkdf.o
CC build/mbedtls/mbedtls/library/hmac_drbg.o
CC build/mbedtls/mbedtls/library/md2.o
CC build/mbedtls/mbedtls/library/md4.o
CC build/mbedtls/mbedtls/library/md5.o
CC build/mbedtls/mbedtls/library/md.o
CC build/mbedtls/mbedtls/library/md_wrap.o
CC build/mbedtls/mbedtls/library/memory_buffer_alloc.o
CC build/mbedtls/mbedtls/library/nist_kw.o
CC build/mbedtls/mbedtls/library/oid.o
CC build/mbedtls/mbedtls/library/padlock.o
CC build/mbedtls/mbedtls/library/pem.o
CC build/mbedtls/mbedtls/library/pk.o
CC build/mbedtls/mbedtls/library/pkcs11.o
CC build/mbedtls/mbedtls/library/pkcs12.o
CC build/mbedtls/mbedtls/library/pkcs5.o
CC build/mbedtls/mbedtls/library/pkparse.o
CC build/mbedtls/mbedtls/library/pk_wrap.o
CC build/mbedtls/mbedtls/library/pkwrite.o
CC build/mbedtls/mbedtls/library/platform.o
CC build/mbedtls/mbedtls/library/platform_util.o
CC build/mbedtls/mbedtls/library/poly1305.o
CC build/mbedtls/mbedtls/library/ripemd160.o
CC build/mbedtls/mbedtls/library/rsa.o
CC build/mbedtls/mbedtls/library/rsa_internal.o
CC build/mbedtls/mbedtls/library/sha1.o
CC build/mbedtls/mbedtls/library/sha256.o
CC build/mbedtls/mbedtls/library/sha512.o
CC build/mbedtls/mbedtls/library/ssl_cache.o
CC build/mbedtls/mbedtls/library/ssl_ciphersuites.o
CC build/mbedtls/mbedtls/library/ssl_cli.o
CC build/mbedtls/mbedtls/library/ssl_cookie.o
CC build/mbedtls/mbedtls/library/ssl_srv.o
CC build/mbedtls/mbedtls/library/ssl_ticket.o
CC build/mbedtls/mbedtls/library/ssl_tls.o
CC build/mbedtls/mbedtls/library/threading.o
CC build/mbedtls/mbedtls/library/timing.o
CC build/mbedtls/mbedtls/library/version.o
CC build/mbedtls/mbedtls/library/version_features.o
CC build/mbedtls/mbedtls/library/x509.o
CC build/mbedtls/mbedtls/library/x509_create.o
CC build/mbedtls/mbedtls/library/x509_crl.o
CC build/mbedtls/mbedtls/library/x509_crt.o
CC build/mbedtls/mbedtls/library/x509_csr.o
CC build/mbedtls/mbedtls/library/x509write_crt.o
CC build/mbedtls/mbedtls/library/x509write_csr.o
CC build/mbedtls/mbedtls/library/xtea.o
CC build/mbedtls/port/esp_bignum.o
CC build/mbedtls/port/esp_hardware.o
CC build/mbedtls/port/esp_mem.o
CC build/mbedtls/port/esp_sha1.o
CC build/mbedtls/port/esp_sha256.o
CC build/mbedtls/port/esp_sha512.o
CC build/mbedtls/port/mbedtls_debug.o
CC build/mbedtls/port/net_sockets.o
AR build/mbedtls/libmbedtls.a
CC build/mdns/mdns.o
CC build/mdns/mdns_console.o
CC build/mdns/mdns_networking.o
AR build/mdns/libmdns.a
CC build/mqtt/esp-mqtt/mqtt_client.o
CC build/mqtt/esp-mqtt/lib/mqtt_msg.o
CC build/mqtt/esp-mqtt/lib/mqtt_outbox.o
CC build/mqtt/esp-mqtt/lib/platform_esp32_idf.o
AR build/mqtt/libmqtt.a
CC build/newlib/locks.o
CC build/newlib/poll.o
CC build/newlib/pthread.o
CC build/newlib/random.o
CC build/newlib/reent_init.o
CC build/newlib/select.o
CC build/newlib/syscalls.o
CC build/newlib/syscall_table.o
CC build/newlib/termios.o
CC build/newlib/time.o
CC build/newlib/utime.o
AR build/newlib/libnewlib.a
CC build/nghttp/nghttp2/lib/nghttp2_frame.o
CC build/nghttp/nghttp2/lib/nghttp2_hd.o
CC build/nghttp/nghttp2/lib/nghttp2_hd_huffman.o
CC build/nghttp/nghttp2/lib/nghttp2_helper.o
CC build/nghttp/nghttp2/lib/nghttp2_http.o
CC build/nghttp/nghttp2/lib/nghttp2_outbound_item.o
CC build/nghttp/nghttp2/lib/nghttp2_pq.o
CC build/nghttp/nghttp2/lib/nghttp2_queue.o
CC build/nghttp/nghttp2/lib/nghttp2_rcbuf.o
CC build/nghttp/nghttp2/lib/nghttp2_session.o
CC build/nghttp/nghttp2/lib/nghttp2_stream.o
CC build/nghttp/nghttp2/lib/nghttp2_submit.o
CC build/nghttp/port/http_parser.o
AR build/nghttp/libnghttp.a
CXX build/nvs_flash/src/nvs_api.o
CXX build/nvs_flash/src/nvs_encr.o
CXX build/nvs_flash/src/nvs_item_hash_list.o
CXX build/nvs_flash/src/nvs_ops.o
CXX build/nvs_flash/src/nvs_page.o
CXX build/nvs_flash/src/nvs_storage.o
AR build/nvs_flash/libnvs_flash.a
CC build/openssl/library/ssl_cert.o
CC build/openssl/library/ssl_lib.o
CC build/openssl/library/ssl_methods.o
CC build/openssl/library/ssl_pkey.o
CC build/openssl/library/ssl_stack.o
CC build/openssl/library/ssl_x509.o
CC build/openssl/platform/ssl_pm.o
CC build/openssl/platform/ssl_port.o
AR build/openssl/libopenssl.a
CC build/protobuf-c/protobuf-c/protobuf-c/protobuf-c.o
AR build/protobuf-c/libprotobuf-c.a
CC build/protocomm/src/common/protocomm.o
CC build/protocomm/src/security/security0.o
CC build/protocomm/src/security/security1.o
CC build/protocomm/proto-c/constants.pb-c.o
CC build/protocomm/proto-c/sec0.pb-c.o
CC build/protocomm/proto-c/sec1.pb-c.o
CC build/protocomm/proto-c/session.pb-c.o
CC build/protocomm/src/transports/protocomm_console.o
CC build/protocomm/src/transports/protocomm_httpd.o
AR build/protocomm/libprotocomm.a
CC build/pthread/pthread.o
CC build/pthread/pthread_cond_var.o
CC build/pthread/pthread_local_storage.o
AR build/pthread/libpthread.a
CC build/sdmmc/sdmmc_cmd.o
CC build/sdmmc/sdmmc_common.o
CC build/sdmmc/sdmmc_init.o
CC build/sdmmc/sdmmc_io.o
CC build/sdmmc/sdmmc_mmc.o
CC build/sdmmc/sdmmc_sd.o
AR build/sdmmc/libsdmmc.a
CC build/smartconfig_ack/smartconfig_ack.o
AR build/smartconfig_ack/libsmartconfig_ack.a
CC build/soc/esp32/cpu_util.o
CC build/soc/esp32/gpio_periph.o
CC build/soc/esp32/rtc_clk.o
CC build/soc/esp32/rtc_clk_init.o
CC build/soc/esp32/rtc_init.o
CC build/soc/esp32/rtc_periph.o
CC build/soc/esp32/rtc_pm.o
CC build/soc/esp32/rtc_sleep.o
CC build/soc/esp32/rtc_time.o
CC build/soc/esp32/rtc_wdt.o
CC build/soc/esp32/sdio_slave_periph.o
CC build/soc/esp32/sdmmc_periph.o
CC build/soc/esp32/soc_memory_layout.o
CC build/soc/esp32/spi_periph.o
CC build/soc/src//memory_layout_utils.o
AR build/soc/libsoc.a
CC build/spi_flash/cache_utils.o
CC build/spi_flash/flash_mmap.o
CC build/spi_flash/flash_ops.o
CC build/spi_flash/partition.o
CC build/spi_flash/spi_flash_rom_patch.o
AR build/spi_flash/libspi_flash.a
CC build/spiffs/esp_spiffs.o
CC build/spiffs/spiffs_api.o
CC build/spiffs/spiffs/src/spiffs_cache.o
CC build/spiffs/spiffs/src/spiffs_check.o
CC build/spiffs/spiffs/src/spiffs_gc.o
CC build/spiffs/spiffs/src/spiffs_hydrogen.o
CC build/spiffs/spiffs/src/spiffs_nucleus.o
AR build/spiffs/libspiffs.a
CC build/tcp_transport/transport.o
CC build/tcp_transport/transport_ssl.o
CC build/tcp_transport/transport_tcp.o
CC build/tcp_transport/transport_utils.o
CC build/tcp_transport/transport_ws.o
AR build/tcp_transport/libtcp_transport.a
CC build/tcpip_adapter/tcpip_adapter_lwip.o
AR build/tcpip_adapter/libtcpip_adapter.a
CC build/ulp/ulp.o
CC build/ulp/ulp_macro.o
AR build/ulp/libulp.a
CC build/unity/unity/src/unity.o
CC build/unity/unity_port_esp32.o
CC build/unity/unity_runner.o
AR build/unity/libunity.a
CC build/vfs/vfs.o
CC build/vfs/vfs_uart.o
AR build/vfs/libvfs.a
CXX build/wear_levelling/Partition.o
CXX build/wear_levelling/SPI_Flash.o
CXX build/wear_levelling/wear_levelling.o
CXX build/wear_levelling/WL_Ext_Perf.o
CXX build/wear_levelling/WL_Ext_Safe.o
CXX build/wear_levelling/WL_Flash.o
AR build/wear_levelling/libwear_levelling.a
CC build/wifi_provisioning/src/handlers.o
CC build/wifi_provisioning/src/manager.o
CC build/wifi_provisioning/src/scheme_console.o
CC build/wifi_provisioning/src/scheme_softap.o
CC build/wifi_provisioning/src/wifi_config.o
CC build/wifi_provisioning/src/wifi_scan.o
CC build/wifi_provisioning/proto-c/wifi_config.pb-c.o
CC build/wifi_provisioning/proto-c/wifi_constants.pb-c.o
CC build/wifi_provisioning/proto-c/wifi_scan.pb-c.o
AR build/wifi_provisioning/libwifi_provisioning.a
CC build/wpa_supplicant/src/crypto/aes-cbc.o
CC build/wpa_supplicant/src/crypto/aes-internal.o
CC build/wpa_supplicant/src/crypto/aes-internal-dec.o
CC build/wpa_supplicant/src/crypto/aes-internal-enc.o
CC build/wpa_supplicant/src/crypto/aes-unwrap.o
CC build/wpa_supplicant/src/crypto/aes-wrap.o
CC build/wpa_supplicant/src/crypto/bignum.o
CC build/wpa_supplicant/src/crypto/crypto_internal.o
CC build/wpa_supplicant/src/crypto/crypto_internal-cipher.o
CC build/wpa_supplicant/src/crypto/crypto_internal-modexp.o
CC build/wpa_supplicant/src/crypto/crypto_internal-rsa.o
CC build/wpa_supplicant/src/crypto/crypto_mbedtls.o
CC build/wpa_supplicant/src/crypto/des-internal.o
CC build/wpa_supplicant/src/crypto/dh_group5.o
CC build/wpa_supplicant/src/crypto/dh_groups.o
CC build/wpa_supplicant/src/crypto/md4-internal.o
CC build/wpa_supplicant/src/crypto/md5.o
CC build/wpa_supplicant/src/crypto/md5-internal.o
CC build/wpa_supplicant/src/crypto/ms_funcs.o
CC build/wpa_supplicant/src/crypto/rc4.o
CC build/wpa_supplicant/src/crypto/sha1.o
CC build/wpa_supplicant/src/crypto/sha1-internal.o
CC build/wpa_supplicant/src/crypto/sha1-pbkdf2.o
CC build/wpa_supplicant/src/crypto/sha256.o
CC build/wpa_supplicant/src/crypto/sha256-internal.o
CC build/wpa_supplicant/port/os_xtensa.o
CC build/wpa_supplicant/src/fast_crypto/fast_aes-cbc.o
CC build/wpa_supplicant/src/fast_crypto/fast_aes-unwrap.o
CC build/wpa_supplicant/src/fast_crypto/fast_aes-wrap.o
CC build/wpa_supplicant/src/fast_crypto/fast_crypto_internal.o
CC build/wpa_supplicant/src/fast_crypto/fast_crypto_internal-cipher.o
CC build/wpa_supplicant/src/fast_crypto/fast_crypto_internal-modexp.o
CC build/wpa_supplicant/src/fast_crypto/fast_sha256.o
CC build/wpa_supplicant/src/fast_crypto/fast_sha256-internal.o
CC build/wpa_supplicant/src/wpa2/eap_peer/eap.o
CC build/wpa_supplicant/src/wpa2/eap_peer/eap_common.o
CC build/wpa_supplicant/src/wpa2/eap_peer/eap_mschapv2.o
CC build/wpa_supplicant/src/wpa2/eap_peer/eap_peap.o
CC build/wpa_supplicant/src/wpa2/eap_peer/eap_peap_common.o
CC build/wpa_supplicant/src/wpa2/eap_peer/eap_tls.o
CC build/wpa_supplicant/src/wpa2/eap_peer/eap_tls_common.o
CC build/wpa_supplicant/src/wpa2/eap_peer/eap_ttls.o
CC build/wpa_supplicant/src/wpa2/eap_peer/mschapv2.o
CC build/wpa_supplicant/src/wpa2/tls/asn1.o
CC build/wpa_supplicant/src/wpa2/tls/bignum.o
CC build/wpa_supplicant/src/wpa2/tls/pkcs1.o
CC build/wpa_supplicant/src/wpa2/tls/pkcs5.o
CC build/wpa_supplicant/src/wpa2/tls/pkcs8.o
CC build/wpa_supplicant/src/wpa2/tls/rsa.o
CC build/wpa_supplicant/src/wpa2/tls/tls_internal.o
CC build/wpa_supplicant/src/wpa2/tls/tlsv1_client.o
CC build/wpa_supplicant/src/wpa2/tls/tlsv1_client_read.o
CC build/wpa_supplicant/src/wpa2/tls/tlsv1_client_write.o
CC build/wpa_supplicant/src/wpa2/tls/tlsv1_common.o
CC build/wpa_supplicant/src/wpa2/tls/tlsv1_cred.o
CC build/wpa_supplicant/src/wpa2/tls/tlsv1_record.o
CC build/wpa_supplicant/src/wpa2/tls/tlsv1_server.o
CC build/wpa_supplicant/src/wpa2/tls/tlsv1_server_read.o
CC build/wpa_supplicant/src/wpa2/tls/tlsv1_server_write.o
CC build/wpa_supplicant/src/wpa2/tls/x509v3.o
CC build/wpa_supplicant/src/wpa2/utils/base64.o
CC build/wpa_supplicant/src/wpa2/utils/ext_password.o
CC build/wpa_supplicant/src/wps/eap_common.o
CC build/wpa_supplicant/src/wps/uuid.o
CC build/wpa_supplicant/src/wps/wps_attr_build.o
CC build/wpa_supplicant/src/wps/wps_attr_parse.o
CC build/wpa_supplicant/src/wps/wps_attr_process.o
CC build/wpa_supplicant/src/wps/wps.o
CC build/wpa_supplicant/src/wps/wps_common.o
CC build/wpa_supplicant/src/wps/wps_dev_attr.o
CC build/wpa_supplicant/src/wps/wps_enrollee.o
CC build/wpa_supplicant/src/wps/wps_registrar.o
CC build/wpa_supplicant/src/wps/wps_validate.o
AR build/wpa_supplicant/libwpa_supplicant.a
CC build/xtensa-debug-module/trax.o
AR build/xtensa-debug-module/libxtensa-debug-module.a
Generating libapp_trace.a.sections_info
Generating libapp_update.a.sections_info
Generating libasio.a.sections_info
Generating libbootloader_support.a.sections_info
Generating libbt.a.sections_info
Generating libcoap.a.sections_info
Generating libconsole.a.sections_info
Generating libcxx.a.sections_info
Generating libdriver.a.sections_info
Generating libefuse.a.sections_info
Generating libesp-tls.a.sections_info
Generating libesp32.a.sections_info
Generating libesp_adc_cal.a.sections_info
Generating libesp_event.a.sections_info
Generating libesp_http_client.a.sections_info
Generating libesp_http_server.a.sections_info
Generating libesp_https_ota.a.sections_info
Generating libesp_https_server.a.sections_info
Generating libesp_ringbuf.a.sections_info
Generating libesp_websocket_client.a.sections_info
Generating libespcoredump.a.sections_info
Generating libethernet.a.sections_info
Generating libexpat.a.sections_info
Generating libfatfs.a.sections_info
Generating libfreemodbus.a.sections_info
Generating libfreertos.a.sections_info
Generating libheap.a.sections_info
Generating liblibsodium.a.sections_info
Generating liblog.a.sections_info
Generating liblwip.a.sections_info
Generating libmain.a.sections_info
Generating libmbedtls.a.sections_info
Generating libmdns.a.sections_info
Generating libmqtt.a.sections_info
Generating libnewlib.a.sections_info
Generating libnghttp.a.sections_info
Generating libnvs_flash.a.sections_info
Generating libopenssl.a.sections_info
Generating libprotobuf-c.a.sections_info
Generating libprotocomm.a.sections_info
Generating libpthread.a.sections_info
Generating libsdmmc.a.sections_info
Generating libsmartconfig_ack.a.sections_info
Generating libsoc.a.sections_info
Generating libspi_flash.a.sections_info
Generating libspiffs.a.sections_info
Generating libtcp_transport.a.sections_info
Generating libtcpip_adapter.a.sections_info
Generating libulp.a.sections_info
Generating libunity.a.sections_info
Generating libvfs.a.sections_info
Generating libwear_levelling.a.sections_info
Generating libwifi_provisioning.a.sections_info
Generating libwpa_supplicant.a.sections_info
Generating libxtensa-debug-module.a.sections_info
Generating esp32.project.ld
LD build/hello-world.elf
Python requirements from /home/zsw/tmp/test/esp-idf/requirements.txt are satisfied.
esptool.py v2.8
espsecure.py v2.8
Signed 196528 bytes of data from /home/zsw/tmp/test/esp-idf/examples/get-started/hello_world/build/hello-world-unsigned.bin with key /home/zsw/tmp/test/esp-idf/examples/get-started/hello_world/secure_boot_signing_key.pem
Building partitions from /home/zsw/tmp/test/esp-idf/examples/get-started/hello_world/partitions.csv...
espsecure.py v2.8
Signed 3072 bytes of data from /home/zsw/tmp/test/esp-idf/examples/get-started/hello_world/build/partitions-unsigned.bin with key /home/zsw/tmp/test/esp-idf/examples/get-started/hello_world/secure_boot_signing_key.pem
App built. Default flash app command is:
python /home/zsw/tmp/test/esp-idf/components/esptool_py/esptool/esptool.py --chip esp32 --port /dev/ttyUSB0 --baud 921600 --before default_reset --after hard_reset write_flash -z --flash_mode dio --flash_freq 40m --flash_size detect 0x10000 /home/zsw/tmp/test/esp-idf/examples/get-started/hello_world/build/hello-world.bin

3.烧入

zsw@mylinux:~/tmp/test/esp-idf/examples/get-started/hello_world$ make flash 
Toolchain path: /home/zsw/.espressif/tools/xtensa-esp32-elf/1.22.0-96-g2852398-5.2.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc
Toolchain version: crosstool-ng-1.22.0-96-g2852398
Compiler version: 5.2.0
Python requirements from /home/zsw/tmp/test/esp-idf/requirements.txt are satisfied.

App "hello-world" version: v3.3.2-323-gbf0220609-dirty
Flashing binaries to serial port /dev/ttyUSB0 (app at offset 0x10000)...
(Secure boot enabled, so bootloader not flashed automatically. See 'make bootloader' output)
esptool.py v2.8
Serial port /dev/ttyUSB0
Connecting....
Chip is ESP32D0WDQ5 (revision 1)
Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None
Crystal is 40MHz
MAC: f4:cf:a2:8b:e8:50
Uploading stub...
Running stub...
Stub running...
Changing baud rate to 921600
Changed.
Configuring flash size...
Auto-detected Flash size: 4MB
Compressed 196596 bytes to 73299...
Wrote 196596 bytes (73299 compressed) at 0x00010000 in 1.6 seconds (effective 989.0 kbit/s)...
Hash of data verified.
Compressed 3140 bytes to 173...
Wrote 3140 bytes (173 compressed) at 0x0000a000 in 0.0 seconds (effective 5011.7 kbit/s)...
Hash of data verified.

Leaving...
Hard resetting via RTS pin...

4.启动验证

zsw@mylinux:~/tmp/test/esp-idf/examples/get-started/hello_world$ make monitor 
Toolchain path: /home/zsw/.espressif/tools/xtensa-esp32-elf/1.22.0-96-g2852398-5.2.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc
Toolchain version: crosstool-ng-1.22.0-96-g2852398
Compiler version: 5.2.0
Python requirements from /home/zsw/tmp/test/esp-idf/requirements.txt are satisfied.
MONITOR
--- idf_monitor on /dev/ttyUSB0 115200 ---
--- Quit: Ctrl+] | Menu: Ctrl+T | Help: Ctrl+T followed by Ctrl+H ---
ets Jun  8 2016 00:22:57

rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0018,len:4
load:0x3fff001c,len:9312
ho 0 tail 12 room 4
load:0x40078000,len:18432
load:0x40080400,len:6664
entry 0x40080774
I (99) boot: Chip Revision: 1
I (100) boot_comm: chip revision: 1, min. bootloader chip revision: 0
I (46) boot: ESP-IDF v3.3.2-323-gbf0220609-dirty 2nd stage bootloader
I (46) boot: compile time 11:51:47
I (47) boot: Enabling RNG early entropy source...
I (52) boot: SPI Speed      : 40MHz
I (56) boot: SPI Mode       : DIO
I (60) boot: SPI Flash Size : 4MB
I (64) boot: Partition Table:
I (68) boot: ## Label            Usage          Type ST Offset   Length
I (75) boot:  0 nvs              WiFi data        01 02 0000b000 00004000
I (83) boot:  1 phy_init         RF data          01 01 0000f000 00001000
I (90) boot:  2 factory          factory app      00 00 00010000 00100000
I (98) boot: End of partition table
I (102) boot_comm: chip revision: 1, min. application chip revision: 0
I (109) esp_image: segment 0: paddr=0x00010020 vaddr=0x3f400020 size=0x07fec ( 32748) map
I (130) esp_image: segment 1: paddr=0x00018014 vaddr=0x3ffb0000 size=0x01ec0 (  7872) load
I (133) esp_image: segment 2: paddr=0x00019edc vaddr=0x40080000 size=0x00400 (  1024) load
0x40080000: _WindowOverflow4 at /home/zsw/tmp/test/esp-idf/components/freertos/xtensa_vectors.S:1779

I (139) esp_image: segment 3: paddr=0x0001a2e4 vaddr=0x40080400 size=0x05d2c ( 23852) load
I (157) esp_image: segment 4: paddr=0x00020018 vaddr=0x400d0018 size=0x12d2c ( 77100) map
0x400d0018: _flash_cache_start at ??:?

I (184) esp_image: segment 5: paddr=0x00032d4c vaddr=0x4008612c size=0x023a8 (  9128) load
0x4008612c: prvGetNextExpireTime at /home/zsw/tmp/test/esp-idf/components/freertos/timers.c:327

I (188) esp_image: segment 6: paddr=0x000350fc vaddr=0x00000000 size=0x0ae84 ( 44676) 
I (206) esp_image: Verifying image signature...
I (613) boot: Loaded app from partition at offset 0x10000
I (614) secure_boot: bootloader secure boot is already enabled. No need to generate digest. continuing..
I (618) boot: Checking secure boot...
I (623) secure_boot: bootloader secure boot is already enabled, continuing..
I (630) boot: Disabling RNG early entropy source...
I (636) cpu_start: Pro cpu up.
I (640) cpu_start: Application information:
I (645) cpu_start: Project name:     hello-world
I (650) cpu_start: App version:      v3.3.2-323-gbf0220609-dirty
I (657) cpu_start: Compile time:     Apr  6 2021 18:30:34
I (663) cpu_start: ELF file SHA256:  b666fefcd82bd045...
I (669) cpu_start: ESP-IDF:          v3.3.2-323-gbf0220609-dirty
I (675) cpu_start: Starting app cpu, entry point is 0x40080f30
0x40080f30: call_start_cpu1 at /home/zsw/tmp/test/esp-idf/components/esp32/cpu_start.c:268

I (0) cpu_start: App cpu up.
I (686) heap_init: Initializing. RAM available for dynamic allocation:
I (693) heap_init: At 3FFAE6E0 len 00001920 (6 KiB): DRAM
I (699) heap_init: At 3FFB2EF0 len 0002D110 (180 KiB): DRAM
I (705) heap_init: At 3FFE0440 len 00003AE0 (14 KiB): D/IRAM
I (711) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM
I (718) heap_init: At 400884D4 len 00017B2C (94 KiB): IRAM
I (724) cpu_start: Pro cpu start user code
I (71) cpu_start: Starting scheduler on PRO CPU.
I (0) cpu_start: Starting scheduler on APP CPU.
Hello world!
This is ESP32 chip with 2 CPU cores, WiFi/BT/BLE, silicon revision 1, 4MB external flash
Restarting in 10 seconds...
Restarting in 9 seconds...
Restarting in 8 seconds...
Restarting in 7 seconds...
Restarting in 6 seconds...
Restarting in 5 seconds...
Restarting in 4 seconds...
Restarting in 3 seconds...
Restarting in 2 seconds...
Restarting in 1 seconds...
Restarting in 0 seconds...
Restarting now.
ets Jun  8 2016 00:22:57

rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0018,len:4
load:0x3fff001c,len:9312
ho 0 tail 12 room 4
load:0x40078000,len:18432
load:0x40080400,len:6664
entry 0x40080774
I (99) boot: Chip Revision: 1
I (100) boot_comm: chip revision: 1, min. bootloader chip revision: 0
I (46) boot: ESP-IDF v3.3.2-323-gbf0220609-dirty 2nd stage bootloader
I (46) boot: compile time 11:51:47
I (47) boot: Enabling RNG early entropy source...
I (52) boot: SPI Speed      : 40MHz
I (57) boot: SPI Mode       : DIO
I (61) boot: SPI Flash Size : 4MB
I (65) boot: Partition Table:
I (68) boot: ## Label            Usage          Type ST Offset   Length
I (76) boot:  0 nvs              WiFi data        01 02 0000b000 00004000
I (83) boot:  1 phy_init         RF data          01 01 0000f000 00001000
I (90) boot:  2 factory          factory app      00 00 00010000 00100000
I (98) boot: End of partition table
I (102) boot_comm: chip revision: 1, min. application chip revision: 0
I (109) esp_image: segment 0: paddr=0x00010020 vaddr=0x3f400020 size=0x07fec ( 32748) map
I (130) esp_image: segment 1: paddr=0x00018014 vaddr=0x3ffb0000 size=0x01ec0 (  7872) load
I (133) esp_image: segment 2: paddr=0x00019edc vaddr=0x40080000 size=0x00400 (  1024) load
0x40080000: _WindowOverflow4 at /home/zsw/tmp/test/esp-idf/components/freertos/xtensa_vectors.S:1779

I (139) esp_image: segment 3: paddr=0x0001a2e4 vaddr=0x40080400 size=0x05d2c ( 23852) load
I (157) esp_image: segment 4: paddr=0x00020018 vaddr=0x400d0018 size=0x12d2c ( 77100) map
0x400d0018: _flash_cache_start at ??:?

I (185) esp_image: segment 5: paddr=0x00032d4c vaddr=0x4008612c size=0x023a8 (  9128) load
0x4008612c: prvGetNextExpireTime at /home/zsw/tmp/test/esp-idf/components/freertos/timers.c:327

I (189) esp_image: segment 6: paddr=0x000350fc vaddr=0x00000000 size=0x0ae84 ( 44676) 
I (207) esp_image: Verifying image signature...
I (614) boot: Loaded app from partition at offset 0x10000
I (614) secure_boot: bootloader secure boot is already enabled. No need to generate digest. continuing..
I (619) boot: Checking secure boot...
I (623) secure_boot: bootloader secure boot is already enabled, continuing..
I (631) boot: Disabling RNG early entropy source...
I (636) cpu_start: Pro cpu up.
I (640) cpu_start: Application information:
I (645) cpu_start: Project name:     hello-world
I (650) cpu_start: App version:      v3.3.2-323-gbf0220609-dirty
I (657) cpu_start: Compile time:     Apr  6 2021 18:30:34
I (663) cpu_start: ELF file SHA256:  b666fefcd82bd045...
I (669) cpu_start: ESP-IDF:          v3.3.2-323-gbf0220609-dirty
I (676) cpu_start: Starting app cpu, entry point is 0x40080f30
0x40080f30: call_start_cpu1 at /home/zsw/tmp/test/esp-idf/components/esp32/cpu_start.c:268

I (659) cpu_start: App cpu up.
I (686) heap_init: Initializing. RAM available for dynamic allocation:
I (693) heap_init: At 3FFAE6E0 len 00001920 (6 KiB): DRAM
I (699) heap_init: At 3FFB2EF0 len 0002D110 (180 KiB): DRAM
I (705) heap_init: At 3FFE0440 len 00003AE0 (14 KiB): D/IRAM
I (712) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM
I (718) heap_init: At 400884D4 len 00017B2C (94 KiB): IRAM
I (724) cpu_start: Pro cpu start user code
I (71) cpu_start: Starting scheduler on PRO CPU.
I (0) cpu_start: Starting scheduler on APP CPU.
Hello world!
This is ESP32 chip with 2 CPU cores, WiFi/BT/BLE, silicon revision 1, 4MB external flash
Restarting in 10 seconds...
Restarting in 9 seconds...
Restarting in 8 seconds...
Restarting in 7 seconds...
Restarting in 6 seconds...
Restarting in 5 seconds...
Restarting in 4 seconds...
Restarting in 3 seconds...
Restarting in 2 seconds...
Restarting in 1 seconds...
Restarting in 0 seconds...
Restarting now.

二、release/V3.3 - 7c8602753 :

注:bootloader 已经提前在release/V3.3 - bf022060 烧入完成

1.配置

#
# Automatically generated file; DO NOT EDIT.
# Espressif IoT Development Framework Configuration
#
CONFIG_IDF_TARGET="esp32"
CONFIG_IDF_FIRMWARE_CHIP_ID=0x0000

#
# SDK tool configuration
#
CONFIG_TOOLPREFIX="xtensa-esp32-elf-"
CONFIG_PYTHON="python"
CONFIG_MAKE_WARN_UNDEFINED_VARIABLES=y

#
# Application manager
#
CONFIG_APP_COMPILE_TIME_DATE=y
CONFIG_APP_EXCLUDE_PROJECT_VER_VAR=
CONFIG_APP_EXCLUDE_PROJECT_NAME_VAR=
CONFIG_APP_RETRIEVE_LEN_ELF_SHA=16

#
# Bootloader config
#
CONFIG_LOG_BOOTLOADER_LEVEL_NONE=
CONFIG_LOG_BOOTLOADER_LEVEL_ERROR=
CONFIG_LOG_BOOTLOADER_LEVEL_WARN=
CONFIG_LOG_BOOTLOADER_LEVEL_INFO=y
CONFIG_LOG_BOOTLOADER_LEVEL_DEBUG=
CONFIG_LOG_BOOTLOADER_LEVEL_VERBOSE=
CONFIG_LOG_BOOTLOADER_LEVEL=3
CONFIG_BOOTLOADER_VDDSDIO_BOOST_1_8V=
CONFIG_BOOTLOADER_VDDSDIO_BOOST_1_9V=y
CONFIG_BOOTLOADER_FACTORY_RESET=
CONFIG_BOOTLOADER_APP_TEST=
CONFIG_BOOTLOADER_WDT_ENABLE=y
CONFIG_BOOTLOADER_WDT_DISABLE_IN_USER_CODE=
CONFIG_BOOTLOADER_WDT_TIME_MS=9000
CONFIG_APP_ROLLBACK_ENABLE=

#
# Security features
#
CONFIG_SECURE_SIGNED_ON_BOOT=y
CONFIG_SECURE_SIGNED_ON_UPDATE=y
CONFIG_SECURE_SIGNED_APPS=y
CONFIG_SECURE_BOOT_ENABLED=y
CONFIG_SECURE_BOOTLOADER_ONE_TIME_FLASH=y
CONFIG_SECURE_BOOTLOADER_REFLASHABLE=
CONFIG_SECURE_BOOT_BUILD_SIGNED_BINARIES=y
CONFIG_SECURE_BOOT_SIGNING_KEY="secure_boot_signing_key.pem"
CONFIG_SECURE_BOOT_INSECURE=
CONFIG_FLASH_ENCRYPTION_ENABLED=

#
# Serial flasher config
#
CONFIG_ESPTOOLPY_PORT="/dev/ttyUSB0"
CONFIG_ESPTOOLPY_BAUD_115200B=
CONFIG_ESPTOOLPY_BAUD_230400B=
CONFIG_ESPTOOLPY_BAUD_921600B=y
CONFIG_ESPTOOLPY_BAUD_2MB=
CONFIG_ESPTOOLPY_BAUD_OTHER=
CONFIG_ESPTOOLPY_BAUD_OTHER_VAL=115200
CONFIG_ESPTOOLPY_BAUD=921600
CONFIG_ESPTOOLPY_COMPRESSED=y
CONFIG_FLASHMODE_QIO=
CONFIG_FLASHMODE_QOUT=
CONFIG_FLASHMODE_DIO=y
CONFIG_FLASHMODE_DOUT=
CONFIG_ESPTOOLPY_FLASHMODE="dio"
CONFIG_ESPTOOLPY_FLASHFREQ_80M=
CONFIG_ESPTOOLPY_FLASHFREQ_40M=y
CONFIG_ESPTOOLPY_FLASHFREQ_26M=
CONFIG_ESPTOOLPY_FLASHFREQ_20M=
CONFIG_ESPTOOLPY_FLASHFREQ="40m"
CONFIG_ESPTOOLPY_FLASHSIZE_1MB=
CONFIG_ESPTOOLPY_FLASHSIZE_2MB=y
CONFIG_ESPTOOLPY_FLASHSIZE_4MB=
CONFIG_ESPTOOLPY_FLASHSIZE_8MB=
CONFIG_ESPTOOLPY_FLASHSIZE_16MB=
CONFIG_ESPTOOLPY_FLASHSIZE="2MB"
CONFIG_ESPTOOLPY_FLASHSIZE_DETECT=y
CONFIG_ESPTOOLPY_BEFORE_RESET=y
CONFIG_ESPTOOLPY_BEFORE_NORESET=
CONFIG_ESPTOOLPY_BEFORE="default_reset"
CONFIG_ESPTOOLPY_AFTER_RESET=y
CONFIG_ESPTOOLPY_AFTER_NORESET=
CONFIG_ESPTOOLPY_AFTER="hard_reset"
CONFIG_MONITOR_BAUD_9600B=
CONFIG_MONITOR_BAUD_57600B=
CONFIG_MONITOR_BAUD_115200B=y
CONFIG_MONITOR_BAUD_230400B=
CONFIG_MONITOR_BAUD_921600B=
CONFIG_MONITOR_BAUD_2MB=
CONFIG_MONITOR_BAUD_OTHER=
CONFIG_MONITOR_BAUD_OTHER_VAL=115200
CONFIG_MONITOR_BAUD=115200

#
# Partition Table
#
CONFIG_PARTITION_TABLE_SINGLE_APP=
CONFIG_PARTITION_TABLE_TWO_OTA=
CONFIG_PARTITION_TABLE_CUSTOM=y
CONFIG_PARTITION_TABLE_CUSTOM_FILENAME="partitions.csv"
CONFIG_PARTITION_TABLE_FILENAME="partitions.csv"
CONFIG_PARTITION_TABLE_OFFSET=0xa000
CONFIG_PARTITION_TABLE_MD5=y

#
# Compiler options
#
CONFIG_OPTIMIZATION_LEVEL_DEBUG=y
CONFIG_OPTIMIZATION_LEVEL_RELEASE=
CONFIG_OPTIMIZATION_ASSERTIONS_ENABLED=y
CONFIG_OPTIMIZATION_ASSERTIONS_SILENT=
CONFIG_OPTIMIZATION_ASSERTIONS_DISABLED=
CONFIG_CXX_EXCEPTIONS=
CONFIG_STACK_CHECK_NONE=y
CONFIG_STACK_CHECK_NORM=
CONFIG_STACK_CHECK_STRONG=
CONFIG_STACK_CHECK_ALL=
CONFIG_STACK_CHECK=
CONFIG_WARN_WRITE_STRINGS=
CONFIG_DISABLE_GCC8_WARNINGS=

#
# Component config
#

#
# Application Level Tracing
#
CONFIG_ESP32_APPTRACE_DEST_TRAX=
CONFIG_ESP32_APPTRACE_DEST_NONE=y
CONFIG_ESP32_APPTRACE_ENABLE=
CONFIG_ESP32_APPTRACE_LOCK_ENABLE=y
CONFIG_AWS_IOT_SDK=

#
# Bluetooth
#
CONFIG_BT_ENABLED=
CONFIG_BTDM_CTRL_BR_EDR_SCO_DATA_PATH_EFF=0
CONFIG_BTDM_CTRL_AUTO_LATENCY_EFF=
CONFIG_BTDM_CTRL_LEGACY_AUTH_VENDOR_EVT_EFF=
CONFIG_BTDM_CONTROLLER_BLE_MAX_CONN_EFF=0
CONFIG_BTDM_CONTROLLER_BR_EDR_MAX_ACL_CONN_EFF=0
CONFIG_BTDM_CONTROLLER_BR_EDR_MAX_SYNC_CONN_EFF=0
CONFIG_BTDM_CONTROLLER_PINNED_TO_CORE=0
CONFIG_BT_RESERVE_DRAM=0
CONFIG_BLE_MESH=

#
# Driver configurations
#

#
# ADC configuration
#
CONFIG_ADC_FORCE_XPD_FSM=
CONFIG_ADC2_DISABLE_DAC=y

#
# SPI configuration
#
CONFIG_SPI_MASTER_IN_IRAM=
CONFIG_SPI_MASTER_ISR_IN_IRAM=y
CONFIG_SPI_SLAVE_IN_IRAM=
CONFIG_SPI_SLAVE_ISR_IN_IRAM=y

#
# CAN Configuration
#
CONFIG_CAN_ISR_IN_IRAM=

#
# eFuse Bit Manager
#
CONFIG_EFUSE_CUSTOM_TABLE=
CONFIG_EFUSE_VIRTUAL=
CONFIG_EFUSE_CODE_SCHEME_COMPAT_NONE=
CONFIG_EFUSE_CODE_SCHEME_COMPAT_3_4=y
CONFIG_EFUSE_CODE_SCHEME_COMPAT_REPEAT=
CONFIG_EFUSE_MAX_BLK_LEN=192

#
# ESP32-specific
#
CONFIG_IDF_TARGET_ESP32=y
CONFIG_ESP32_REV_MIN_0=y
CONFIG_ESP32_REV_MIN_1=
CONFIG_ESP32_REV_MIN_2=
CONFIG_ESP32_REV_MIN_3=
CONFIG_ESP32_REV_MIN=0
CONFIG_ESP32_DPORT_WORKAROUND=y
CONFIG_ESP32_DEFAULT_CPU_FREQ_80=
CONFIG_ESP32_DEFAULT_CPU_FREQ_160=y
CONFIG_ESP32_DEFAULT_CPU_FREQ_240=
CONFIG_ESP32_DEFAULT_CPU_FREQ_MHZ=160
CONFIG_SPIRAM_SUPPORT=
CONFIG_MEMMAP_TRACEMEM=
CONFIG_MEMMAP_TRACEMEM_TWOBANKS=
CONFIG_ESP32_TRAX=
CONFIG_TRACEMEM_RESERVE_DRAM=0x0
CONFIG_TWO_UNIVERSAL_MAC_ADDRESS=
CONFIG_FOUR_UNIVERSAL_MAC_ADDRESS=y
CONFIG_NUMBER_OF_UNIVERSAL_MAC_ADDRESS=4
CONFIG_SYSTEM_EVENT_QUEUE_SIZE=32
CONFIG_SYSTEM_EVENT_TASK_STACK_SIZE=2304
CONFIG_MAIN_TASK_STACK_SIZE=3584
CONFIG_IPC_TASK_STACK_SIZE=1024
CONFIG_TIMER_TASK_STACK_SIZE=3584
CONFIG_NEWLIB_STDOUT_LINE_ENDING_CRLF=y
CONFIG_NEWLIB_STDOUT_LINE_ENDING_LF=
CONFIG_NEWLIB_STDOUT_LINE_ENDING_CR=
CONFIG_NEWLIB_STDIN_LINE_ENDING_CRLF=
CONFIG_NEWLIB_STDIN_LINE_ENDING_LF=
CONFIG_NEWLIB_STDIN_LINE_ENDING_CR=y
CONFIG_NEWLIB_NANO_FORMAT=
CONFIG_CONSOLE_UART_DEFAULT=y
CONFIG_CONSOLE_UART_CUSTOM=
CONFIG_CONSOLE_UART_NONE=
CONFIG_CONSOLE_UART_NUM=0
CONFIG_CONSOLE_UART_BAUDRATE=115200
CONFIG_ULP_COPROC_ENABLED=
CONFIG_ULP_COPROC_RESERVE_MEM=0
CONFIG_ESP32_PANIC_PRINT_HALT=
CONFIG_ESP32_PANIC_PRINT_REBOOT=y
CONFIG_ESP32_PANIC_SILENT_REBOOT=
CONFIG_ESP32_PANIC_GDBSTUB=
CONFIG_ESP32_DEBUG_OCDAWARE=y
CONFIG_ESP32_DEBUG_STUBS_ENABLE=y
CONFIG_INT_WDT=y
CONFIG_INT_WDT_TIMEOUT_MS=300
CONFIG_INT_WDT_CHECK_CPU1=y
CONFIG_TASK_WDT=y
CONFIG_TASK_WDT_PANIC=
CONFIG_TASK_WDT_TIMEOUT_S=5
CONFIG_TASK_WDT_CHECK_IDLE_TASK_CPU0=y
CONFIG_TASK_WDT_CHECK_IDLE_TASK_CPU1=y
CONFIG_BROWNOUT_DET=y
CONFIG_BROWNOUT_DET_LVL_SEL_0=y
CONFIG_BROWNOUT_DET_LVL_SEL_1=
CONFIG_BROWNOUT_DET_LVL_SEL_2=
CONFIG_BROWNOUT_DET_LVL_SEL_3=
CONFIG_BROWNOUT_DET_LVL_SEL_4=
CONFIG_BROWNOUT_DET_LVL_SEL_5=
CONFIG_BROWNOUT_DET_LVL_SEL_6=
CONFIG_BROWNOUT_DET_LVL_SEL_7=
CONFIG_BROWNOUT_DET_LVL=0
CONFIG_REDUCE_PHY_TX_POWER=y
CONFIG_ESP32_TIME_SYSCALL_USE_RTC_FRC1=y
CONFIG_ESP32_TIME_SYSCALL_USE_RTC=
CONFIG_ESP32_TIME_SYSCALL_USE_FRC1=
CONFIG_ESP32_TIME_SYSCALL_USE_NONE=
CONFIG_ESP32_RTC_CLOCK_SOURCE_INTERNAL_RC=y
CONFIG_ESP32_RTC_CLOCK_SOURCE_EXTERNAL_CRYSTAL=
CONFIG_ESP32_RTC_CLOCK_SOURCE_EXTERNAL_OSC=
CONFIG_ESP32_RTC_CLOCK_SOURCE_INTERNAL_8MD256=
CONFIG_ESP32_RTC_CLK_CAL_CYCLES=1024
CONFIG_ESP32_DEEP_SLEEP_WAKEUP_DELAY=2000
CONFIG_ESP32_XTAL_FREQ_40=y
CONFIG_ESP32_XTAL_FREQ_26=
CONFIG_ESP32_XTAL_FREQ_AUTO=
CONFIG_ESP32_XTAL_FREQ=40
CONFIG_DISABLE_BASIC_ROM_CONSOLE=
CONFIG_NO_BLOBS=
CONFIG_ESP_TIMER_PROFILING=
CONFIG_COMPATIBLE_PRE_V2_1_BOOTLOADERS=
CONFIG_ESP_ERR_TO_NAME_LOOKUP=y
CONFIG_ESP32_DPORT_DIS_INTERRUPT_LVL=5

#
# Wi-Fi
#
CONFIG_ESP32_WIFI_STATIC_RX_BUFFER_NUM=10
CONFIG_ESP32_WIFI_DYNAMIC_RX_BUFFER_NUM=32
CONFIG_ESP32_WIFI_STATIC_TX_BUFFER=
CONFIG_ESP32_WIFI_DYNAMIC_TX_BUFFER=y
CONFIG_ESP32_WIFI_TX_BUFFER_TYPE=1
CONFIG_ESP32_WIFI_DYNAMIC_TX_BUFFER_NUM=32
CONFIG_ESP32_WIFI_CSI_ENABLED=
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=y
CONFIG_ESP32_WIFI_TASK_PINNED_TO_CORE_0=y
CONFIG_ESP32_WIFI_TASK_PINNED_TO_CORE_1=
CONFIG_ESP32_WIFI_SOFTAP_BEACON_MAX_LEN=752
CONFIG_ESP32_WIFI_MGMT_SBUF_NUM=32
CONFIG_ESP32_WIFI_DEBUG_LOG_ENABLE=
CONFIG_ESP32_WIFI_IRAM_OPT=y
CONFIG_ESP32_WIFI_RX_IRAM_OPT=y

#
# PHY
#
CONFIG_ESP32_PHY_CALIBRATION_AND_DATA_STORAGE=y
CONFIG_ESP32_PHY_INIT_DATA_IN_PARTITION=
CONFIG_ESP32_PHY_MAX_WIFI_TX_POWER=20
CONFIG_ESP32_PHY_MAX_TX_POWER=20

#
# Power Management
#
CONFIG_PM_ENABLE=

#
# ADC-Calibration
#
CONFIG_ADC_CAL_EFUSE_TP_ENABLE=y
CONFIG_ADC_CAL_EFUSE_VREF_ENABLE=y
CONFIG_ADC_CAL_LUT_ENABLE=y

#
# Event Loop Library
#
CONFIG_EVENT_LOOP_PROFILING=

#
# ESP HTTP client
#
CONFIG_ESP_HTTP_CLIENT_ENABLE_HTTPS=y
CONFIG_ESP_HTTP_CLIENT_ENABLE_BASIC_AUTH=

#
# HTTP Server
#
CONFIG_HTTPD_MAX_REQ_HDR_LEN=512
CONFIG_HTTPD_MAX_URI_LEN=512
CONFIG_HTTPD_ERR_RESP_NO_DELAY=y
CONFIG_HTTPD_PURGE_BUF_LEN=32
CONFIG_HTTPD_LOG_PURGE_DATA=

#
# ESP HTTPS OTA
#
CONFIG_OTA_ALLOW_HTTP=

#
# Core dump
#
CONFIG_ESP32_ENABLE_COREDUMP_TO_FLASH=
CONFIG_ESP32_ENABLE_COREDUMP_TO_UART=
CONFIG_ESP32_ENABLE_COREDUMP_TO_NONE=y
CONFIG_ESP32_ENABLE_COREDUMP=

#
# Ethernet
#
CONFIG_DMA_RX_BUF_NUM=10
CONFIG_DMA_TX_BUF_NUM=10
CONFIG_EMAC_L2_TO_L3_RX_BUF_MODE=y
CONFIG_EMAC_CHECK_LINK_PERIOD_MS=2000
CONFIG_EMAC_TASK_PRIORITY=20
CONFIG_EMAC_TASK_STACK_SIZE=3072

#
# FAT Filesystem support
#
CONFIG_FATFS_CODEPAGE_DYNAMIC=
CONFIG_FATFS_CODEPAGE_437=y
CONFIG_FATFS_CODEPAGE_720=
CONFIG_FATFS_CODEPAGE_737=
CONFIG_FATFS_CODEPAGE_771=
CONFIG_FATFS_CODEPAGE_775=
CONFIG_FATFS_CODEPAGE_850=
CONFIG_FATFS_CODEPAGE_852=
CONFIG_FATFS_CODEPAGE_855=
CONFIG_FATFS_CODEPAGE_857=
CONFIG_FATFS_CODEPAGE_860=
CONFIG_FATFS_CODEPAGE_861=
CONFIG_FATFS_CODEPAGE_862=
CONFIG_FATFS_CODEPAGE_863=
CONFIG_FATFS_CODEPAGE_864=
CONFIG_FATFS_CODEPAGE_865=
CONFIG_FATFS_CODEPAGE_866=
CONFIG_FATFS_CODEPAGE_869=
CONFIG_FATFS_CODEPAGE_932=
CONFIG_FATFS_CODEPAGE_936=
CONFIG_FATFS_CODEPAGE_949=
CONFIG_FATFS_CODEPAGE_950=
CONFIG_FATFS_CODEPAGE=437
CONFIG_FATFS_LFN_NONE=y
CONFIG_FATFS_LFN_HEAP=
CONFIG_FATFS_LFN_STACK=
CONFIG_FATFS_FS_LOCK=0
CONFIG_FATFS_TIMEOUT_MS=10000
CONFIG_FATFS_PER_FILE_CACHE=y

#
# Modbus configuration
#
CONFIG_MB_QUEUE_LENGTH=20
CONFIG_MB_SERIAL_TASK_STACK_SIZE=2048
CONFIG_MB_SERIAL_BUF_SIZE=256
CONFIG_MB_SERIAL_TASK_PRIO=10
CONFIG_MB_CONTROLLER_SLAVE_ID_SUPPORT=
CONFIG_MB_CONTROLLER_NOTIFY_TIMEOUT=20
CONFIG_MB_CONTROLLER_NOTIFY_QUEUE_SIZE=20
CONFIG_MB_CONTROLLER_STACK_SIZE=4096
CONFIG_MB_EVENT_QUEUE_TIMEOUT=20
CONFIG_MB_TIMER_PORT_ENABLED=y
CONFIG_MB_TIMER_GROUP=0
CONFIG_MB_TIMER_INDEX=0

#
# FreeRTOS
#
CONFIG_FREERTOS_UNICORE=
CONFIG_FREERTOS_NO_AFFINITY=0x7FFFFFFF
CONFIG_FREERTOS_CORETIMER_0=y
CONFIG_FREERTOS_CORETIMER_1=
CONFIG_FREERTOS_HZ=100
CONFIG_FREERTOS_ASSERT_ON_UNTESTED_FUNCTION=y
CONFIG_FREERTOS_CHECK_STACKOVERFLOW_NONE=
CONFIG_FREERTOS_CHECK_STACKOVERFLOW_PTRVAL=
CONFIG_FREERTOS_CHECK_STACKOVERFLOW_CANARY=y
CONFIG_FREERTOS_WATCHPOINT_END_OF_STACK=
CONFIG_FREERTOS_INTERRUPT_BACKTRACE=y
CONFIG_FREERTOS_THREAD_LOCAL_STORAGE_POINTERS=1
CONFIG_FREERTOS_ASSERT_FAIL_ABORT=y
CONFIG_FREERTOS_ASSERT_FAIL_PRINT_CONTINUE=
CONFIG_FREERTOS_ASSERT_DISABLE=
CONFIG_FREERTOS_IDLE_TASK_STACKSIZE=1536
CONFIG_FREERTOS_ISR_STACKSIZE=1536
CONFIG_FREERTOS_LEGACY_HOOKS=
CONFIG_FREERTOS_MAX_TASK_NAME_LEN=16
CONFIG_SUPPORT_STATIC_ALLOCATION=
CONFIG_TIMER_TASK_PRIORITY=1
CONFIG_TIMER_TASK_STACK_DEPTH=2048
CONFIG_TIMER_QUEUE_LENGTH=10
CONFIG_FREERTOS_QUEUE_REGISTRY_SIZE=0
CONFIG_FREERTOS_USE_TRACE_FACILITY=
CONFIG_FREERTOS_GENERATE_RUN_TIME_STATS=
CONFIG_FREERTOS_DEBUG_INTERNALS=
CONFIG_FREERTOS_TASK_FUNCTION_WRAPPER=y
CONFIG_FREERTOS_CHECK_MUTEX_GIVEN_BY_OWNER=y
CONFIG_FREERTOS_CHECK_PORT_CRITICAL_COMPLIANCE=

#
# Heap memory debugging
#
CONFIG_HEAP_POISONING_DISABLED=y
CONFIG_HEAP_POISONING_LIGHT=
CONFIG_HEAP_POISONING_COMPREHENSIVE=
CONFIG_HEAP_TRACING=

#
# libsodium
#
CONFIG_LIBSODIUM_USE_MBEDTLS_SHA=y

#
# Log output
#
CONFIG_LOG_DEFAULT_LEVEL_NONE=
CONFIG_LOG_DEFAULT_LEVEL_ERROR=
CONFIG_LOG_DEFAULT_LEVEL_WARN=
CONFIG_LOG_DEFAULT_LEVEL_INFO=y
CONFIG_LOG_DEFAULT_LEVEL_DEBUG=
CONFIG_LOG_DEFAULT_LEVEL_VERBOSE=
CONFIG_LOG_DEFAULT_LEVEL=3
CONFIG_LOG_COLORS=y

#
# LWIP
#
CONFIG_L2_TO_L3_COPY=
CONFIG_ETHARP_SUPPORT_VLAN=
CONFIG_LWIP_IRAM_OPTIMIZATION=
CONFIG_LWIP_MAX_SOCKETS=10
CONFIG_LWIP_RANDOMIZE_INITIAL_LOCAL_PORTS=y
CONFIG_USE_ONLY_LWIP_SELECT=
CONFIG_LWIP_SO_LINGER=
CONFIG_LWIP_SO_REUSE=y
CONFIG_LWIP_SO_REUSE_RXTOALL=y
CONFIG_LWIP_SO_RCVBUF=
CONFIG_LWIP_IP4_FRAG=y
CONFIG_LWIP_IP6_FRAG=y
CONFIG_LWIP_IP4_REASSEMBLY=
CONFIG_LWIP_IP6_REASSEMBLY=
CONFIG_LWIP_STATS=
CONFIG_LWIP_ETHARP_TRUST_IP_MAC=
CONFIG_ESP_GRATUITOUS_ARP=y
CONFIG_GARP_TMR_INTERVAL=60
CONFIG_TCPIP_RECVMBOX_SIZE=32
CONFIG_LWIP_DHCP_DOES_ARP_CHECK=y
CONFIG_LWIP_DHCP_RESTORE_LAST_IP=

#
# DHCP server
#
CONFIG_LWIP_DHCPS_LEASE_UNIT=60
CONFIG_LWIP_DHCPS_MAX_STATION_NUM=8
CONFIG_LWIP_AUTOIP=
CONFIG_LWIP_IPV6_AUTOCONFIG=
CONFIG_LWIP_NETIF_LOOPBACK=y
CONFIG_LWIP_LOOPBACK_MAX_PBUFS=8

#
# TCP
#
CONFIG_LWIP_TCP_ISN_HOOK=y
CONFIG_LWIP_MAX_ACTIVE_TCP=16
CONFIG_LWIP_MAX_LISTENING_TCP=16
CONFIG_LWIP_TCP_HIGH_SPEED_RETRANSMISSION=y
CONFIG_TCP_MAXRTX=12
CONFIG_TCP_SYNMAXRTX=12
CONFIG_TCP_MSS=1440
CONFIG_TCP_MSL=60000
CONFIG_TCP_SND_BUF_DEFAULT=5744
CONFIG_TCP_WND_DEFAULT=5744
CONFIG_TCP_RECVMBOX_SIZE=6
CONFIG_TCP_QUEUE_OOSEQ=y
CONFIG_ESP_TCP_KEEP_CONNECTION_WHEN_IP_CHANGES=
CONFIG_TCP_OVERSIZE_MSS=y
CONFIG_TCP_OVERSIZE_QUARTER_MSS=
CONFIG_TCP_OVERSIZE_DISABLE=
CONFIG_LWIP_TCP_RTO_TIME=1500

#
# UDP
#
CONFIG_LWIP_MAX_UDP_PCBS=16
CONFIG_UDP_RECVMBOX_SIZE=6
CONFIG_TCPIP_TASK_STACK_SIZE=3072
CONFIG_TCPIP_TASK_AFFINITY_NO_AFFINITY=y
CONFIG_TCPIP_TASK_AFFINITY_CPU0=
CONFIG_TCPIP_TASK_AFFINITY_CPU1=
CONFIG_TCPIP_TASK_AFFINITY=0x7FFFFFFF
CONFIG_LWIP_IPV6_MEMP_NUM_ND6_QUEUE=3
CONFIG_LWIP_IPV6_ND6_NUM_NEIGHBORS=5
CONFIG_PPP_SUPPORT=

#
# ICMP
#
CONFIG_LWIP_MULTICAST_PING=
CONFIG_LWIP_BROADCAST_PING=

#
# LWIP RAW API
#
CONFIG_LWIP_MAX_RAW_PCBS=16

#
# SNTP
#
CONFIG_LWIP_DHCP_MAX_NTP_SERVERS=1
CONFIG_LWIP_SNTP_UPDATE_DELAY=3600000
CONFIG_LWIP_ESP_LWIP_ASSERT=y

#
# mbedTLS
#
CONFIG_MBEDTLS_INTERNAL_MEM_ALLOC=y
CONFIG_MBEDTLS_DEFAULT_MEM_ALLOC=
CONFIG_MBEDTLS_CUSTOM_MEM_ALLOC=
CONFIG_MBEDTLS_SSL_MAX_CONTENT_LEN=16384
CONFIG_MBEDTLS_ASYMMETRIC_CONTENT_LEN=
CONFIG_MBEDTLS_DEBUG=
CONFIG_MBEDTLS_ECP_RESTARTABLE=
CONFIG_MBEDTLS_CMAC_C=
CONFIG_MBEDTLS_HARDWARE_AES=y
CONFIG_MBEDTLS_HARDWARE_MPI=
CONFIG_MBEDTLS_HARDWARE_SHA=
CONFIG_MBEDTLS_HAVE_TIME=y
CONFIG_MBEDTLS_HAVE_TIME_DATE=
CONFIG_MBEDTLS_TLS_SERVER_AND_CLIENT=y
CONFIG_MBEDTLS_TLS_SERVER_ONLY=
CONFIG_MBEDTLS_TLS_CLIENT_ONLY=
CONFIG_MBEDTLS_TLS_DISABLED=
CONFIG_MBEDTLS_TLS_SERVER=y
CONFIG_MBEDTLS_TLS_CLIENT=y
CONFIG_MBEDTLS_TLS_ENABLED=y

#
# TLS Key Exchange Methods
#
CONFIG_MBEDTLS_PSK_MODES=
CONFIG_MBEDTLS_KEY_EXCHANGE_RSA=y
CONFIG_MBEDTLS_KEY_EXCHANGE_DHE_RSA=y
CONFIG_MBEDTLS_KEY_EXCHANGE_ELLIPTIC_CURVE=y
CONFIG_MBEDTLS_KEY_EXCHANGE_ECDHE_RSA=y
CONFIG_MBEDTLS_KEY_EXCHANGE_ECDHE_ECDSA=y
CONFIG_MBEDTLS_KEY_EXCHANGE_ECDH_ECDSA=y
CONFIG_MBEDTLS_KEY_EXCHANGE_ECDH_RSA=y
CONFIG_MBEDTLS_SSL_RENEGOTIATION=y
CONFIG_MBEDTLS_SSL_PROTO_SSL3=
CONFIG_MBEDTLS_SSL_PROTO_TLS1=y
CONFIG_MBEDTLS_SSL_PROTO_TLS1_1=y
CONFIG_MBEDTLS_SSL_PROTO_TLS1_2=y
CONFIG_MBEDTLS_SSL_PROTO_DTLS=
CONFIG_MBEDTLS_SSL_ALPN=y
CONFIG_MBEDTLS_SSL_SESSION_TICKETS=y

#
# Symmetric Ciphers
#
CONFIG_MBEDTLS_AES_C=y
CONFIG_MBEDTLS_CAMELLIA_C=
CONFIG_MBEDTLS_DES_C=
CONFIG_MBEDTLS_RC4_DISABLED=y
CONFIG_MBEDTLS_RC4_ENABLED_NO_DEFAULT=
CONFIG_MBEDTLS_RC4_ENABLED=
CONFIG_MBEDTLS_BLOWFISH_C=
CONFIG_MBEDTLS_XTEA_C=
CONFIG_MBEDTLS_CCM_C=y
CONFIG_MBEDTLS_GCM_C=y
CONFIG_MBEDTLS_RIPEMD160_C=

#
# Certificates
#
CONFIG_MBEDTLS_PEM_PARSE_C=y
CONFIG_MBEDTLS_PEM_WRITE_C=y
CONFIG_MBEDTLS_X509_CRL_PARSE_C=y
CONFIG_MBEDTLS_X509_CSR_PARSE_C=y
CONFIG_MBEDTLS_ECP_C=y
CONFIG_MBEDTLS_ECDH_C=y
CONFIG_MBEDTLS_ECDSA_C=y
CONFIG_MBEDTLS_ECP_DP_SECP192R1_ENABLED=y
CONFIG_MBEDTLS_ECP_DP_SECP224R1_ENABLED=y
CONFIG_MBEDTLS_ECP_DP_SECP256R1_ENABLED=y
CONFIG_MBEDTLS_ECP_DP_SECP384R1_ENABLED=y
CONFIG_MBEDTLS_ECP_DP_SECP521R1_ENABLED=y
CONFIG_MBEDTLS_ECP_DP_SECP192K1_ENABLED=y
CONFIG_MBEDTLS_ECP_DP_SECP224K1_ENABLED=y
CONFIG_MBEDTLS_ECP_DP_SECP256K1_ENABLED=y
CONFIG_MBEDTLS_ECP_DP_BP256R1_ENABLED=y
CONFIG_MBEDTLS_ECP_DP_BP384R1_ENABLED=y
CONFIG_MBEDTLS_ECP_DP_BP512R1_ENABLED=y
CONFIG_MBEDTLS_ECP_DP_CURVE25519_ENABLED=y
CONFIG_MBEDTLS_ECP_NIST_OPTIM=y

#
# mDNS
#
CONFIG_MDNS_MAX_SERVICES=10

#
# ESP-MQTT Configurations
#
CONFIG_MQTT_PROTOCOL_311=y
CONFIG_MQTT_TRANSPORT_SSL=y
CONFIG_MQTT_TRANSPORT_WEBSOCKET=y
CONFIG_MQTT_TRANSPORT_WEBSOCKET_SECURE=y
CONFIG_MQTT_USE_CUSTOM_CONFIG=
CONFIG_MQTT_TASK_CORE_SELECTION_ENABLED=
CONFIG_MQTT_CUSTOM_OUTBOX=

#
# NVS
#

#
# OpenSSL
#
CONFIG_OPENSSL_DEBUG=
CONFIG_OPENSSL_ASSERT_DO_NOTHING=y
CONFIG_OPENSSL_ASSERT_EXIT=

#
# PThreads
#
CONFIG_ESP32_PTHREAD_TASK_PRIO_DEFAULT=5
CONFIG_ESP32_PTHREAD_TASK_STACK_SIZE_DEFAULT=3072
CONFIG_PTHREAD_STACK_MIN=768
CONFIG_ESP32_DEFAULT_PTHREAD_CORE_NO_AFFINITY=y
CONFIG_ESP32_DEFAULT_PTHREAD_CORE_0=
CONFIG_ESP32_DEFAULT_PTHREAD_CORE_1=
CONFIG_ESP32_PTHREAD_TASK_CORE_DEFAULT=-1
CONFIG_ESP32_PTHREAD_TASK_NAME_DEFAULT="pthread"

#
# SPI Flash driver
#
CONFIG_SPI_FLASH_VERIFY_WRITE=
CONFIG_SPI_FLASH_ENABLE_COUNTERS=
CONFIG_SPI_FLASH_ROM_DRIVER_PATCH=y
CONFIG_SPI_FLASH_WRITING_DANGEROUS_REGIONS_ABORTS=y
CONFIG_SPI_FLASH_WRITING_DANGEROUS_REGIONS_FAILS=
CONFIG_SPI_FLASH_WRITING_DANGEROUS_REGIONS_ALLOWED=
CONFIG_SPI_FLASH_YIELD_DURING_ERASE=y
CONFIG_SPI_FLASH_ERASE_YIELD_DURATION_MS=20
CONFIG_SPI_FLASH_ERASE_YIELD_TICKS=1

#
# SPIFFS Configuration
#
CONFIG_SPIFFS_MAX_PARTITIONS=3

#
# SPIFFS Cache Configuration
#
CONFIG_SPIFFS_CACHE=y
CONFIG_SPIFFS_CACHE_WR=y
CONFIG_SPIFFS_CACHE_STATS=
CONFIG_SPIFFS_PAGE_CHECK=y
CONFIG_SPIFFS_GC_MAX_RUNS=10
CONFIG_SPIFFS_GC_STATS=
CONFIG_SPIFFS_PAGE_SIZE=256
CONFIG_SPIFFS_OBJ_NAME_LEN=32
CONFIG_SPIFFS_USE_MAGIC=y
CONFIG_SPIFFS_USE_MAGIC_LENGTH=y
CONFIG_SPIFFS_META_LENGTH=4
CONFIG_SPIFFS_USE_MTIME=y

#
# Debug Configuration
#
CONFIG_SPIFFS_DBG=
CONFIG_SPIFFS_API_DBG=
CONFIG_SPIFFS_GC_DBG=
CONFIG_SPIFFS_CACHE_DBG=
CONFIG_SPIFFS_CHECK_DBG=
CONFIG_SPIFFS_TEST_VISUALISATION=

#
# TCP/IP Adapter
#
CONFIG_IP_LOST_TIMER_INTERVAL=120
CONFIG_TCPIP_LWIP=y

#
# Unity unit testing library
#
CONFIG_UNITY_ENABLE_FLOAT=y
CONFIG_UNITY_ENABLE_DOUBLE=y
CONFIG_UNITY_ENABLE_COLOR=
CONFIG_UNITY_ENABLE_IDF_TEST_RUNNER=y
CONFIG_UNITY_ENABLE_FIXTURE=

#
# Virtual file system
#
CONFIG_SUPPRESS_SELECT_DEBUG_OUTPUT=y
CONFIG_SUPPORT_TERMIOS=y

#
# Wear Levelling
#
CONFIG_WL_SECTOR_SIZE_512=
CONFIG_WL_SECTOR_SIZE_4096=y
CONFIG_WL_SECTOR_SIZE=4096

#
# Wi-Fi Provisioning Manager
#
CONFIG_WIFI_PROV_SCAN_MAX_ENTRIES=16

#
# Supplicant
#
CONFIG_WPA_WPS_WARS=
CONFIG_WPA_DEBUG_PRINT=

2.编译

zsw@mylinux:~/tmp/esp-idf/examples/get-started/hello_world$ make app
Toolchain path: /home/zsw/.espressif/tools/xtensa-esp32-elf/1.22.0-97-gc752ad5-5.2.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc
Toolchain version: crosstool-ng-1.22.0-97-gc752ad5
Compiler version: 5.2.0
GENCONFIG
App "hello-world" version: v3.3.5-14-g7c8602753-dirty
CC build/app_trace/app_trace.o
CC build/app_trace/app_trace_util.o
CC build/app_trace/host_file_io.o
CC build/app_trace/gcov/gcov_rtio.o
AR build/app_trace/libapp_trace.a
App "hello-world" version: v3.3.5-14-g7c8602753-dirty
CC build/app_update/esp_app_desc.o
CC build/app_update/esp_ota_ops.o
AR build/app_update/libapp_update.a
CXX build/asio/asio/asio/src/asio.o
AR build/asio/libasio.a
CC build/bootloader_support/src/bootloader_clock.o
CC build/bootloader_support/src/bootloader_common.o
CC build/bootloader_support/src/bootloader_flash.o
CC build/bootloader_support/src/bootloader_flash_config.o
CC build/bootloader_support/src/bootloader_random.o
CC build/bootloader_support/src/bootloader_sha.o
CC build/bootloader_support/src/bootloader_utility.o
CC build/bootloader_support/src/esp_image_format.o
CC build/bootloader_support/src/flash_encrypt.o
CC build/bootloader_support/src/flash_partitions.o
CC build/bootloader_support/src/flash_qio_mode.o
CC build/bootloader_support/src/secure_boot.o
CC build/bootloader_support/src/secure_boot_signatures.o
espsecure.py v2.9-dev
/home/zsw/tmp/esp-idf/examples/get-started/hello_world/secure_boot_signing_key.pem public key extracted to /home/zsw/tmp/esp-idf/examples/get-started/hello_world/build/bootloader_support/signature_verification_key.bin
EMBED build/bootloader_support/signature_verification_key.bin.bin.o
AR build/bootloader_support/libbootloader_support.a
CC build/bt/bt.o
AR build/bt/libbt.a
CC build/coap/libcoap/src/address.o
CC build/coap/libcoap/src/async.o
CC build/coap/libcoap/src/block.o
CC build/coap/libcoap/src/coap_time.o
CC build/coap/libcoap/src/debug.o
CC build/coap/libcoap/src/encode.o
CC build/coap/libcoap/src/mem.o
CC build/coap/libcoap/src/net.o
CC build/coap/libcoap/src/option.o
CC build/coap/libcoap/src/pdu.o
CC build/coap/libcoap/src/resource.o
CC build/coap/libcoap/src/str.o
CC build/coap/libcoap/src/subscribe.o
CC build/coap/libcoap/src/uri.o
CC build/coap/port/coap_io_socket.o
AR build/coap/libcoap.a
CC build/console/commands.o
AR build/console/libconsole.a
CXX build/cxx/cxx_exception_stubs.o
CXX build/cxx/cxx_guards.o
AR build/cxx/libcxx.a
CC build/driver/can.o
CC build/driver/gpio.o
CC build/driver/i2c.o
CC build/driver/i2s.o
CC build/driver/ledc.o
CC build/driver/mcpwm.o
CC build/driver/pcnt.o
CC build/driver/periph_ctrl.o
CC build/driver/rmt.o
CC build/driver/rtc_module.o
CC build/driver/sdio_slave.o
CC build/driver/sdmmc_host.o
CC build/driver/sdmmc_transaction.o
CC build/driver/sdspi_host.o
CC build/driver/sdspi_transaction.o
CC build/driver/sigmadelta.o
CC build/driver/spi_common.o
CC build/driver/spi_master.o
CC build/driver/spi_slave.o
CC build/driver/timer.o
CC build/driver/uart.o
AR build/driver/libdriver.a
CC build/efuse/esp32/esp_efuse_table.o
CC build/efuse/src/esp_efuse_api.o
CC build/efuse/src/esp_efuse_fields.o
CC build/efuse/src/esp_efuse_utility.o
AR build/efuse/libefuse.a
CC build/esp-tls/esp_tls.o
AR build/esp-tls/libesp-tls.a
CC build/esp32/brownout.o
CC build/esp32/cache_err_int.o
CC build/esp32/cache_sram_mmu.o
CC build/esp32/clk.o
CC build/esp32/coexist.o
CC build/esp32/cpu_start.o
CC build/esp32/crosscore_int.o
CC build/esp32/dbg_stubs.o
CC build/esp32/dport_access.o
CC build/esp32/esp_adapter.o
CC build/esp32/esp_err_to_name.o
CC build/esp32/esp_himem.o
CC build/esp32/esp_timer.o
CC build/esp32/esp_timer_esp32.o
CC build/esp32/ets_timer_legacy.o
CC build/esp32/event_default_handlers.o
CC build/esp32/event_loop.o
CC build/esp32/fast_crypto_ops.o
CC build/esp32/freertos_hooks.o
CC build/esp32/gdbstub.o
CC build/esp32/hw_random.o
CC build/esp32/intr_alloc.o
CC build/esp32/int_wdt.o
CC build/esp32/ipc.o
CC build/esp32/lib_printf.o
CC build/esp32/panic.o
CC build/esp32/phy_init.o
CC build/esp32/pm_esp32.o
CC build/esp32/pm_locks.o
CC build/esp32/pm_trace.o
CC build/esp32/reset_reason.o
CC build/esp32/restore.o
CC build/esp32/sleep_modes.o
CC build/esp32/spiram.o
CC build/esp32/spiram_psram.o
CC build/esp32/stack_check.o
CC build/esp32/system_api.o
CC build/esp32/task_wdt.o
CC build/esp32/wifi_init.o
CC build/esp32/hwcrypto/aes.o
CC build/esp32/hwcrypto/sha.o
AS build/esp32/dport_panic_highint_hdl.o
AR build/esp32/libesp32.a
CC build/esp_adc_cal/esp_adc_cal.o
AR build/esp_adc_cal/libesp_adc_cal.a
CC build/esp_event/default_event_loop.o
CC build/esp_event/esp_event.o
CC build/esp_event/esp_event_private.o
AR build/esp_event/libesp_event.a
CC build/esp_http_client/esp_http_client.o
CC build/esp_http_client/lib/http_auth.o
CC build/esp_http_client/lib/http_header.o
CC build/esp_http_client/lib/http_utils.o
AR build/esp_http_client/libesp_http_client.a
CC build/esp_http_server/src/httpd_main.o
CC build/esp_http_server/src/httpd_parse.o
CC build/esp_http_server/src/httpd_sess.o
CC build/esp_http_server/src/httpd_txrx.o
CC build/esp_http_server/src/httpd_uri.o
CC build/esp_http_server/src/util/ctrl_sock.o
AR build/esp_http_server/libesp_http_server.a
CC build/esp_https_ota/src/esp_https_ota.o
AR build/esp_https_ota/libesp_https_ota.a
CC build/esp_https_server/src/https_server.o
AR build/esp_https_server/libesp_https_server.a
CC build/esp_ringbuf/ringbuf.o
AR build/esp_ringbuf/libesp_ringbuf.a
CC build/esp_websocket_client/esp_websocket_client.o
AR build/esp_websocket_client/libesp_websocket_client.a
CC build/espcoredump/src/core_dump_common.o
CC build/espcoredump/src/core_dump_flash.o
CC build/espcoredump/src/core_dump_port.o
CC build/espcoredump/src/core_dump_uart.o
AR build/espcoredump/libespcoredump.a
CC build/ethernet/emac_dev.o
CC build/ethernet/emac_main.o
CC build/ethernet/eth_phy/phy_common.o
CC build/ethernet/eth_phy/phy_ip101.o
CC build/ethernet/eth_phy/phy_lan8720.o
CC build/ethernet/eth_phy/phy_tlk110.o
AR build/ethernet/libethernet.a
CC build/expat/expat/expat/lib/xmlparse.o
AR build/expat/libexpat.a
CC build/fatfs/src/diskio.o
CC build/fatfs/src/diskio_rawflash.o
CC build/fatfs/src/diskio_sdmmc.o
CC build/fatfs/src/diskio_wl.o
CC build/fatfs/src/ff.o
CC build/fatfs/src/ffsystem.o
CC build/fatfs/src/ffunicode.o
CC build/fatfs/src/vfs_fat.o
CC build/fatfs/src/vfs_fat_sdmmc.o
CC build/fatfs/src/vfs_fat_spiflash.o
AR build/fatfs/libfatfs.a
CC build/freemodbus/modbus/mb.o
CC build/freemodbus/port/portevent.o
CC build/freemodbus/port/portother.o
CC build/freemodbus/port/portserial.o
CC build/freemodbus/port/porttimer.o
CC build/freemodbus/modbus/ascii/mbascii.o
CC build/freemodbus/modbus/functions/mbfunccoils.o
CC build/freemodbus/modbus/functions/mbfuncdisc.o
CC build/freemodbus/modbus/functions/mbfuncholding.o
CC build/freemodbus/modbus/functions/mbfuncinput.o
CC build/freemodbus/modbus/functions/mbfuncother.o
CC build/freemodbus/modbus/functions/mbutils.o
CC build/freemodbus/modbus/rtu/mbcrc.o
CC build/freemodbus/modbus/rtu/mbrtu.o
CC build/freemodbus/modbus_controller/mbcontroller.o
AR build/freemodbus/libfreemodbus.a
CC build/freertos/croutine.o
CC build/freertos/event_groups.o
CC build/freertos/FreeRTOS-openocd.o
CC build/freertos/list.o
CC build/freertos/port.o
CC build/freertos/queue.o
CC build/freertos/tasks.o
CC build/freertos/timers.o
CC build/freertos/xtensa_init.o
CC build/freertos/xtensa_intr.o
CC build/freertos/xtensa_overlay_os_hook.o
AS build/freertos/portasm.o
AS build/freertos/xtensa_context.o
AS build/freertos/xtensa_intr_asm.o
AS build/freertos/xtensa_vector_defaults.o
AS build/freertos/xtensa_vectors.o
AR build/freertos/libfreertos.a
CC build/heap/heap_caps_init.o
CC build/heap/heap_caps.o
CC build/heap/multi_heap.o
CC build/heap/heap_trace.o
AR build/heap/libheap.a
CC build/libsodium/port/randombytes_esp32.o
CC build/libsodium/libsodium/src/libsodium/crypto_generichash/blake2b/ref/blake2b-ref.o
CC build/libsodium/libsodium/src/libsodium/crypto_generichash/blake2b/ref/generichash_blake2b.o
CC build/libsodium/libsodium/src/libsodium/crypto_secretbox/crypto_secretbox_easy.o
CC build/libsodium/libsodium/src/libsodium/randombytes/randombytes.o
CC build/libsodium/libsodium/src/libsodium/sodium/utils.o
CC build/libsodium/port/crypto_hash_mbedtls/crypto_hash_sha256_mbedtls.o
CC build/libsodium/port/crypto_hash_mbedtls/crypto_hash_sha512_mbedtls.o
AR build/libsodium/liblibsodium.a
CC build/log/log.o
AR build/log/liblog.a
CC build/lwip/apps/dhcpserver/dhcpserver.o
CC build/lwip/apps/ping/esp_ping.o
CC build/lwip/apps/ping/ping.o
CC build/lwip/apps/sntp/sntp.o
CC build/lwip/lwip/src/api/api_lib.o
CC build/lwip/lwip/src/api/api_msg.o
CC build/lwip/lwip/src/api/err.o
CC build/lwip/lwip/src/api/netbuf.o
CC build/lwip/lwip/src/api/netdb.o
CC build/lwip/lwip/src/api/netifapi.o
CC build/lwip/lwip/src/api/sockets.o
CC build/lwip/lwip/src/api/tcpip.o
CC build/lwip/lwip/src/apps/sntp/sntp.o
CC build/lwip/lwip/src/core/def.o
CC build/lwip/lwip/src/core/dns.o
CC build/lwip/lwip/src/core/inet_chksum.o
CC build/lwip/lwip/src/core/init.o
CC build/lwip/lwip/src/core/ip.o
CC build/lwip/lwip/src/core/mem.o
CC build/lwip/lwip/src/core/memp.o
CC build/lwip/lwip/src/core/netif.o
CC build/lwip/lwip/src/core/pbuf.o
CC build/lwip/lwip/src/core/raw.o
CC build/lwip/lwip/src/core/stats.o
CC build/lwip/lwip/src/core/sys.o
CC build/lwip/lwip/src/core/tcp.o
CC build/lwip/lwip/src/core/tcp_in.o
CC build/lwip/lwip/src/core/tcp_out.o
CC build/lwip/lwip/src/core/timeouts.o
CC build/lwip/lwip/src/core/udp.o
CC build/lwip/lwip/src/core/ipv4/autoip.o
CC build/lwip/lwip/src/core/ipv4/dhcp.o
CC build/lwip/lwip/src/core/ipv4/etharp.o
CC build/lwip/lwip/src/core/ipv4/icmp.o
CC build/lwip/lwip/src/core/ipv4/igmp.o
CC build/lwip/lwip/src/core/ipv4/ip4_addr.o
CC build/lwip/lwip/src/core/ipv4/ip4.o
CC build/lwip/lwip/src/core/ipv4/ip4_frag.o
CC build/lwip/lwip/src/core/ipv6/dhcp6.o
CC build/lwip/lwip/src/core/ipv6/ethip6.o
CC build/lwip/lwip/src/core/ipv6/icmp6.o
CC build/lwip/lwip/src/core/ipv6/inet6.o
CC build/lwip/lwip/src/core/ipv6/ip6_addr.o
CC build/lwip/lwip/src/core/ipv6/ip6.o
CC build/lwip/lwip/src/core/ipv6/ip6_frag.o
CC build/lwip/lwip/src/core/ipv6/mld6.o
CC build/lwip/lwip/src/core/ipv6/nd6.o
CC build/lwip/lwip/src/netif/ethernet.o
CC build/lwip/lwip/src/netif/ethernetif.o
CC build/lwip/lwip/src/netif/lowpan6.o
CC build/lwip/lwip/src/netif/slipif.o
CC build/lwip/port/esp32/vfs_lwip.o
CC build/lwip/port/esp32/freertos/sys_arch.o
CC build/lwip/port/esp32/netif/dhcp_state.o
CC build/lwip/port/esp32/netif/ethernetif.o
CC build/lwip/port/esp32/netif/wlanif.o
CC build/lwip/port/esp32/debug/lwip_debug.o
CC build/lwip/port/esp32/tcp_isn/tcp_isn.o
AR build/lwip/liblwip.a
CC build/main/hello_world_main.o
AR build/main/libmain.a
CC build/mbedtls/mbedtls/library/aes.o
CC build/mbedtls/mbedtls/library/aesni.o
CC build/mbedtls/mbedtls/library/arc4.o
CC build/mbedtls/mbedtls/library/aria.o
CC build/mbedtls/mbedtls/library/asn1parse.o
CC build/mbedtls/mbedtls/library/asn1write.o
CC build/mbedtls/mbedtls/library/base64.o
CC build/mbedtls/mbedtls/library/bignum.o
CC build/mbedtls/mbedtls/library/blowfish.o
CC build/mbedtls/mbedtls/library/camellia.o
CC build/mbedtls/mbedtls/library/ccm.o
CC build/mbedtls/mbedtls/library/certs.o
CC build/mbedtls/mbedtls/library/chacha20.o
CC build/mbedtls/mbedtls/library/chachapoly.o
CC build/mbedtls/mbedtls/library/cipher.o
CC build/mbedtls/mbedtls/library/cipher_wrap.o
CC build/mbedtls/mbedtls/library/cmac.o
CC build/mbedtls/mbedtls/library/ctr_drbg.o
CC build/mbedtls/mbedtls/library/debug.o
CC build/mbedtls/mbedtls/library/des.o
CC build/mbedtls/mbedtls/library/dhm.o
CC build/mbedtls/mbedtls/library/ecdh.o
CC build/mbedtls/mbedtls/library/ecdsa.o
CC build/mbedtls/mbedtls/library/ecjpake.o
CC build/mbedtls/mbedtls/library/ecp.o
CC build/mbedtls/mbedtls/library/ecp_curves.o
CC build/mbedtls/mbedtls/library/entropy.o
CC build/mbedtls/mbedtls/library/entropy_poll.o
CC build/mbedtls/mbedtls/library/error.o
CC build/mbedtls/mbedtls/library/gcm.o
CC build/mbedtls/mbedtls/library/havege.o
CC build/mbedtls/mbedtls/library/hkdf.o
CC build/mbedtls/mbedtls/library/hmac_drbg.o
CC build/mbedtls/mbedtls/library/md2.o
CC build/mbedtls/mbedtls/library/md4.o
CC build/mbedtls/mbedtls/library/md5.o
CC build/mbedtls/mbedtls/library/md.o
CC build/mbedtls/mbedtls/library/md_wrap.o
CC build/mbedtls/mbedtls/library/memory_buffer_alloc.o
CC build/mbedtls/mbedtls/library/nist_kw.o
CC build/mbedtls/mbedtls/library/oid.o
CC build/mbedtls/mbedtls/library/padlock.o
CC build/mbedtls/mbedtls/library/pem.o
CC build/mbedtls/mbedtls/library/pk.o
CC build/mbedtls/mbedtls/library/pkcs11.o
CC build/mbedtls/mbedtls/library/pkcs12.o
CC build/mbedtls/mbedtls/library/pkcs5.o
CC build/mbedtls/mbedtls/library/pkparse.o
CC build/mbedtls/mbedtls/library/pk_wrap.o
CC build/mbedtls/mbedtls/library/pkwrite.o
CC build/mbedtls/mbedtls/library/platform.o
CC build/mbedtls/mbedtls/library/platform_util.o
CC build/mbedtls/mbedtls/library/poly1305.o
CC build/mbedtls/mbedtls/library/ripemd160.o
CC build/mbedtls/mbedtls/library/rsa.o
CC build/mbedtls/mbedtls/library/rsa_internal.o
CC build/mbedtls/mbedtls/library/sha1.o
CC build/mbedtls/mbedtls/library/sha256.o
CC build/mbedtls/mbedtls/library/sha512.o
CC build/mbedtls/mbedtls/library/ssl_cache.o
CC build/mbedtls/mbedtls/library/ssl_ciphersuites.o
CC build/mbedtls/mbedtls/library/ssl_cli.o
CC build/mbedtls/mbedtls/library/ssl_cookie.o
CC build/mbedtls/mbedtls/library/ssl_srv.o
CC build/mbedtls/mbedtls/library/ssl_ticket.o
CC build/mbedtls/mbedtls/library/ssl_tls.o
CC build/mbedtls/mbedtls/library/threading.o
CC build/mbedtls/mbedtls/library/timing.o
CC build/mbedtls/mbedtls/library/version.o
CC build/mbedtls/mbedtls/library/version_features.o
CC build/mbedtls/mbedtls/library/x509.o
CC build/mbedtls/mbedtls/library/x509_create.o
CC build/mbedtls/mbedtls/library/x509_crl.o
CC build/mbedtls/mbedtls/library/x509_crt.o
CC build/mbedtls/mbedtls/library/x509_csr.o
CC build/mbedtls/mbedtls/library/x509write_crt.o
CC build/mbedtls/mbedtls/library/x509write_csr.o
CC build/mbedtls/mbedtls/library/xtea.o
CC build/mbedtls/port/esp_bignum.o
CC build/mbedtls/port/esp_hardware.o
CC build/mbedtls/port/esp_mem.o
CC build/mbedtls/port/esp_sha1.o
CC build/mbedtls/port/esp_sha256.o
CC build/mbedtls/port/esp_sha512.o
CC build/mbedtls/port/mbedtls_debug.o
CC build/mbedtls/port/net_sockets.o
AR build/mbedtls/libmbedtls.a
CC build/mdns/mdns.o
CC build/mdns/mdns_console.o
CC build/mdns/mdns_networking.o
AR build/mdns/libmdns.a
CC build/mqtt/esp-mqtt/mqtt_client.o
CC build/mqtt/esp-mqtt/lib/mqtt_msg.o
CC build/mqtt/esp-mqtt/lib/mqtt_outbox.o
CC build/mqtt/esp-mqtt/lib/platform_esp32_idf.o
AR build/mqtt/libmqtt.a
CC build/newlib/locks.o
CC build/newlib/poll.o
CC build/newlib/pthread.o
CC build/newlib/random.o
CC build/newlib/reent_init.o
CC build/newlib/select.o
CC build/newlib/syscalls.o
CC build/newlib/syscall_table.o
CC build/newlib/termios.o
CC build/newlib/time.o
CC build/newlib/utime.o
AR build/newlib/libnewlib.a
CC build/nghttp/nghttp2/lib/nghttp2_frame.o
CC build/nghttp/nghttp2/lib/nghttp2_hd.o
CC build/nghttp/nghttp2/lib/nghttp2_hd_huffman.o
CC build/nghttp/nghttp2/lib/nghttp2_helper.o
CC build/nghttp/nghttp2/lib/nghttp2_http.o
CC build/nghttp/nghttp2/lib/nghttp2_outbound_item.o
CC build/nghttp/nghttp2/lib/nghttp2_pq.o
CC build/nghttp/nghttp2/lib/nghttp2_queue.o
CC build/nghttp/nghttp2/lib/nghttp2_rcbuf.o
CC build/nghttp/nghttp2/lib/nghttp2_session.o
CC build/nghttp/nghttp2/lib/nghttp2_stream.o
CC build/nghttp/nghttp2/lib/nghttp2_submit.o
CC build/nghttp/port/http_parser.o
AR build/nghttp/libnghttp.a
CXX build/nvs_flash/src/nvs_api.o
CXX build/nvs_flash/src/nvs_encr.o
CXX build/nvs_flash/src/nvs_item_hash_list.o
CXX build/nvs_flash/src/nvs_ops.o
CXX build/nvs_flash/src/nvs_page.o
CXX build/nvs_flash/src/nvs_storage.o
AR build/nvs_flash/libnvs_flash.a
CC build/openssl/library/ssl_cert.o
CC build/openssl/library/ssl_lib.o
CC build/openssl/library/ssl_methods.o
CC build/openssl/library/ssl_pkey.o
CC build/openssl/library/ssl_stack.o
CC build/openssl/library/ssl_x509.o
CC build/openssl/platform/ssl_pm.o
CC build/openssl/platform/ssl_port.o
AR build/openssl/libopenssl.a
CC build/protobuf-c/protobuf-c/protobuf-c/protobuf-c.o
AR build/protobuf-c/libprotobuf-c.a
CC build/protocomm/src/common/protocomm.o
CC build/protocomm/src/security/security0.o
CC build/protocomm/src/security/security1.o
CC build/protocomm/proto-c/constants.pb-c.o
CC build/protocomm/proto-c/sec0.pb-c.o
CC build/protocomm/proto-c/sec1.pb-c.o
CC build/protocomm/proto-c/session.pb-c.o
CC build/protocomm/src/transports/protocomm_console.o
CC build/protocomm/src/transports/protocomm_httpd.o
AR build/protocomm/libprotocomm.a
CC build/pthread/pthread.o
CC build/pthread/pthread_cond_var.o
CC build/pthread/pthread_local_storage.o
AR build/pthread/libpthread.a
CC build/sdmmc/sdmmc_cmd.o
CC build/sdmmc/sdmmc_common.o
CC build/sdmmc/sdmmc_init.o
CC build/sdmmc/sdmmc_io.o
CC build/sdmmc/sdmmc_mmc.o
CC build/sdmmc/sdmmc_sd.o
AR build/sdmmc/libsdmmc.a
CC build/smartconfig_ack/smartconfig_ack.o
AR build/smartconfig_ack/libsmartconfig_ack.a
CC build/soc/esp32/cpu_util.o
CC build/soc/esp32/gpio_periph.o
CC build/soc/esp32/rtc_clk.o
CC build/soc/esp32/rtc_clk_init.o
CC build/soc/esp32/rtc_init.o
CC build/soc/esp32/rtc_periph.o
CC build/soc/esp32/rtc_pm.o
CC build/soc/esp32/rtc_sleep.o
CC build/soc/esp32/rtc_time.o
CC build/soc/esp32/rtc_wdt.o
CC build/soc/esp32/sdio_slave_periph.o
CC build/soc/esp32/sdmmc_periph.o
CC build/soc/esp32/soc_memory_layout.o
CC build/soc/esp32/spi_periph.o
CC build/soc/src//memory_layout_utils.o
AR build/soc/libsoc.a
CC build/spi_flash/cache_utils.o
CC build/spi_flash/flash_mmap.o
CC build/spi_flash/flash_ops.o
CC build/spi_flash/partition.o
CC build/spi_flash/spi_flash_rom_patch.o
AR build/spi_flash/libspi_flash.a
CC build/spiffs/esp_spiffs.o
CC build/spiffs/spiffs_api.o
CC build/spiffs/spiffs/src/spiffs_cache.o
CC build/spiffs/spiffs/src/spiffs_check.o
CC build/spiffs/spiffs/src/spiffs_gc.o
CC build/spiffs/spiffs/src/spiffs_hydrogen.o
CC build/spiffs/spiffs/src/spiffs_nucleus.o
AR build/spiffs/libspiffs.a
CC build/tcp_transport/transport.o
CC build/tcp_transport/transport_ssl.o
CC build/tcp_transport/transport_tcp.o
CC build/tcp_transport/transport_utils.o
CC build/tcp_transport/transport_ws.o
AR build/tcp_transport/libtcp_transport.a
CC build/tcpip_adapter/tcpip_adapter_lwip.o
AR build/tcpip_adapter/libtcpip_adapter.a
CC build/ulp/ulp.o
CC build/ulp/ulp_macro.o
AR build/ulp/libulp.a
CC build/unity/unity/src/unity.o
CC build/unity/unity_port_esp32.o
CC build/unity/unity_runner.o
AR build/unity/libunity.a
CC build/vfs/vfs.o
CC build/vfs/vfs_uart.o
AR build/vfs/libvfs.a
CXX build/wear_levelling/Partition.o
CXX build/wear_levelling/SPI_Flash.o
CXX build/wear_levelling/wear_levelling.o
CXX build/wear_levelling/WL_Ext_Perf.o
CXX build/wear_levelling/WL_Ext_Safe.o
CXX build/wear_levelling/WL_Flash.o
AR build/wear_levelling/libwear_levelling.a
CC build/wifi_provisioning/src/handlers.o
CC build/wifi_provisioning/src/manager.o
CC build/wifi_provisioning/src/scheme_console.o
CC build/wifi_provisioning/src/scheme_softap.o
CC build/wifi_provisioning/src/wifi_config.o
CC build/wifi_provisioning/src/wifi_scan.o
CC build/wifi_provisioning/proto-c/wifi_config.pb-c.o
CC build/wifi_provisioning/proto-c/wifi_constants.pb-c.o
CC build/wifi_provisioning/proto-c/wifi_scan.pb-c.o
AR build/wifi_provisioning/libwifi_provisioning.a
CC build/wpa_supplicant/src/crypto/aes-cbc.o
CC build/wpa_supplicant/src/crypto/aes-internal.o
CC build/wpa_supplicant/src/crypto/aes-internal-dec.o
CC build/wpa_supplicant/src/crypto/aes-internal-enc.o
CC build/wpa_supplicant/src/crypto/aes-unwrap.o
CC build/wpa_supplicant/src/crypto/aes-wrap.o
CC build/wpa_supplicant/src/crypto/bignum.o
CC build/wpa_supplicant/src/crypto/crypto_internal.o
CC build/wpa_supplicant/src/crypto/crypto_internal-cipher.o
CC build/wpa_supplicant/src/crypto/crypto_internal-modexp.o
CC build/wpa_supplicant/src/crypto/crypto_internal-rsa.o
CC build/wpa_supplicant/src/crypto/crypto_mbedtls.o
CC build/wpa_supplicant/src/crypto/des-internal.o
CC build/wpa_supplicant/src/crypto/dh_group5.o
CC build/wpa_supplicant/src/crypto/dh_groups.o
CC build/wpa_supplicant/src/crypto/md4-internal.o
CC build/wpa_supplicant/src/crypto/md5.o
CC build/wpa_supplicant/src/crypto/md5-internal.o
CC build/wpa_supplicant/src/crypto/ms_funcs.o
CC build/wpa_supplicant/src/crypto/rc4.o
CC build/wpa_supplicant/src/crypto/sha1.o
CC build/wpa_supplicant/src/crypto/sha1-internal.o
CC build/wpa_supplicant/src/crypto/sha1-pbkdf2.o
CC build/wpa_supplicant/src/crypto/sha256.o
CC build/wpa_supplicant/src/crypto/sha256-internal.o
CC build/wpa_supplicant/port/os_xtensa.o
CC build/wpa_supplicant/src/fast_crypto/fast_aes-cbc.o
CC build/wpa_supplicant/src/fast_crypto/fast_aes-unwrap.o
CC build/wpa_supplicant/src/fast_crypto/fast_aes-wrap.o
CC build/wpa_supplicant/src/fast_crypto/fast_crypto_internal.o
CC build/wpa_supplicant/src/fast_crypto/fast_crypto_internal-cipher.o
CC build/wpa_supplicant/src/fast_crypto/fast_crypto_internal-modexp.o
CC build/wpa_supplicant/src/fast_crypto/fast_sha256.o
CC build/wpa_supplicant/src/fast_crypto/fast_sha256-internal.o
CC build/wpa_supplicant/src/wpa2/eap_peer/eap.o
CC build/wpa_supplicant/src/wpa2/eap_peer/eap_common.o
CC build/wpa_supplicant/src/wpa2/eap_peer/eap_mschapv2.o
CC build/wpa_supplicant/src/wpa2/eap_peer/eap_peap.o
CC build/wpa_supplicant/src/wpa2/eap_peer/eap_peap_common.o
CC build/wpa_supplicant/src/wpa2/eap_peer/eap_tls.o
CC build/wpa_supplicant/src/wpa2/eap_peer/eap_tls_common.o
CC build/wpa_supplicant/src/wpa2/eap_peer/eap_ttls.o
CC build/wpa_supplicant/src/wpa2/eap_peer/mschapv2.o
CC build/wpa_supplicant/src/wpa2/tls/asn1.o
CC build/wpa_supplicant/src/wpa2/tls/bignum.o
CC build/wpa_supplicant/src/wpa2/tls/pkcs1.o
CC build/wpa_supplicant/src/wpa2/tls/pkcs5.o
CC build/wpa_supplicant/src/wpa2/tls/pkcs8.o
CC build/wpa_supplicant/src/wpa2/tls/rsa.o
CC build/wpa_supplicant/src/wpa2/tls/tls_internal.o
CC build/wpa_supplicant/src/wpa2/tls/tlsv1_client.o
CC build/wpa_supplicant/src/wpa2/tls/tlsv1_client_read.o
CC build/wpa_supplicant/src/wpa2/tls/tlsv1_client_write.o
CC build/wpa_supplicant/src/wpa2/tls/tlsv1_common.o
CC build/wpa_supplicant/src/wpa2/tls/tlsv1_cred.o
CC build/wpa_supplicant/src/wpa2/tls/tlsv1_record.o
CC build/wpa_supplicant/src/wpa2/tls/tlsv1_server.o
CC build/wpa_supplicant/src/wpa2/tls/tlsv1_server_read.o
CC build/wpa_supplicant/src/wpa2/tls/tlsv1_server_write.o
CC build/wpa_supplicant/src/wpa2/tls/x509v3.o
CC build/wpa_supplicant/src/wpa2/utils/base64.o
CC build/wpa_supplicant/src/wpa2/utils/ext_password.o
CC build/wpa_supplicant/src/wps/eap_common.o
CC build/wpa_supplicant/src/wps/uuid.o
CC build/wpa_supplicant/src/wps/wps_attr_build.o
CC build/wpa_supplicant/src/wps/wps_attr_parse.o
CC build/wpa_supplicant/src/wps/wps_attr_process.o
CC build/wpa_supplicant/src/wps/wps.o
CC build/wpa_supplicant/src/wps/wps_common.o
CC build/wpa_supplicant/src/wps/wps_dev_attr.o
CC build/wpa_supplicant/src/wps/wps_enrollee.o
CC build/wpa_supplicant/src/wps/wps_registrar.o
CC build/wpa_supplicant/src/wps/wps_validate.o
AR build/wpa_supplicant/libwpa_supplicant.a
CC build/xtensa-debug-module/trax.o
AR build/xtensa-debug-module/libxtensa-debug-module.a
Generating libapp_trace.a.sections_info
Generating libapp_update.a.sections_info
Generating libasio.a.sections_info
Generating libbootloader_support.a.sections_info
Generating libbt.a.sections_info
Generating libcoap.a.sections_info
Generating libconsole.a.sections_info
Generating libcxx.a.sections_info
Generating libdriver.a.sections_info
Generating libefuse.a.sections_info
Generating libesp-tls.a.sections_info
Generating libesp32.a.sections_info
Generating libesp_adc_cal.a.sections_info
Generating libesp_event.a.sections_info
Generating libesp_http_client.a.sections_info
Generating libesp_http_server.a.sections_info
Generating libesp_https_ota.a.sections_info
Generating libesp_https_server.a.sections_info
Generating libesp_ringbuf.a.sections_info
Generating libesp_websocket_client.a.sections_info
Generating libespcoredump.a.sections_info
Generating libethernet.a.sections_info
Generating libexpat.a.sections_info
Generating libfatfs.a.sections_info
Generating libfreemodbus.a.sections_info
Generating libfreertos.a.sections_info
Generating libheap.a.sections_info
Generating liblibsodium.a.sections_info
Generating liblog.a.sections_info
Generating liblwip.a.sections_info
Generating libmain.a.sections_info
Generating libmbedtls.a.sections_info
Generating libmdns.a.sections_info
Generating libmqtt.a.sections_info
Generating libnewlib.a.sections_info
Generating libnghttp.a.sections_info
Generating libnvs_flash.a.sections_info
Generating libopenssl.a.sections_info
Generating libprotobuf-c.a.sections_info
Generating libprotocomm.a.sections_info
Generating libpthread.a.sections_info
Generating libsdmmc.a.sections_info
Generating libsmartconfig_ack.a.sections_info
Generating libsoc.a.sections_info
Generating libspi_flash.a.sections_info
Generating libspiffs.a.sections_info
Generating libtcp_transport.a.sections_info
Generating libtcpip_adapter.a.sections_info
Generating libulp.a.sections_info
Generating libunity.a.sections_info
Generating libvfs.a.sections_info
Generating libwear_levelling.a.sections_info
Generating libwifi_provisioning.a.sections_info
Generating libwpa_supplicant.a.sections_info
Generating libxtensa-debug-module.a.sections_info
Generating esp32.project.ld
LD build/hello-world.elf
Python requirements from /home/zsw/tmp/esp-idf/requirements.txt are satisfied.
esptool.py v2.9-dev
usage: espsecure sign_data [-h] --version {1,2} --keyfile KEYFILE [KEYFILE ...] [--output OUTPUT] datafile
espsecure sign_data: error: the following arguments are required: --version/-v
make: *** [/home/zsw/tmp/esp-idf/components/esptool_py/Makefile.projbuild:60:/home/zsw/tmp/esp-idf/examples/get-started/hello_world/build/hello-world.bin] 错误 2

3.烧入

​ 无

4.启动验证

​ 无

三、master - 8bc19ba8 :

注:bootloader 已经提前在release/V3.3 - bf022060 烧入完成

1.配置

#
# Automatically generated file. DO NOT EDIT.
# Espressif IoT Development Framework (ESP-IDF) Project Configuration
#
CONFIG_IDF_TARGET="esp32"
CONFIG_IDF_TARGET_ESP32=y
CONFIG_IDF_FIRMWARE_CHIP_ID=0x0000

#
# SDK tool configuration
#
CONFIG_SDK_TOOLPREFIX="xtensa-esp32-elf-"
CONFIG_SDK_PYTHON="python"
CONFIG_SDK_MAKE_WARN_UNDEFINED_VARIABLES=y
# CONFIG_SDK_TOOLCHAIN_SUPPORTS_TIME_WIDE_64_BITS is not set
# end of SDK tool configuration

#
# Build type
#
CONFIG_APP_BUILD_TYPE_APP_2NDBOOT=y
# CONFIG_APP_BUILD_TYPE_ELF_RAM is not set
CONFIG_APP_BUILD_GENERATE_BINARIES=y
CONFIG_APP_BUILD_BOOTLOADER=y
CONFIG_APP_BUILD_USE_FLASH_SECTIONS=y
# end of Build type

#
# Application manager
#
CONFIG_APP_COMPILE_TIME_DATE=y
# CONFIG_APP_EXCLUDE_PROJECT_VER_VAR is not set
# CONFIG_APP_EXCLUDE_PROJECT_NAME_VAR is not set
# CONFIG_APP_PROJECT_VER_FROM_CONFIG is not set
CONFIG_APP_RETRIEVE_LEN_ELF_SHA=16
# end of Application manager

#
# Bootloader config
#
CONFIG_BOOTLOADER_OFFSET_IN_FLASH=0x1000
CONFIG_BOOTLOADER_COMPILER_OPTIMIZATION_SIZE=y
# CONFIG_BOOTLOADER_COMPILER_OPTIMIZATION_DEBUG is not set
# CONFIG_BOOTLOADER_COMPILER_OPTIMIZATION_PERF is not set
# CONFIG_BOOTLOADER_COMPILER_OPTIMIZATION_NONE is not set
# CONFIG_BOOTLOADER_LOG_LEVEL_NONE is not set
# CONFIG_BOOTLOADER_LOG_LEVEL_ERROR is not set
# CONFIG_BOOTLOADER_LOG_LEVEL_WARN is not set
CONFIG_BOOTLOADER_LOG_LEVEL_INFO=y
# CONFIG_BOOTLOADER_LOG_LEVEL_DEBUG is not set
# CONFIG_BOOTLOADER_LOG_LEVEL_VERBOSE is not set
CONFIG_BOOTLOADER_LOG_LEVEL=3
# CONFIG_BOOTLOADER_VDDSDIO_BOOST_1_8V is not set
CONFIG_BOOTLOADER_VDDSDIO_BOOST_1_9V=y
# CONFIG_BOOTLOADER_FACTORY_RESET is not set
# CONFIG_BOOTLOADER_APP_TEST is not set
CONFIG_BOOTLOADER_WDT_ENABLE=y
# CONFIG_BOOTLOADER_WDT_DISABLE_IN_USER_CODE is not set
CONFIG_BOOTLOADER_WDT_TIME_MS=9000
# CONFIG_BOOTLOADER_APP_ROLLBACK_ENABLE is not set
CONFIG_BOOTLOADER_RESERVE_RTC_SIZE=0
# CONFIG_BOOTLOADER_CUSTOM_RESERVE_RTC is not set
# end of Bootloader config

#
# Security features
#
CONFIG_SECURE_SIGNED_ON_BOOT=y
CONFIG_SECURE_SIGNED_ON_UPDATE=y
CONFIG_SECURE_SIGNED_APPS=y
CONFIG_SECURE_SIGNED_APPS_ECDSA_SCHEME=y
CONFIG_SECURE_BOOT=y
CONFIG_SECURE_BOOT_V1_ENABLED=y
CONFIG_SECURE_BOOTLOADER_ONE_TIME_FLASH=y
# CONFIG_SECURE_BOOTLOADER_REFLASHABLE is not set
CONFIG_SECURE_BOOT_BUILD_SIGNED_BINARIES=y
CONFIG_SECURE_BOOT_SIGNING_KEY="secure_boot_signing_key.pem"
# CONFIG_SECURE_BOOT_INSECURE is not set
# CONFIG_SECURE_FLASH_ENC_ENABLED is not set
# end of Security features

#
# Serial flasher config
#
CONFIG_ESPTOOLPY_PORT="/dev/ttyUSB0"
# CONFIG_ESPTOOLPY_BAUD_115200B is not set
# CONFIG_ESPTOOLPY_BAUD_230400B is not set
CONFIG_ESPTOOLPY_BAUD_921600B=y
# CONFIG_ESPTOOLPY_BAUD_2MB is not set
# CONFIG_ESPTOOLPY_BAUD_OTHER is not set
CONFIG_ESPTOOLPY_BAUD_OTHER_VAL=115200
CONFIG_ESPTOOLPY_BAUD=921600
CONFIG_ESPTOOLPY_COMPRESSED=y
CONFIG_ESPTOOLPY_WITH_STUB=y
# CONFIG_ESPTOOLPY_FLASHMODE_QIO is not set
# CONFIG_ESPTOOLPY_FLASHMODE_QOUT is not set
CONFIG_ESPTOOLPY_FLASHMODE_DIO=y
# CONFIG_ESPTOOLPY_FLASHMODE_DOUT is not set
CONFIG_ESPTOOLPY_FLASHMODE="dio"
# CONFIG_ESPTOOLPY_FLASHFREQ_80M is not set
CONFIG_ESPTOOLPY_FLASHFREQ_40M=y
# CONFIG_ESPTOOLPY_FLASHFREQ_26M is not set
# CONFIG_ESPTOOLPY_FLASHFREQ_20M is not set
CONFIG_ESPTOOLPY_FLASHFREQ="40m"
# CONFIG_ESPTOOLPY_FLASHSIZE_1MB is not set
CONFIG_ESPTOOLPY_FLASHSIZE_2MB=y
# CONFIG_ESPTOOLPY_FLASHSIZE_4MB is not set
# CONFIG_ESPTOOLPY_FLASHSIZE_8MB is not set
# CONFIG_ESPTOOLPY_FLASHSIZE_16MB is not set
CONFIG_ESPTOOLPY_FLASHSIZE="2MB"
CONFIG_ESPTOOLPY_FLASHSIZE_DETECT=y
CONFIG_ESPTOOLPY_BEFORE_RESET=y
# CONFIG_ESPTOOLPY_BEFORE_NORESET is not set
CONFIG_ESPTOOLPY_BEFORE="default_reset"
CONFIG_ESPTOOLPY_AFTER_RESET=y
# CONFIG_ESPTOOLPY_AFTER_NORESET is not set
CONFIG_ESPTOOLPY_AFTER="hard_reset"
# CONFIG_ESPTOOLPY_MONITOR_BAUD_CONSOLE is not set
# CONFIG_ESPTOOLPY_MONITOR_BAUD_9600B is not set
# CONFIG_ESPTOOLPY_MONITOR_BAUD_57600B is not set
CONFIG_ESPTOOLPY_MONITOR_BAUD_115200B=y
# CONFIG_ESPTOOLPY_MONITOR_BAUD_230400B is not set
# CONFIG_ESPTOOLPY_MONITOR_BAUD_921600B is not set
# CONFIG_ESPTOOLPY_MONITOR_BAUD_2MB is not set
# CONFIG_ESPTOOLPY_MONITOR_BAUD_OTHER is not set
CONFIG_ESPTOOLPY_MONITOR_BAUD_OTHER_VAL=115200
CONFIG_ESPTOOLPY_MONITOR_BAUD=115200
# end of Serial flasher config

#
# Partition Table
#
# CONFIG_PARTITION_TABLE_SINGLE_APP is not set
# CONFIG_PARTITION_TABLE_TWO_OTA is not set
CONFIG_PARTITION_TABLE_CUSTOM=y
CONFIG_PARTITION_TABLE_CUSTOM_FILENAME="partitions.csv"
CONFIG_PARTITION_TABLE_FILENAME="partitions.csv"
CONFIG_PARTITION_TABLE_OFFSET=0xa000
CONFIG_PARTITION_TABLE_MD5=y
# end of Partition Table

#
# Compiler options
#
CONFIG_COMPILER_OPTIMIZATION_DEFAULT=y
# CONFIG_COMPILER_OPTIMIZATION_SIZE is not set
# CONFIG_COMPILER_OPTIMIZATION_PERF is not set
# CONFIG_COMPILER_OPTIMIZATION_NONE is not set
CONFIG_COMPILER_OPTIMIZATION_ASSERTIONS_ENABLE=y
# CONFIG_COMPILER_OPTIMIZATION_ASSERTIONS_SILENT is not set
# CONFIG_COMPILER_OPTIMIZATION_ASSERTIONS_DISABLE is not set
# CONFIG_COMPILER_CXX_EXCEPTIONS is not set
# CONFIG_COMPILER_CXX_RTTI is not set
CONFIG_COMPILER_STACK_CHECK_MODE_NONE=y
# CONFIG_COMPILER_STACK_CHECK_MODE_NORM is not set
# CONFIG_COMPILER_STACK_CHECK_MODE_STRONG is not set
# CONFIG_COMPILER_STACK_CHECK_MODE_ALL is not set
# CONFIG_COMPILER_WARN_WRITE_STRINGS is not set
# CONFIG_COMPILER_DISABLE_GCC8_WARNINGS is not set
# CONFIG_COMPILER_DUMP_RTL_FILES is not set
# end of Compiler options

#
# Component config
#

#
# Application Level Tracing
#
# CONFIG_APPTRACE_DEST_TRAX is not set
CONFIG_APPTRACE_DEST_NONE=y
CONFIG_APPTRACE_LOCK_ENABLE=y
# end of Application Level Tracing

#
# ESP-ASIO
#
# CONFIG_ASIO_SSL_SUPPORT is not set
# end of ESP-ASIO

#
# Bluetooth
#
# CONFIG_BT_ENABLED is not set
CONFIG_BTDM_CTRL_BR_EDR_SCO_DATA_PATH_EFF=0
CONFIG_BTDM_CTRL_PCM_ROLE_EFF=0
CONFIG_BTDM_CTRL_PCM_POLAR_EFF=0
CONFIG_BTDM_CTRL_BLE_MAX_CONN_EFF=0
CONFIG_BTDM_CTRL_BR_EDR_MAX_ACL_CONN_EFF=0
CONFIG_BTDM_CTRL_BR_EDR_MAX_SYNC_CONN_EFF=0
CONFIG_BTDM_CTRL_PINNED_TO_CORE=0
CONFIG_BTDM_BLE_SLEEP_CLOCK_ACCURACY_INDEX_EFF=1
CONFIG_BT_RESERVE_DRAM=0
# end of Bluetooth

#
# CoAP Configuration
#
CONFIG_COAP_MBEDTLS_PSK=y
# CONFIG_COAP_MBEDTLS_PKI is not set
# CONFIG_COAP_MBEDTLS_DEBUG is not set
CONFIG_COAP_LOG_DEFAULT_LEVEL=0
# end of CoAP Configuration

#
# Driver configurations
#

#
# ADC configuration
#
# CONFIG_ADC_FORCE_XPD_FSM is not set
CONFIG_ADC_DISABLE_DAC=y
# end of ADC configuration

#
# SPI configuration
#
# CONFIG_SPI_MASTER_IN_IRAM is not set
CONFIG_SPI_MASTER_ISR_IN_IRAM=y
# CONFIG_SPI_SLAVE_IN_IRAM is not set
CONFIG_SPI_SLAVE_ISR_IN_IRAM=y
# end of SPI configuration

#
# UART configuration
#
# CONFIG_UART_ISR_IN_IRAM is not set
# end of UART configuration

#
# RTCIO configuration
#
# CONFIG_RTCIO_SUPPORT_RTC_GPIO_DESC is not set
# end of RTCIO configuration
# end of Driver configurations

#
# eFuse Bit Manager
#
# CONFIG_EFUSE_CUSTOM_TABLE is not set
# CONFIG_EFUSE_VIRTUAL is not set
# CONFIG_EFUSE_CODE_SCHEME_COMPAT_NONE is not set
CONFIG_EFUSE_CODE_SCHEME_COMPAT_3_4=y
# CONFIG_EFUSE_CODE_SCHEME_COMPAT_REPEAT is not set
CONFIG_EFUSE_MAX_BLK_LEN=192
# end of eFuse Bit Manager

#
# ESP-TLS
#
CONFIG_ESP_TLS_USING_MBEDTLS=y
# CONFIG_ESP_TLS_USE_SECURE_ELEMENT is not set
# CONFIG_ESP_TLS_SERVER is not set
# CONFIG_ESP_TLS_PSK_VERIFICATION is not set
# end of ESP-TLS

#
# ESP32-specific
#
CONFIG_ESP32_REV_MIN_0=y
# CONFIG_ESP32_REV_MIN_1 is not set
# CONFIG_ESP32_REV_MIN_2 is not set
# CONFIG_ESP32_REV_MIN_3 is not set
CONFIG_ESP32_REV_MIN=0
CONFIG_ESP32_DPORT_WORKAROUND=y
# CONFIG_ESP32_DEFAULT_CPU_FREQ_80 is not set
CONFIG_ESP32_DEFAULT_CPU_FREQ_160=y
# CONFIG_ESP32_DEFAULT_CPU_FREQ_240 is not set
CONFIG_ESP32_DEFAULT_CPU_FREQ_MHZ=160
# CONFIG_ESP32_SPIRAM_SUPPORT is not set
# CONFIG_ESP32_TRAX is not set
CONFIG_ESP32_TRACEMEM_RESERVE_DRAM=0x0
# CONFIG_ESP32_UNIVERSAL_MAC_ADDRESSES_TWO is not set
CONFIG_ESP32_UNIVERSAL_MAC_ADDRESSES_FOUR=y
CONFIG_ESP32_UNIVERSAL_MAC_ADDRESSES=4
# CONFIG_ESP32_ULP_COPROC_ENABLED is not set
CONFIG_ESP32_ULP_COPROC_RESERVE_MEM=0
CONFIG_ESP32_DEBUG_OCDAWARE=y
CONFIG_ESP32_BROWNOUT_DET=y
CONFIG_ESP32_BROWNOUT_DET_LVL_SEL_0=y
# CONFIG_ESP32_BROWNOUT_DET_LVL_SEL_1 is not set
# CONFIG_ESP32_BROWNOUT_DET_LVL_SEL_2 is not set
# CONFIG_ESP32_BROWNOUT_DET_LVL_SEL_3 is not set
# CONFIG_ESP32_BROWNOUT_DET_LVL_SEL_4 is not set
# CONFIG_ESP32_BROWNOUT_DET_LVL_SEL_5 is not set
# CONFIG_ESP32_BROWNOUT_DET_LVL_SEL_6 is not set
# CONFIG_ESP32_BROWNOUT_DET_LVL_SEL_7 is not set
CONFIG_ESP32_BROWNOUT_DET_LVL=0
CONFIG_ESP32_REDUCE_PHY_TX_POWER=y
CONFIG_ESP32_TIME_SYSCALL_USE_RTC_FRC1=y
# CONFIG_ESP32_TIME_SYSCALL_USE_RTC is not set
# CONFIG_ESP32_TIME_SYSCALL_USE_FRC1 is not set
# CONFIG_ESP32_TIME_SYSCALL_USE_NONE is not set
CONFIG_ESP32_RTC_CLK_SRC_INT_RC=y
# CONFIG_ESP32_RTC_CLK_SRC_EXT_CRYS is not set
# CONFIG_ESP32_RTC_CLK_SRC_EXT_OSC is not set
# CONFIG_ESP32_RTC_CLK_SRC_INT_8MD256 is not set
CONFIG_ESP32_RTC_CLK_CAL_CYCLES=1024
CONFIG_ESP32_DEEP_SLEEP_WAKEUP_DELAY=2000
CONFIG_ESP32_XTAL_FREQ_40=y
# CONFIG_ESP32_XTAL_FREQ_26 is not set
# CONFIG_ESP32_XTAL_FREQ_AUTO is not set
CONFIG_ESP32_XTAL_FREQ=40
# CONFIG_ESP32_DISABLE_BASIC_ROM_CONSOLE is not set
# CONFIG_ESP32_NO_BLOBS is not set
# CONFIG_ESP32_COMPATIBLE_PRE_V2_1_BOOTLOADERS is not set
# CONFIG_ESP32_USE_FIXED_STATIC_RAM_SIZE is not set
CONFIG_ESP32_DPORT_DIS_INTERRUPT_LVL=5
# end of ESP32-specific

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

#
# Memory protection
#
CONFIG_ESP32S2_MEMPROT_FEATURE=y
CONFIG_ESP32S2_MEMPROT_FEATURE_LOCK=y
# end of Memory protection

#
# Cache config
#
# end of Cache config

CONFIG_ESP32S2_TRACEMEM_RESERVE_DRAM=0x0
CONFIG_ESP32S2_ULP_COPROC_RESERVE_MEM=0
CONFIG_ESP32S2_DEBUG_OCDAWARE=y
CONFIG_ESP32S2_BROWNOUT_DET=y

#
# Cache config
#
# end of Cache config

CONFIG_ESP32S3_TRACEMEM_RESERVE_DRAM=0x0
CONFIG_ESP_MAC_ADDR_UNIVERSE_BT_OFFSET=2
CONFIG_ESP32S3_ULP_COPROC_RESERVE_MEM=0
CONFIG_ESP32S3_DEBUG_OCDAWARE=y
CONFIG_ESP32S3_BROWNOUT_DET=y
CONFIG_ESP32S3_ALLOW_RTC_FAST_MEM_AS_HEAP=y

#
# Power Management
#
# end of Power Management

#
# ADC-Calibration
#
CONFIG_ADC_CAL_EFUSE_TP_ENABLE=y
CONFIG_ADC_CAL_EFUSE_VREF_ENABLE=y
CONFIG_ADC_CAL_LUT_ENABLE=y
# end of ADC-Calibration

#
# Common ESP-related
#
CONFIG_ESP_ERR_TO_NAME_LOOKUP=y
CONFIG_ESP_SYSTEM_EVENT_QUEUE_SIZE=32
CONFIG_ESP_SYSTEM_EVENT_TASK_STACK_SIZE=2304
CONFIG_ESP_MAIN_TASK_STACK_SIZE=3584
CONFIG_ESP_IPC_TASK_STACK_SIZE=1024
CONFIG_ESP_IPC_USES_CALLERS_PRIORITY=y
CONFIG_ESP_MINIMAL_SHARED_STACK_SIZE=2048
CONFIG_ESP_CONSOLE_UART_DEFAULT=y
# CONFIG_ESP_CONSOLE_UART_CUSTOM is not set
# CONFIG_ESP_CONSOLE_NONE is not set
CONFIG_ESP_CONSOLE_UART=y
CONFIG_ESP_CONSOLE_UART_NUM=0
CONFIG_ESP_CONSOLE_UART_BAUDRATE=115200
CONFIG_ESP_INT_WDT=y
CONFIG_ESP_INT_WDT_TIMEOUT_MS=300
CONFIG_ESP_INT_WDT_CHECK_CPU1=y
CONFIG_ESP_TASK_WDT=y
# CONFIG_ESP_TASK_WDT_PANIC is not set
CONFIG_ESP_TASK_WDT_TIMEOUT_S=5
CONFIG_ESP_TASK_WDT_CHECK_IDLE_TASK_CPU0=y
CONFIG_ESP_TASK_WDT_CHECK_IDLE_TASK_CPU1=y
# CONFIG_ESP_PANIC_HANDLER_IRAM is not set
CONFIG_ESP_MAC_ADDR_UNIVERSE_WIFI_STA=y
CONFIG_ESP_MAC_ADDR_UNIVERSE_WIFI_AP=y
CONFIG_ESP_MAC_ADDR_UNIVERSE_BT=y
CONFIG_ESP_MAC_ADDR_UNIVERSE_ETH=y
# end of Common ESP-related

#
# Ethernet
#
CONFIG_ETH_ENABLED=y
CONFIG_ETH_USE_ESP32_EMAC=y
CONFIG_ETH_PHY_INTERFACE_RMII=y
# CONFIG_ETH_PHY_INTERFACE_MII is not set
CONFIG_ETH_RMII_CLK_INPUT=y
# CONFIG_ETH_RMII_CLK_OUTPUT is not set
CONFIG_ETH_RMII_CLK_IN_GPIO=0
CONFIG_ETH_DMA_BUFFER_SIZE=512
CONFIG_ETH_DMA_RX_BUFFER_NUM=10
CONFIG_ETH_DMA_TX_BUFFER_NUM=10
CONFIG_ETH_USE_SPI_ETHERNET=y
# CONFIG_ETH_SPI_ETHERNET_DM9051 is not set
# CONFIG_ETH_USE_OPENETH is not set
# end of Ethernet

#
# Event Loop Library
#
# CONFIG_ESP_EVENT_LOOP_PROFILING is not set
CONFIG_ESP_EVENT_POST_FROM_ISR=y
CONFIG_ESP_EVENT_POST_FROM_IRAM_ISR=y
# end of Event Loop Library

#
# GDB Stub
#
# end of GDB Stub

#
# ESP HTTP client
#
CONFIG_ESP_HTTP_CLIENT_ENABLE_HTTPS=y
# CONFIG_ESP_HTTP_CLIENT_ENABLE_BASIC_AUTH is not set
# end of ESP HTTP client

#
# HTTP Server
#
CONFIG_HTTPD_MAX_REQ_HDR_LEN=512
CONFIG_HTTPD_MAX_URI_LEN=512
CONFIG_HTTPD_ERR_RESP_NO_DELAY=y
CONFIG_HTTPD_PURGE_BUF_LEN=32
# CONFIG_HTTPD_LOG_PURGE_DATA is not set
# CONFIG_HTTPD_WS_SUPPORT is not set
# end of HTTP Server

#
# ESP HTTPS OTA
#
# CONFIG_OTA_ALLOW_HTTP is not set
# end of ESP HTTPS OTA

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

#
# ESP NETIF Adapter
#
CONFIG_ESP_NETIF_IP_LOST_TIMER_INTERVAL=120
CONFIG_ESP_NETIF_TCPIP_LWIP=y
# CONFIG_ESP_NETIF_LOOPBACK is not set
CONFIG_ESP_NETIF_TCPIP_ADAPTER_COMPATIBLE_LAYER=y
# end of ESP NETIF Adapter

#
# ESP System Settings
#
# CONFIG_ESP_SYSTEM_PANIC_PRINT_HALT is not set
CONFIG_ESP_SYSTEM_PANIC_PRINT_REBOOT=y
# CONFIG_ESP_SYSTEM_PANIC_SILENT_REBOOT is not set
# CONFIG_ESP_SYSTEM_PANIC_GDBSTUB is not set
# end of ESP System Settings

#
# High resolution timer (esp_timer)
#
# CONFIG_ESP_TIMER_PROFILING is not set
CONFIG_ESP_TIMER_TASK_STACK_SIZE=3584
# CONFIG_ESP_TIMER_IMPL_FRC2 is not set
CONFIG_ESP_TIMER_IMPL_TG0_LAC=y
# end of High resolution timer (esp_timer)

#
# Wi-Fi
#
CONFIG_ESP32_WIFI_STATIC_RX_BUFFER_NUM=10
CONFIG_ESP32_WIFI_DYNAMIC_RX_BUFFER_NUM=32
# 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=32
# 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=y
CONFIG_ESP32_WIFI_TASK_PINNED_TO_CORE_0=y
# CONFIG_ESP32_WIFI_TASK_PINNED_TO_CORE_1 is not set
CONFIG_ESP32_WIFI_SOFTAP_BEACON_MAX_LEN=752
CONFIG_ESP32_WIFI_MGMT_SBUF_NUM=32
# CONFIG_ESP32_WIFI_DEBUG_LOG_ENABLE is not set
CONFIG_ESP32_WIFI_IRAM_OPT=y
CONFIG_ESP32_WIFI_RX_IRAM_OPT=y
CONFIG_ESP32_WIFI_ENABLE_WPA3_SAE=y
# end of Wi-Fi

#
# PHY
#
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
# end of PHY

#
# Core dump
#
# 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
# end of Core dump

#
# FAT Filesystem support
#
# CONFIG_FATFS_CODEPAGE_DYNAMIC is not set
CONFIG_FATFS_CODEPAGE_437=y
# CONFIG_FATFS_CODEPAGE_720 is not set
# CONFIG_FATFS_CODEPAGE_737 is not set
# CONFIG_FATFS_CODEPAGE_771 is not set
# CONFIG_FATFS_CODEPAGE_775 is not set
# CONFIG_FATFS_CODEPAGE_850 is not set
# CONFIG_FATFS_CODEPAGE_852 is not set
# CONFIG_FATFS_CODEPAGE_855 is not set
# CONFIG_FATFS_CODEPAGE_857 is not set
# CONFIG_FATFS_CODEPAGE_860 is not set
# CONFIG_FATFS_CODEPAGE_861 is not set
# CONFIG_FATFS_CODEPAGE_862 is not set
# CONFIG_FATFS_CODEPAGE_863 is not set
# CONFIG_FATFS_CODEPAGE_864 is not set
# CONFIG_FATFS_CODEPAGE_865 is not set
# CONFIG_FATFS_CODEPAGE_866 is not set
# CONFIG_FATFS_CODEPAGE_869 is not set
# CONFIG_FATFS_CODEPAGE_932 is not set
# CONFIG_FATFS_CODEPAGE_936 is not set
# CONFIG_FATFS_CODEPAGE_949 is not set
# CONFIG_FATFS_CODEPAGE_950 is not set
CONFIG_FATFS_CODEPAGE=437
CONFIG_FATFS_LFN_NONE=y
# CONFIG_FATFS_LFN_HEAP is not set
# CONFIG_FATFS_LFN_STACK is not set
CONFIG_FATFS_FS_LOCK=0
CONFIG_FATFS_TIMEOUT_MS=10000
CONFIG_FATFS_PER_FILE_CACHE=y
# end of FAT Filesystem support

#
# Modbus configuration
#
CONFIG_FMB_COMM_MODE_TCP_EN=y
CONFIG_FMB_TCP_PORT_DEFAULT=502
CONFIG_FMB_TCP_PORT_MAX_CONN=5
CONFIG_FMB_TCP_CONNECTION_TOUT_SEC=20
CONFIG_FMB_COMM_MODE_RTU_EN=y
CONFIG_FMB_COMM_MODE_ASCII_EN=y
CONFIG_FMB_MASTER_TIMEOUT_MS_RESPOND=150
CONFIG_FMB_MASTER_DELAY_MS_CONVERT=200
CONFIG_FMB_QUEUE_LENGTH=20
CONFIG_FMB_PORT_TASK_STACK_SIZE=4096
CONFIG_FMB_SERIAL_BUF_SIZE=256
CONFIG_FMB_SERIAL_ASCII_BITS_PER_SYMB=8
CONFIG_FMB_SERIAL_ASCII_TIMEOUT_RESPOND_MS=1000
CONFIG_FMB_PORT_TASK_PRIO=10
CONFIG_FMB_CONTROLLER_SLAVE_ID_SUPPORT=y
CONFIG_FMB_CONTROLLER_SLAVE_ID=0x00112233
CONFIG_FMB_CONTROLLER_NOTIFY_TIMEOUT=20
CONFIG_FMB_CONTROLLER_NOTIFY_QUEUE_SIZE=20
CONFIG_FMB_CONTROLLER_STACK_SIZE=4096
CONFIG_FMB_EVENT_QUEUE_TIMEOUT=20
CONFIG_FMB_TIMER_PORT_ENABLED=y
CONFIG_FMB_TIMER_GROUP=0
CONFIG_FMB_TIMER_INDEX=0
# CONFIG_FMB_TIMER_ISR_IN_IRAM is not set
# end of Modbus configuration

#
# FreeRTOS
#
# CONFIG_FREERTOS_UNICORE is not set
CONFIG_FREERTOS_NO_AFFINITY=0x7FFFFFFF
CONFIG_FREERTOS_CORETIMER_0=y
# CONFIG_FREERTOS_CORETIMER_1 is not set
CONFIG_FREERTOS_HZ=100
CONFIG_FREERTOS_ASSERT_ON_UNTESTED_FUNCTION=y
# CONFIG_FREERTOS_CHECK_STACKOVERFLOW_NONE is not set
# CONFIG_FREERTOS_CHECK_STACKOVERFLOW_PTRVAL is not set
CONFIG_FREERTOS_CHECK_STACKOVERFLOW_CANARY=y
# CONFIG_FREERTOS_WATCHPOINT_END_OF_STACK is not set
CONFIG_FREERTOS_INTERRUPT_BACKTRACE=y
CONFIG_FREERTOS_THREAD_LOCAL_STORAGE_POINTERS=1
CONFIG_FREERTOS_ASSERT_FAIL_ABORT=y
# CONFIG_FREERTOS_ASSERT_FAIL_PRINT_CONTINUE is not set
# CONFIG_FREERTOS_ASSERT_DISABLE is not set
CONFIG_FREERTOS_IDLE_TASK_STACKSIZE=1536
CONFIG_FREERTOS_ISR_STACKSIZE=1536
# CONFIG_FREERTOS_LEGACY_HOOKS is not set
CONFIG_FREERTOS_MAX_TASK_NAME_LEN=16
# CONFIG_FREERTOS_SUPPORT_STATIC_ALLOCATION is not set
CONFIG_FREERTOS_TIMER_TASK_PRIORITY=1
CONFIG_FREERTOS_TIMER_TASK_STACK_DEPTH=2048
CONFIG_FREERTOS_TIMER_QUEUE_LENGTH=10
CONFIG_FREERTOS_QUEUE_REGISTRY_SIZE=0
# CONFIG_FREERTOS_USE_TRACE_FACILITY is not set
# CONFIG_FREERTOS_GENERATE_RUN_TIME_STATS is not set
CONFIG_FREERTOS_TASK_FUNCTION_WRAPPER=y
CONFIG_FREERTOS_CHECK_MUTEX_GIVEN_BY_OWNER=y
# CONFIG_FREERTOS_CHECK_PORT_CRITICAL_COMPLIANCE is not set
# CONFIG_FREERTOS_PLACE_FUNCTIONS_INTO_FLASH is not set
CONFIG_FREERTOS_DEBUG_OCDAWARE=y
# CONFIG_FREERTOS_FPU_IN_ISR is not set
# end of FreeRTOS

#
# Heap memory debugging
#
CONFIG_HEAP_POISONING_DISABLED=y
# CONFIG_HEAP_POISONING_LIGHT is not set
# CONFIG_HEAP_POISONING_COMPREHENSIVE is not set
CONFIG_HEAP_TRACING_OFF=y
# CONFIG_HEAP_TRACING_STANDALONE is not set
# CONFIG_HEAP_TRACING_TOHOST is not set
# CONFIG_HEAP_ABORT_WHEN_ALLOCATION_FAILS is not set
# end of Heap memory debugging

#
# jsmn
#
# CONFIG_JSMN_PARENT_LINKS is not set
# CONFIG_JSMN_STRICT is not set
# end of jsmn

#
# libsodium
#
# end of libsodium

#
# Log output
#
# CONFIG_LOG_DEFAULT_LEVEL_NONE is not set
# CONFIG_LOG_DEFAULT_LEVEL_ERROR is not set
# CONFIG_LOG_DEFAULT_LEVEL_WARN is not set
CONFIG_LOG_DEFAULT_LEVEL_INFO=y
# CONFIG_LOG_DEFAULT_LEVEL_DEBUG is not set
# CONFIG_LOG_DEFAULT_LEVEL_VERBOSE is not set
CONFIG_LOG_DEFAULT_LEVEL=3
CONFIG_LOG_COLORS=y
CONFIG_LOG_TIMESTAMP_SOURCE_RTOS=y
# CONFIG_LOG_TIMESTAMP_SOURCE_SYSTEM is not set
# end of Log output

#
# LWIP
#
CONFIG_LWIP_LOCAL_HOSTNAME="espressif"
CONFIG_LWIP_DNS_SUPPORT_MDNS_QUERIES=y
# CONFIG_LWIP_L2_TO_L3_COPY is not set
# CONFIG_LWIP_IRAM_OPTIMIZATION is not set
CONFIG_LWIP_TIMERS_ONDEMAND=y
CONFIG_LWIP_MAX_SOCKETS=10
# CONFIG_LWIP_USE_ONLY_LWIP_SELECT is not set
# CONFIG_LWIP_SO_LINGER is not set
CONFIG_LWIP_SO_REUSE=y
CONFIG_LWIP_SO_REUSE_RXTOALL=y
# CONFIG_LWIP_SO_RCVBUF is not set
# CONFIG_LWIP_NETBUF_RECVINFO is not set
CONFIG_LWIP_IP4_FRAG=y
CONFIG_LWIP_IP6_FRAG=y
# CONFIG_LWIP_IP4_REASSEMBLY is not set
# CONFIG_LWIP_IP6_REASSEMBLY is not set
# CONFIG_LWIP_IP_FORWARD is not set
# CONFIG_LWIP_STATS is not set
# CONFIG_LWIP_ETHARP_TRUST_IP_MAC is not set
CONFIG_LWIP_ESP_GRATUITOUS_ARP=y
CONFIG_LWIP_GARP_TMR_INTERVAL=60
CONFIG_LWIP_TCPIP_RECVMBOX_SIZE=32
CONFIG_LWIP_DHCP_DOES_ARP_CHECK=y
# CONFIG_LWIP_DHCP_RESTORE_LAST_IP is not set

#
# DHCP server
#
CONFIG_LWIP_DHCPS_LEASE_UNIT=60
CONFIG_LWIP_DHCPS_MAX_STATION_NUM=8
# end of DHCP server

# CONFIG_LWIP_AUTOIP is not set
# CONFIG_LWIP_IPV6_AUTOCONFIG is not set
CONFIG_LWIP_NETIF_LOOPBACK=y
CONFIG_LWIP_LOOPBACK_MAX_PBUFS=8

#
# TCP
#
CONFIG_LWIP_MAX_ACTIVE_TCP=16
CONFIG_LWIP_MAX_LISTENING_TCP=16
CONFIG_LWIP_TCP_MAXRTX=12
CONFIG_LWIP_TCP_SYNMAXRTX=6
CONFIG_LWIP_TCP_MSS=1440
CONFIG_LWIP_TCP_TMR_INTERVAL=250
CONFIG_LWIP_TCP_MSL=60000
CONFIG_LWIP_TCP_SND_BUF_DEFAULT=5744
CONFIG_LWIP_TCP_WND_DEFAULT=5744
CONFIG_LWIP_TCP_RECVMBOX_SIZE=6
CONFIG_LWIP_TCP_QUEUE_OOSEQ=y
# CONFIG_LWIP_TCP_SACK_OUT is not set
# CONFIG_LWIP_TCP_KEEP_CONNECTION_WHEN_IP_CHANGES is not set
CONFIG_LWIP_TCP_OVERSIZE_MSS=y
# CONFIG_LWIP_TCP_OVERSIZE_QUARTER_MSS is not set
# CONFIG_LWIP_TCP_OVERSIZE_DISABLE is not set
CONFIG_LWIP_TCP_RTO_TIME=3000
# end of TCP

#
# UDP
#
CONFIG_LWIP_MAX_UDP_PCBS=16
CONFIG_LWIP_UDP_RECVMBOX_SIZE=6
# end of UDP

CONFIG_LWIP_TCPIP_TASK_STACK_SIZE=3072
CONFIG_LWIP_TCPIP_TASK_AFFINITY_NO_AFFINITY=y
# CONFIG_LWIP_TCPIP_TASK_AFFINITY_CPU0 is not set
# CONFIG_LWIP_TCPIP_TASK_AFFINITY_CPU1 is not set
CONFIG_LWIP_TCPIP_TASK_AFFINITY=0x7FFFFFFF
# CONFIG_LWIP_PPP_SUPPORT is not set
CONFIG_LWIP_IPV6_MEMP_NUM_ND6_QUEUE=3
CONFIG_LWIP_IPV6_ND6_NUM_NEIGHBORS=5
# CONFIG_LWIP_SLIP_SUPPORT is not set

#
# ICMP
#
# CONFIG_LWIP_MULTICAST_PING is not set
# CONFIG_LWIP_BROADCAST_PING is not set
# end of ICMP

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

#
# SNTP
#
CONFIG_LWIP_DHCP_MAX_NTP_SERVERS=1
CONFIG_LWIP_SNTP_UPDATE_DELAY=3600000
# end of SNTP

CONFIG_LWIP_ESP_LWIP_ASSERT=y

#
# Debug
#
# CONFIG_LWIP_NETIF_DEBUG is not set
# CONFIG_LWIP_PBUF_DEBUG is not set
# CONFIG_LWIP_ETHARP_DEBUG is not set
# CONFIG_LWIP_API_LIB_DEBUG is not set
# CONFIG_LWIP_SOCKETS_DEBUG is not set
# CONFIG_LWIP_IP_DEBUG is not set
# CONFIG_LWIP_ICMP_DEBUG is not set
# CONFIG_LWIP_IP6_DEBUG is not set
# CONFIG_LWIP_ICMP6_DEBUG is not set
# end of Debug
# end of LWIP

#
# mbedTLS
#
CONFIG_MBEDTLS_INTERNAL_MEM_ALLOC=y
# CONFIG_MBEDTLS_DEFAULT_MEM_ALLOC is not set
# CONFIG_MBEDTLS_CUSTOM_MEM_ALLOC is not set
CONFIG_MBEDTLS_ASYMMETRIC_CONTENT_LEN=y
CONFIG_MBEDTLS_SSL_IN_CONTENT_LEN=16384
CONFIG_MBEDTLS_SSL_OUT_CONTENT_LEN=4096
# CONFIG_MBEDTLS_DYNAMIC_BUFFER is not set
# CONFIG_MBEDTLS_DEBUG is not set

#
# Certificate Bundle
#
CONFIG_MBEDTLS_CERTIFICATE_BUNDLE=y
CONFIG_MBEDTLS_CERTIFICATE_BUNDLE_DEFAULT_FULL=y
# CONFIG_MBEDTLS_CERTIFICATE_BUNDLE_DEFAULT_CMN is not set
# CONFIG_MBEDTLS_CERTIFICATE_BUNDLE_DEFAULT_NONE is not set
# CONFIG_MBEDTLS_CUSTOM_CERTIFICATE_BUNDLE is not set
# end of Certificate Bundle

# CONFIG_MBEDTLS_ECP_RESTARTABLE is not set
# CONFIG_MBEDTLS_CMAC_C is not set
CONFIG_MBEDTLS_HARDWARE_AES=y
CONFIG_MBEDTLS_HARDWARE_MPI=y
CONFIG_MBEDTLS_HARDWARE_SHA=y
# CONFIG_MBEDTLS_ATCA_HW_ECDSA_SIGN is not set
# CONFIG_MBEDTLS_ATCA_HW_ECDSA_VERIFY is not set
CONFIG_MBEDTLS_HAVE_TIME=y
# CONFIG_MBEDTLS_HAVE_TIME_DATE is not set
CONFIG_MBEDTLS_ECDSA_DETERMINISTIC=y
CONFIG_MBEDTLS_SHA512_C=y
CONFIG_MBEDTLS_TLS_SERVER_AND_CLIENT=y
# CONFIG_MBEDTLS_TLS_SERVER_ONLY is not set
# CONFIG_MBEDTLS_TLS_CLIENT_ONLY is not set
# CONFIG_MBEDTLS_TLS_DISABLED is not set
CONFIG_MBEDTLS_TLS_SERVER=y
CONFIG_MBEDTLS_TLS_CLIENT=y
CONFIG_MBEDTLS_TLS_ENABLED=y

#
# TLS Key Exchange Methods
#
# CONFIG_MBEDTLS_PSK_MODES is not set
CONFIG_MBEDTLS_KEY_EXCHANGE_RSA=y
CONFIG_MBEDTLS_KEY_EXCHANGE_DHE_RSA=y
CONFIG_MBEDTLS_KEY_EXCHANGE_ELLIPTIC_CURVE=y
CONFIG_MBEDTLS_KEY_EXCHANGE_ECDHE_RSA=y
CONFIG_MBEDTLS_KEY_EXCHANGE_ECDHE_ECDSA=y
CONFIG_MBEDTLS_KEY_EXCHANGE_ECDH_ECDSA=y
CONFIG_MBEDTLS_KEY_EXCHANGE_ECDH_RSA=y
# end of TLS Key Exchange Methods

CONFIG_MBEDTLS_SSL_RENEGOTIATION=y
# CONFIG_MBEDTLS_SSL_PROTO_SSL3 is not set
CONFIG_MBEDTLS_SSL_PROTO_TLS1=y
CONFIG_MBEDTLS_SSL_PROTO_TLS1_1=y
CONFIG_MBEDTLS_SSL_PROTO_TLS1_2=y
# CONFIG_MBEDTLS_SSL_PROTO_DTLS is not set
CONFIG_MBEDTLS_SSL_ALPN=y
CONFIG_MBEDTLS_CLIENT_SSL_SESSION_TICKETS=y
CONFIG_MBEDTLS_SERVER_SSL_SESSION_TICKETS=y

#
# Symmetric Ciphers
#
CONFIG_MBEDTLS_AES_C=y
# CONFIG_MBEDTLS_CAMELLIA_C is not set
# CONFIG_MBEDTLS_DES_C is not set
CONFIG_MBEDTLS_RC4_DISABLED=y
# CONFIG_MBEDTLS_RC4_ENABLED_NO_DEFAULT is not set
# CONFIG_MBEDTLS_RC4_ENABLED is not set
# CONFIG_MBEDTLS_BLOWFISH_C is not set
# CONFIG_MBEDTLS_XTEA_C is not set
CONFIG_MBEDTLS_CCM_C=y
CONFIG_MBEDTLS_GCM_C=y
# end of Symmetric Ciphers

# CONFIG_MBEDTLS_RIPEMD160_C is not set

#
# Certificates
#
CONFIG_MBEDTLS_PEM_PARSE_C=y
CONFIG_MBEDTLS_PEM_WRITE_C=y
CONFIG_MBEDTLS_X509_CRL_PARSE_C=y
CONFIG_MBEDTLS_X509_CSR_PARSE_C=y
# end of Certificates

CONFIG_MBEDTLS_ECP_C=y
CONFIG_MBEDTLS_ECDH_C=y
CONFIG_MBEDTLS_ECDSA_C=y
# CONFIG_MBEDTLS_ECJPAKE_C is not set
CONFIG_MBEDTLS_ECP_DP_SECP192R1_ENABLED=y
CONFIG_MBEDTLS_ECP_DP_SECP224R1_ENABLED=y
CONFIG_MBEDTLS_ECP_DP_SECP256R1_ENABLED=y
CONFIG_MBEDTLS_ECP_DP_SECP384R1_ENABLED=y
CONFIG_MBEDTLS_ECP_DP_SECP521R1_ENABLED=y
CONFIG_MBEDTLS_ECP_DP_SECP192K1_ENABLED=y
CONFIG_MBEDTLS_ECP_DP_SECP224K1_ENABLED=y
CONFIG_MBEDTLS_ECP_DP_SECP256K1_ENABLED=y
CONFIG_MBEDTLS_ECP_DP_BP256R1_ENABLED=y
CONFIG_MBEDTLS_ECP_DP_BP384R1_ENABLED=y
CONFIG_MBEDTLS_ECP_DP_BP512R1_ENABLED=y
CONFIG_MBEDTLS_ECP_DP_CURVE25519_ENABLED=y
CONFIG_MBEDTLS_ECP_NIST_OPTIM=y
# CONFIG_MBEDTLS_POLY1305_C is not set
# CONFIG_MBEDTLS_CHACHA20_C is not set
# CONFIG_MBEDTLS_HKDF_C is not set
# CONFIG_MBEDTLS_THREADING_C is not set
# CONFIG_MBEDTLS_SECURITY_RISKS is not set
# end of mbedTLS

#
# mDNS
#
CONFIG_MDNS_MAX_SERVICES=10
CONFIG_MDNS_TASK_PRIORITY=1
CONFIG_MDNS_TASK_STACK_SIZE=4096
# CONFIG_MDNS_TASK_AFFINITY_NO_AFFINITY is not set
CONFIG_MDNS_TASK_AFFINITY_CPU0=y
# CONFIG_MDNS_TASK_AFFINITY_CPU1 is not set
CONFIG_MDNS_TASK_AFFINITY=0x0
CONFIG_MDNS_SERVICE_ADD_TIMEOUT_MS=2000
CONFIG_MDNS_TIMER_PERIOD_MS=100
# end of mDNS

#
# ESP-MQTT Configurations
#
CONFIG_MQTT_PROTOCOL_311=y
CONFIG_MQTT_TRANSPORT_SSL=y
CONFIG_MQTT_TRANSPORT_WEBSOCKET=y
CONFIG_MQTT_TRANSPORT_WEBSOCKET_SECURE=y
# CONFIG_MQTT_USE_CUSTOM_CONFIG is not set
# CONFIG_MQTT_TASK_CORE_SELECTION_ENABLED is not set
# CONFIG_MQTT_CUSTOM_OUTBOX is not set
# end of ESP-MQTT Configurations

#
# Newlib
#
CONFIG_NEWLIB_STDOUT_LINE_ENDING_CRLF=y
# CONFIG_NEWLIB_STDOUT_LINE_ENDING_LF is not set
# CONFIG_NEWLIB_STDOUT_LINE_ENDING_CR is not set
# CONFIG_NEWLIB_STDIN_LINE_ENDING_CRLF is not set
# CONFIG_NEWLIB_STDIN_LINE_ENDING_LF is not set
CONFIG_NEWLIB_STDIN_LINE_ENDING_CR=y
# CONFIG_NEWLIB_NANO_FORMAT is not set
# end of Newlib

#
# NVS
#
# end of NVS

#
# OpenSSL
#
# CONFIG_OPENSSL_DEBUG is not set
CONFIG_OPENSSL_ERROR_STACK=y
# CONFIG_OPENSSL_ASSERT_DO_NOTHING is not set
CONFIG_OPENSSL_ASSERT_EXIT=y
# end of OpenSSL

#
# PThreads
#
CONFIG_PTHREAD_TASK_PRIO_DEFAULT=5
CONFIG_PTHREAD_TASK_STACK_SIZE_DEFAULT=3072
CONFIG_PTHREAD_STACK_MIN=768
CONFIG_PTHREAD_DEFAULT_CORE_NO_AFFINITY=y
# CONFIG_PTHREAD_DEFAULT_CORE_0 is not set
# CONFIG_PTHREAD_DEFAULT_CORE_1 is not set
CONFIG_PTHREAD_TASK_CORE_DEFAULT=-1
CONFIG_PTHREAD_TASK_NAME_DEFAULT="pthread"
# end of PThreads

#
# SPI Flash driver
#
# CONFIG_SPI_FLASH_VERIFY_WRITE is not set
# CONFIG_SPI_FLASH_ENABLE_COUNTERS is not set
CONFIG_SPI_FLASH_ROM_DRIVER_PATCH=y
CONFIG_SPI_FLASH_DANGEROUS_WRITE_ABORTS=y
# CONFIG_SPI_FLASH_DANGEROUS_WRITE_FAILS is not set
# CONFIG_SPI_FLASH_DANGEROUS_WRITE_ALLOWED is not set
# CONFIG_SPI_FLASH_USE_LEGACY_IMPL is not set
# CONFIG_SPI_FLASH_SHARE_SPI1_BUS is not set
# CONFIG_SPI_FLASH_BYPASS_BLOCK_ERASE is not set
CONFIG_SPI_FLASH_YIELD_DURING_ERASE=y
CONFIG_SPI_FLASH_ERASE_YIELD_DURATION_MS=20
CONFIG_SPI_FLASH_ERASE_YIELD_TICKS=1
CONFIG_SPI_FLASH_WRITE_CHUNK_SIZE=8192
# CONFIG_SPI_FLASH_SIZE_OVERRIDE is not set

#
# Auto-detect flash chips
#
CONFIG_SPI_FLASH_SUPPORT_ISSI_CHIP=y
CONFIG_SPI_FLASH_SUPPORT_MXIC_CHIP=y
CONFIG_SPI_FLASH_SUPPORT_GD_CHIP=y
# end of Auto-detect flash chips
# end of SPI Flash driver

#
# SPIFFS Configuration
#
CONFIG_SPIFFS_MAX_PARTITIONS=3

#
# SPIFFS Cache Configuration
#
CONFIG_SPIFFS_CACHE=y
CONFIG_SPIFFS_CACHE_WR=y
# CONFIG_SPIFFS_CACHE_STATS is not set
# end of SPIFFS Cache Configuration

CONFIG_SPIFFS_PAGE_CHECK=y
CONFIG_SPIFFS_GC_MAX_RUNS=10
# CONFIG_SPIFFS_GC_STATS is not set
CONFIG_SPIFFS_PAGE_SIZE=256
CONFIG_SPIFFS_OBJ_NAME_LEN=32
# CONFIG_SPIFFS_FOLLOW_SYMLINKS is not set
CONFIG_SPIFFS_USE_MAGIC=y
CONFIG_SPIFFS_USE_MAGIC_LENGTH=y
CONFIG_SPIFFS_META_LENGTH=4
CONFIG_SPIFFS_USE_MTIME=y

#
# Debug Configuration
#
# CONFIG_SPIFFS_DBG is not set
# CONFIG_SPIFFS_API_DBG is not set
# CONFIG_SPIFFS_GC_DBG is not set
# CONFIG_SPIFFS_CACHE_DBG is not set
# CONFIG_SPIFFS_CHECK_DBG is not set
# CONFIG_SPIFFS_TEST_VISUALISATION is not set
# end of Debug Configuration
# end of SPIFFS Configuration

#
# TCP Transport
#
CONFIG_WS_BUFFER_SIZE=1024
# end of TCP Transport

#
# Unity unit testing library
#
CONFIG_UNITY_ENABLE_FLOAT=y
CONFIG_UNITY_ENABLE_DOUBLE=y
# CONFIG_UNITY_ENABLE_COLOR is not set
CONFIG_UNITY_ENABLE_IDF_TEST_RUNNER=y
# CONFIG_UNITY_ENABLE_FIXTURE is not set
# CONFIG_UNITY_ENABLE_BACKTRACE_ON_FAIL is not set
# end of Unity unit testing library

#
# Virtual file system
#
CONFIG_VFS_SUPPORT_IO=y
CONFIG_VFS_SUPPORT_DIR=y
CONFIG_VFS_SUPPORT_SELECT=y
CONFIG_VFS_SUPPRESS_SELECT_DEBUG_OUTPUT=y
CONFIG_VFS_SUPPORT_TERMIOS=y

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

#
# Wear Levelling
#
# CONFIG_WL_SECTOR_SIZE_512 is not set
CONFIG_WL_SECTOR_SIZE_4096=y
CONFIG_WL_SECTOR_SIZE=4096
# end of Wear Levelling

#
# Wi-Fi Provisioning Manager
#
CONFIG_WIFI_PROV_SCAN_MAX_ENTRIES=16
CONFIG_WIFI_PROV_AUTOSTOP_TIMEOUT=30
# end of Wi-Fi Provisioning Manager

#
# Supplicant
#
CONFIG_WPA_MBEDTLS_CRYPTO=y
# CONFIG_WPA_DEBUG_PRINT is not set
# CONFIG_WPA_TESTING_OPTIONS is not set
# CONFIG_WPA_WPS_WARS is not set
# end of Supplicant
# end of Component config

#
# Compatibility options
#
# CONFIG_LEGACY_INCLUDE_COMMON_HEADERS is not set
# end of Compatibility options

# Deprecated options for backward compatibility
CONFIG_TOOLPREFIX="xtensa-esp32-elf-"
CONFIG_PYTHON="python"
CONFIG_MAKE_WARN_UNDEFINED_VARIABLES=y
# CONFIG_LOG_BOOTLOADER_LEVEL_NONE is not set
# CONFIG_LOG_BOOTLOADER_LEVEL_ERROR is not set
# CONFIG_LOG_BOOTLOADER_LEVEL_WARN is not set
CONFIG_LOG_BOOTLOADER_LEVEL_INFO=y
# CONFIG_LOG_BOOTLOADER_LEVEL_DEBUG is not set
# CONFIG_LOG_BOOTLOADER_LEVEL_VERBOSE is not set
CONFIG_LOG_BOOTLOADER_LEVEL=3
# CONFIG_APP_ROLLBACK_ENABLE is not set
CONFIG_SECURE_BOOT_ENABLED=y
# CONFIG_FLASH_ENCRYPTION_ENABLED is not set
# CONFIG_FLASHMODE_QIO is not set
# CONFIG_FLASHMODE_QOUT is not set
CONFIG_FLASHMODE_DIO=y
# CONFIG_FLASHMODE_DOUT is not set
# CONFIG_MONITOR_BAUD_9600B is not set
# CONFIG_MONITOR_BAUD_57600B is not set
CONFIG_MONITOR_BAUD_115200B=y
# CONFIG_MONITOR_BAUD_230400B is not set
# CONFIG_MONITOR_BAUD_921600B is not set
# CONFIG_MONITOR_BAUD_2MB is not set
# CONFIG_MONITOR_BAUD_OTHER is not set
CONFIG_MONITOR_BAUD_OTHER_VAL=115200
CONFIG_MONITOR_BAUD=115200
CONFIG_COMPILER_OPTIMIZATION_LEVEL_DEBUG=y
# CONFIG_COMPILER_OPTIMIZATION_LEVEL_RELEASE is not set
CONFIG_OPTIMIZATION_ASSERTIONS_ENABLED=y
# CONFIG_OPTIMIZATION_ASSERTIONS_SILENT is not set
# CONFIG_OPTIMIZATION_ASSERTIONS_DISABLED is not set
# CONFIG_CXX_EXCEPTIONS is not set
CONFIG_STACK_CHECK_NONE=y
# CONFIG_STACK_CHECK_NORM is not set
# CONFIG_STACK_CHECK_STRONG is not set
# CONFIG_STACK_CHECK_ALL is not set
# CONFIG_WARN_WRITE_STRINGS is not set
# CONFIG_DISABLE_GCC8_WARNINGS is not set
# CONFIG_ESP32_APPTRACE_DEST_TRAX is not set
CONFIG_ESP32_APPTRACE_DEST_NONE=y
CONFIG_ESP32_APPTRACE_LOCK_ENABLE=y
CONFIG_BTDM_CONTROLLER_BLE_MAX_CONN_EFF=0
CONFIG_BTDM_CONTROLLER_BR_EDR_MAX_ACL_CONN_EFF=0
CONFIG_BTDM_CONTROLLER_BR_EDR_MAX_SYNC_CONN_EFF=0
CONFIG_BTDM_CONTROLLER_PINNED_TO_CORE=0
CONFIG_ADC2_DISABLE_DAC=y
# CONFIG_SPIRAM_SUPPORT is not set
CONFIG_TRACEMEM_RESERVE_DRAM=0x0
# CONFIG_TWO_UNIVERSAL_MAC_ADDRESS is not set
CONFIG_FOUR_UNIVERSAL_MAC_ADDRESS=y
CONFIG_NUMBER_OF_UNIVERSAL_MAC_ADDRESS=4
# CONFIG_ULP_COPROC_ENABLED is not set
CONFIG_ULP_COPROC_RESERVE_MEM=0
CONFIG_BROWNOUT_DET=y
CONFIG_BROWNOUT_DET_LVL_SEL_0=y
# CONFIG_BROWNOUT_DET_LVL_SEL_1 is not set
# CONFIG_BROWNOUT_DET_LVL_SEL_2 is not set
# CONFIG_BROWNOUT_DET_LVL_SEL_3 is not set
# CONFIG_BROWNOUT_DET_LVL_SEL_4 is not set
# CONFIG_BROWNOUT_DET_LVL_SEL_5 is not set
# CONFIG_BROWNOUT_DET_LVL_SEL_6 is not set
# CONFIG_BROWNOUT_DET_LVL_SEL_7 is not set
CONFIG_BROWNOUT_DET_LVL=0
CONFIG_REDUCE_PHY_TX_POWER=y
CONFIG_ESP32_RTC_CLOCK_SOURCE_INTERNAL_RC=y
# CONFIG_ESP32_RTC_CLOCK_SOURCE_EXTERNAL_CRYSTAL is not set
# CONFIG_ESP32_RTC_CLOCK_SOURCE_EXTERNAL_OSC is not set
# CONFIG_ESP32_RTC_CLOCK_SOURCE_INTERNAL_8MD256 is not set
# CONFIG_DISABLE_BASIC_ROM_CONSOLE is not set
# CONFIG_NO_BLOBS is not set
# CONFIG_COMPATIBLE_PRE_V2_1_BOOTLOADERS is not set
CONFIG_SYSTEM_EVENT_QUEUE_SIZE=32
CONFIG_SYSTEM_EVENT_TASK_STACK_SIZE=2304
CONFIG_MAIN_TASK_STACK_SIZE=3584
CONFIG_IPC_TASK_STACK_SIZE=1024
CONFIG_CONSOLE_UART_DEFAULT=y
# CONFIG_CONSOLE_UART_CUSTOM is not set
# CONFIG_ESP_CONSOLE_UART_NONE is not set
CONFIG_CONSOLE_UART=y
CONFIG_CONSOLE_UART_NUM=0
CONFIG_CONSOLE_UART_BAUDRATE=115200
CONFIG_INT_WDT=y
CONFIG_INT_WDT_TIMEOUT_MS=300
CONFIG_INT_WDT_CHECK_CPU1=y
CONFIG_TASK_WDT=y
# CONFIG_TASK_WDT_PANIC is not set
CONFIG_TASK_WDT_TIMEOUT_S=5
CONFIG_TASK_WDT_CHECK_IDLE_TASK_CPU0=y
CONFIG_TASK_WDT_CHECK_IDLE_TASK_CPU1=y
# CONFIG_EVENT_LOOP_PROFILING is not set
CONFIG_POST_EVENTS_FROM_ISR=y
CONFIG_POST_EVENTS_FROM_IRAM_ISR=y
# CONFIG_ESP32S2_PANIC_PRINT_HALT is not set
CONFIG_ESP32S2_PANIC_PRINT_REBOOT=y
# CONFIG_ESP32S2_PANIC_SILENT_REBOOT is not set
# CONFIG_ESP32S2_PANIC_GDBSTUB is not set
CONFIG_TIMER_TASK_STACK_SIZE=3584
CONFIG_MB_MASTER_TIMEOUT_MS_RESPOND=150
CONFIG_MB_MASTER_DELAY_MS_CONVERT=200
CONFIG_MB_QUEUE_LENGTH=20
CONFIG_MB_SERIAL_TASK_STACK_SIZE=4096
CONFIG_MB_SERIAL_BUF_SIZE=256
CONFIG_MB_SERIAL_TASK_PRIO=10
CONFIG_MB_CONTROLLER_SLAVE_ID_SUPPORT=y
CONFIG_MB_CONTROLLER_SLAVE_ID=0x00112233
CONFIG_MB_CONTROLLER_NOTIFY_TIMEOUT=20
CONFIG_MB_CONTROLLER_NOTIFY_QUEUE_SIZE=20
CONFIG_MB_CONTROLLER_STACK_SIZE=4096
CONFIG_MB_EVENT_QUEUE_TIMEOUT=20
CONFIG_MB_TIMER_PORT_ENABLED=y
CONFIG_MB_TIMER_GROUP=0
CONFIG_MB_TIMER_INDEX=0
# CONFIG_SUPPORT_STATIC_ALLOCATION is not set
CONFIG_TIMER_TASK_PRIORITY=1
CONFIG_TIMER_TASK_STACK_DEPTH=2048
CONFIG_TIMER_QUEUE_LENGTH=10
# CONFIG_L2_TO_L3_COPY is not set
# CONFIG_USE_ONLY_LWIP_SELECT is not set
CONFIG_ESP_GRATUITOUS_ARP=y
CONFIG_GARP_TMR_INTERVAL=60
CONFIG_TCPIP_RECVMBOX_SIZE=32
CONFIG_TCP_MAXRTX=12
CONFIG_TCP_SYNMAXRTX=6
CONFIG_TCP_MSS=1440
CONFIG_TCP_MSL=60000
CONFIG_TCP_SND_BUF_DEFAULT=5744
CONFIG_TCP_WND_DEFAULT=5744
CONFIG_TCP_RECVMBOX_SIZE=6
CONFIG_TCP_QUEUE_OOSEQ=y
# CONFIG_ESP_TCP_KEEP_CONNECTION_WHEN_IP_CHANGES is not set
CONFIG_TCP_OVERSIZE_MSS=y
# CONFIG_TCP_OVERSIZE_QUARTER_MSS is not set
# CONFIG_TCP_OVERSIZE_DISABLE is not set
CONFIG_UDP_RECVMBOX_SIZE=6
CONFIG_TCPIP_TASK_STACK_SIZE=3072
CONFIG_TCPIP_TASK_AFFINITY_NO_AFFINITY=y
# CONFIG_TCPIP_TASK_AFFINITY_CPU0 is not set
# CONFIG_TCPIP_TASK_AFFINITY_CPU1 is not set
CONFIG_TCPIP_TASK_AFFINITY=0x7FFFFFFF
# CONFIG_PPP_SUPPORT is not set
CONFIG_ESP32_PTHREAD_TASK_PRIO_DEFAULT=5
CONFIG_ESP32_PTHREAD_TASK_STACK_SIZE_DEFAULT=3072
CONFIG_ESP32_PTHREAD_STACK_MIN=768
CONFIG_ESP32_DEFAULT_PTHREAD_CORE_NO_AFFINITY=y
# CONFIG_ESP32_DEFAULT_PTHREAD_CORE_0 is not set
# CONFIG_ESP32_DEFAULT_PTHREAD_CORE_1 is not set
CONFIG_ESP32_PTHREAD_TASK_CORE_DEFAULT=-1
CONFIG_ESP32_PTHREAD_TASK_NAME_DEFAULT="pthread"
CONFIG_SPI_FLASH_WRITING_DANGEROUS_REGIONS_ABORTS=y
# CONFIG_SPI_FLASH_WRITING_DANGEROUS_REGIONS_FAILS is not set
# CONFIG_SPI_FLASH_WRITING_DANGEROUS_REGIONS_ALLOWED is not set
CONFIG_SUPPRESS_SELECT_DEBUG_OUTPUT=y
CONFIG_SUPPORT_TERMIOS=y
CONFIG_SEMIHOSTFS_MAX_MOUNT_POINTS=1
CONFIG_SEMIHOSTFS_HOST_PATH_MAX_LEN=128
# End of deprecated options

2.编译

zsw@mylinux:~/esp/ESP_SDK/examples_x/hello_world$ make app
Toolchain path: /home/zsw/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc
Toolchain version: esp-2020r3
Compiler version: 8.4.0
Python requirements from /home/zsw/esp/ESP_SDK/esp-idf/requirements.txt are satisfied.
App "hello-world" version: 5684c43-dirty
CC build/app_trace/app_trace.o
CC build/app_trace/app_trace_util.o
CC build/app_trace/heap_trace_tohost.o
CC build/app_trace/host_file_io.o
CC build/app_trace/gcov/gcov_rtio.o
AR build/app_trace/libapp_trace.a
App "hello-world" version: 5684c43-dirty
CC build/app_update/esp_app_desc.o
CC build/app_update/esp_ota_ops.o
AR build/app_update/libapp_update.a
CXX build/asio/asio/asio/src/asio.o
AR build/asio/libasio.a
CC build/bootloader_support/src/bootloader_clock_init.o
CC build/bootloader_support/src/bootloader_common.o
CC build/bootloader_support/src/bootloader_common_loader.o
CC build/bootloader_support/src/bootloader_efuse_esp32.o
CC build/bootloader_support/src/bootloader_flash.o
CC build/bootloader_support/src/bootloader_flash_config_esp32.o
CC build/bootloader_support/src/bootloader_mem.o
CC build/bootloader_support/src/bootloader_random.o
CC build/bootloader_support/src/bootloader_utility.o
CC build/bootloader_support/src/esp_image_format.o
CC build/bootloader_support/src/flash_encrypt.o
CC build/bootloader_support/src/flash_partitions.o
CC build/bootloader_support/src/flash_qio_mode.o
CC build/bootloader_support/src/idf/bootloader_sha.o
CC build/bootloader_support/src/idf/secure_boot_signatures.o
espsecure.py v3.0-dev
/home/zsw/esp/ESP_SDK/examples_x/hello_world/secure_boot_signing_key.pem public key extracted to /home/zsw/esp/ESP_SDK/examples_x/hello_world/build/bootloader_support/signature_verification_key.bin
EMBED build/bootloader_support/signature_verification_key.bin.bin.o
AR build/bootloader_support/libbootloader_support.a
AR build/bt/libbt.a
CC build/cbor/tinycbor/src/cborencoder.o
CC build/cbor/tinycbor/src/cborencoder_close_container_checked.o
CC build/cbor/tinycbor/src/cborerrorstrings.o
CC build/cbor/tinycbor/src/cborparser.o
CC build/cbor/tinycbor/src/cborparser_dup_string.o
CC build/cbor/tinycbor/src/cborpretty.o
CC build/cbor/tinycbor/src/cborpretty_stdio.o
CC build/cbor/tinycbor/src/cbortojson.o
CC build/cbor/tinycbor/src/cborvalidation.o
CC build/cbor/tinycbor/src/open_memstream.o
AR build/cbor/libcbor.a
AR build/cmock/libcmock.a
CC build/coap/libcoap/src/address.o
CC build/coap/libcoap/src/async.o
CC build/coap/libcoap/src/block.o
CC build/coap/libcoap/src/coap_event.o
CC build/coap/libcoap/src/coap_hashkey.o
CC build/coap/libcoap/src/coap_session.o
CC build/coap/libcoap/src/coap_time.o
CC build/coap/port/coap_debug.o
CC build/coap/libcoap/src/encode.o
CC build/coap/libcoap/src/mem.o
CC build/coap/libcoap/src/net.o
CC build/coap/libcoap/src/option.o
CC build/coap/libcoap/src/pdu.o
CC build/coap/libcoap/src/resource.o
CC build/coap/libcoap/src/str.o
CC build/coap/libcoap/src/subscribe.o
CC build/coap/libcoap/src/uri.o
CC build/coap/port/coap_mbedtls.o
CC build/coap/libcoap/src/coap_io.o
CC build/coap/port/coap_notls.o
AR build/coap/libcoap.a
CC build/console/linenoise/linenoise.o
CC build/console/argtable3/argtable3.o
CC build/console/commands.o
CC build/console/esp_console_repl.o
CC build/console/split_argv.o
AR build/console/libconsole.a
CXX build/cxx/cxx_exception_stubs.o
CXX build/cxx/cxx_guards.o
AR build/cxx/libcxx.a
CC build/driver/adc_common.o
CC build/driver/dac_common.o
CC build/driver/gpio.o
CC build/driver/i2c.o
CC build/driver/i2s.o
CC build/driver/ledc.o
CC build/driver/mcpwm.o
CC build/driver/pcnt.o
CC build/driver/periph_ctrl.o
CC build/driver/rmt.o
CC build/driver/rtc_io.o
CC build/driver/rtc_module.o
CC build/driver/sdio_slave.o
CC build/driver/sdmmc_host.o
CC build/driver/sdmmc_transaction.o
CC build/driver/sdspi_crc.o
CC build/driver/sdspi_host.o
CC build/driver/sdspi_transaction.o
CC build/driver/sigmadelta.o
CC build/driver/spi_bus_lock.o
CC build/driver/spi_common.o
CC build/driver/spi_master.o
CC build/driver/spi_slave.o
CC build/driver/timer.o
CC build/driver/touch_sensor_common.o
CC build/driver/twai.o
CC build/driver/uart.o
CC build/driver/esp32/adc.o
CC build/driver/esp32/dac.o
CC build/driver/esp32/touch_sensor.o
AR build/driver/libdriver.a
CC build/efuse/esp32/esp_efuse_table.o
CC build/efuse/src/esp_efuse_api.o
CC build/efuse/src/esp_efuse_fields.o
CC build/efuse/src/esp_efuse_utility.o
CC build/efuse/src/esp32/esp_efuse_api.o
CC build/efuse/src/esp32/esp_efuse_fields.o
CC build/efuse/src/esp32/esp_efuse_utility.o
AR build/efuse/libefuse.a
CC build/esp-tls/esp_tls.o
CC build/esp-tls/esp_tls_mbedtls.o
AR build/esp-tls/libesp-tls.a
CC build/esp32/cache_err_int.o
CC build/esp32/cache_sram_mmu.o
CC build/esp32/clk.o
CC build/esp32/crosscore_int.o
CC build/esp32/dport_access.o
CC build/esp32/esp_himem.o
CC build/esp32/hw_random.o
CC build/esp32/intr_alloc.o
CC build/esp32/pm_esp32.o
CC build/esp32/pm_trace.o
CC build/esp32/spiram.o
CC build/esp32/spiram_psram.o
CC build/esp32/system_api_esp32.o
AR build/esp32/libesp32.a
CC build/esp_adc_cal/esp_adc_cal_esp32.o
AR build/esp_adc_cal/libesp_adc_cal.a
CC build/esp_common/src/brownout.o
CC build/esp_common/src/dbg_stubs.o
CC build/esp_common/src/esp_err.o
CC build/esp_common/src/esp_err_to_name.o
CC build/esp_common/src/freertos_hooks.o
CC build/esp_common/src/int_wdt.o
CC build/esp_common/src/mac_addr.o
CC build/esp_common/src/pm_locks.o
CC build/esp_common/src/stack_check.o
CC build/esp_common/src/task_wdt.o
AR build/esp_common/libesp_common.a
CC build/esp_eth/src/esp_eth.o
CC build/esp_eth/src/esp_eth_mac_esp32.o
CC build/esp_eth/src/esp_eth_netif_glue.o
CC build/esp_eth/src/esp_eth_phy.o
CC build/esp_eth/src/esp_eth_phy_dp83848.o
CC build/esp_eth/src/esp_eth_phy_ip101.o
CC build/esp_eth/src/esp_eth_phy_ksz8041.o
CC build/esp_eth/src/esp_eth_phy_lan8720.o
CC build/esp_eth/src/esp_eth_phy_rtl8201.o
AR build/esp_eth/libesp_eth.a
CC build/esp_event/default_event_loop.o
CC build/esp_event/esp_event.o
CC build/esp_event/esp_event_private.o
CC build/esp_event/event_loop_legacy.o
CC build/esp_event/event_send.o
AR build/esp_event/libesp_event.a
CC build/esp_gdbstub/src/gdbstub.o
CC build/esp_gdbstub/src/packet.o
CC build/esp_gdbstub/esp32/gdbstub_esp32.o
CC build/esp_gdbstub/xtensa/gdbstub_xtensa.o
AR build/esp_gdbstub/libesp_gdbstub.a
CC build/esp_hid/src/ble_hidd.o
CC build/esp_hid/src/ble_hidh.o
CC build/esp_hid/src/bt_hidh.o
CC build/esp_hid/src/esp_hid_common.o
CC build/esp_hid/src/esp_hidd.o
CC build/esp_hid/src/esp_hidh.o
AR build/esp_hid/libesp_hid.a
CC build/esp_http_client/esp_http_client.o
CC build/esp_http_client/lib/http_auth.o
CC build/esp_http_client/lib/http_header.o
CC build/esp_http_client/lib/http_utils.o
AR build/esp_http_client/libesp_http_client.a
CC build/esp_http_server/src/httpd_main.o
CC build/esp_http_server/src/httpd_parse.o
CC build/esp_http_server/src/httpd_sess.o
CC build/esp_http_server/src/httpd_txrx.o
CC build/esp_http_server/src/httpd_uri.o
CC build/esp_http_server/src/httpd_ws.o
CC build/esp_http_server/src/util/ctrl_sock.o
AR build/esp_http_server/libesp_http_server.a
CC build/esp_https_ota/src/esp_https_ota.o
AR build/esp_https_ota/libesp_https_ota.a
CC build/esp_ipc/ipc.o
AR build/esp_ipc/libesp_ipc.a
CC build/esp_local_ctrl/src/esp_local_ctrl.o
CC build/esp_local_ctrl/src/esp_local_ctrl_handler.o
CC build/esp_local_ctrl/proto-c/esp_local_ctrl.pb-c.o
AR build/esp_local_ctrl/libesp_local_ctrl.a
CC build/esp_netif/esp_netif_defaults.o
CC build/esp_netif/esp_netif_handlers.o
CC build/esp_netif/esp_netif_objects.o
CC build/esp_netif/lwip/esp_netif_lwip.o
CC build/esp_netif/lwip/esp_netif_lwip_defaults.o
CC build/esp_netif/lwip/esp_netif_lwip_ppp.o
CC build/esp_netif/lwip/esp_netif_lwip_slip.o
CC build/esp_netif/lwip/esp_netif_sta_list.o
CC build/esp_netif/loopback/esp_netif_loopback.o
AR build/esp_netif/libesp_netif.a
CC build/esp_ringbuf/ringbuf.o
AR build/esp_ringbuf/libesp_ringbuf.a
CC build/esp_rom/patches/esp_rom_crc.o
CC build/esp_rom/patches/esp_rom_sys.o
CC build/esp_rom/patches/esp_rom_uart.o
AR build/esp_rom/libesp_rom.a
CC build/esp_serial_slave_link/essl.o
CC build/esp_serial_slave_link/essl_sdio.o
CC build/esp_serial_slave_link/essl_spi.o
AR build/esp_serial_slave_link/libesp_serial_slave_link.a
CC build/esp_system/panic.o
CC build/esp_system/sleep_modes.o
CC build/esp_system/startup.o
CC build/esp_system/system_api.o
CC build/esp_system/system_time.o
CC build/esp_system/port/cpu_start.o
CC build/esp_system/port/panic_handler.o
CC build/esp_system/port/esp32/clk.o
CC build/esp_system/port/esp32/intr.o
CC build/esp_system/port/esp32/reset_reason.o
AS build/esp_system/port/panic_handler_asm.o
AS build/esp_system/port/esp32/dport_panic_highint_hdl.o
AR build/esp_system/libesp_system.a
CC build/esp_timer/src/esp_timer.o
CC build/esp_timer/src/esp_timer_impl_lac.o
CC build/esp_timer/src/ets_timer_legacy.o
AR build/esp_timer/libesp_timer.a
CC build/esp_websocket_client/esp_websocket_client.o
AR build/esp_websocket_client/libesp_websocket_client.a
CC build/esp_wifi/src/coexist.o
CC build/esp_wifi/src/lib_printf.o
CC build/esp_wifi/src/mesh_event.o
CC build/esp_wifi/src/phy_init.o
CC build/esp_wifi/src/smartconfig_ack.o
CC build/esp_wifi/src/smartconfig.o
CC build/esp_wifi/src/wifi_default.o
CC build/esp_wifi/src/wifi_init.o
CC build/esp_wifi/src/wifi_netif.o
CC build/esp_wifi/esp32/esp_adapter.o
AR build/esp_wifi/libesp_wifi.a
CC build/espcoredump/src/core_dump_common.o
CC build/espcoredump/src/core_dump_elf.o
CC build/espcoredump/src/core_dump_flash.o
CC build/espcoredump/src/core_dump_port.o
CC build/espcoredump/src/core_dump_uart.o
AR build/espcoredump/libespcoredump.a
CC build/expat/expat/expat/lib/loadlibrary.o
CC build/expat/expat/expat/lib/xmlparse.o
CC build/expat/expat/expat/lib/xmlrole.o
CC build/expat/expat/expat/lib/xmltok.o
CC build/expat/expat/expat/lib/xmltok_impl.o
CC build/expat/expat/expat/lib/xmltok_ns.o
AR build/expat/libexpat.a
CC build/fatfs/diskio/diskio.o
CC build/fatfs/diskio/diskio_rawflash.o
CC build/fatfs/diskio/diskio_sdmmc.o
CC build/fatfs/diskio/diskio_wl.o
CC build/fatfs/vfs/vfs_fat.o
CC build/fatfs/vfs/vfs_fat_sdmmc.o
CC build/fatfs/vfs/vfs_fat_spiflash.o
CC build/fatfs/port/freertos/ffsystem.o
CC build/fatfs/src/ff.o
CC build/fatfs/src/ffunicode.o
AR build/fatfs/libfatfs.a
CC build/freemodbus/common/esp_modbus_master.o
CC build/freemodbus/common/esp_modbus_master_serial.o
CC build/freemodbus/common/esp_modbus_master_tcp.o
CC build/freemodbus/common/esp_modbus_slave.o
CC build/freemodbus/common/esp_modbus_slave_serial.o
CC build/freemodbus/common/esp_modbus_slave_tcp.o
CC build/freemodbus/modbus/mb.o
CC build/freemodbus/modbus/mb_m.o
CC build/freemodbus/modbus/ascii/mbascii.o
CC build/freemodbus/modbus/ascii/mbascii_m.o
CC build/freemodbus/modbus/functions/mbfunccoils.o
CC build/freemodbus/modbus/functions/mbfunccoils_m.o
CC build/freemodbus/modbus/functions/mbfuncdiag.o
CC build/freemodbus/modbus/functions/mbfuncdisc.o
CC build/freemodbus/modbus/functions/mbfuncdisc_m.o
CC build/freemodbus/modbus/functions/mbfuncholding.o
CC build/freemodbus/modbus/functions/mbfuncholding_m.o
CC build/freemodbus/modbus/functions/mbfuncinput.o
CC build/freemodbus/modbus/functions/mbfuncinput_m.o
CC build/freemodbus/modbus/functions/mbfuncother.o
CC build/freemodbus/modbus/functions/mbutils.o
CC build/freemodbus/modbus/rtu/mbcrc.o
CC build/freemodbus/modbus/rtu/mbrtu.o
CC build/freemodbus/modbus/rtu/mbrtu_m.o
CC build/freemodbus/modbus/tcp/mbtcp.o
CC build/freemodbus/modbus/tcp/mbtcp_m.o
CC build/freemodbus/serial_slave/modbus_controller/mbc_serial_slave.o
CC build/freemodbus/serial_master/modbus_controller/mbc_serial_master.o
CC build/freemodbus/tcp_slave/port/port_tcp_slave.o
CC build/freemodbus/tcp_slave/modbus_controller/mbc_tcp_slave.o
CC build/freemodbus/tcp_master/port/port_tcp_master.o
CC build/freemodbus/tcp_master/modbus_controller/mbc_tcp_master.o
CC build/freemodbus/port/port.o
CC build/freemodbus/port/portevent.o
CC build/freemodbus/port/portevent_m.o
CC build/freemodbus/port/portother.o
CC build/freemodbus/port/portother_m.o
CC build/freemodbus/port/portserial.o
CC build/freemodbus/port/portserial_m.o
CC build/freemodbus/port/porttimer.o
CC build/freemodbus/port/porttimer_m.o
AR build/freemodbus/libfreemodbus.a
CC build/freertos/croutine.o
CC build/freertos/event_groups.o
CC build/freertos/FreeRTOS-openocd.o
CC build/freertos/list.o
CC build/freertos/queue.o
CC build/freertos/tasks.o
CC build/freertos/timers.o
CC build/freertos/xtensa/port.o
CC build/freertos/xtensa/xtensa_init.o
CC build/freertos/xtensa/xtensa_intr.o
CC build/freertos/xtensa/xtensa_overlay_os_hook.o
AS build/freertos/xtensa/portasm.o
AS build/freertos/xtensa/xtensa_context.o
AS build/freertos/xtensa/xtensa_intr_asm.o
AS build/freertos/xtensa/xtensa_vector_defaults.o
AS build/freertos/xtensa/xtensa_vectors.o
AR build/freertos/libfreertos.a
CC build/hal/adc_hal.o
CC build/hal/cpu_hal.o
CC build/hal/dac_hal.o
CC build/hal/gpio_hal.o
CC build/hal/i2c_hal.o
CC build/hal/i2c_hal_iram.o
CC build/hal/i2s_hal.o
CC build/hal/ledc_hal.o
CC build/hal/ledc_hal_iram.o
CC build/hal/mcpwm_hal.o
CC build/hal/mpu_hal.o
CC build/hal/pcnt_hal.o
CC build/hal/rmt_hal.o
CC build/hal/rtc_io_hal.o
CC build/hal/sdio_slave_hal.o
CC build/hal/sigmadelta_hal.o
CC build/hal/soc_hal.o
CC build/hal/spi_flash_hal.o
CC build/hal/spi_flash_hal_iram.o
CC build/hal/spi_hal.o
CC build/hal/spi_hal_iram.o
CC build/hal/spi_slave_hal.o
CC build/hal/spi_slave_hal_iram.o
CC build/hal/timer_hal.o
CC build/hal/touch_sensor_hal.o
CC build/hal/twai_hal.o
CC build/hal/uart_hal.o
CC build/hal/uart_hal_iram.o
CC build/hal/wdt_hal_iram.o
CC build/hal/esp32/adc_hal.o
CC build/hal/esp32/brownout_hal.o
CC build/hal/esp32/emac_hal.o
CC build/hal/esp32/touch_sensor_hal.o
AR build/hal/libhal.a
CC build/heap/heap_caps_init.o
CC build/heap/heap_caps.o
CC build/heap/multi_heap.o
AR build/heap/libheap.a
AR build/idf_test/libidf_test.a
CC build/jsmn/src//jsmn.o
AR build/jsmn/libjsmn.a
CC build/json/cJSON/cJSON.o
CC build/json/cJSON/cJSON_Utils.o
AR build/json/libjson.a
CC build/libsodium/port/randombytes_esp32.o
CC build/libsodium/libsodium/src/libsodium/crypto_aead/chacha20poly1305/sodium/aead_chacha20poly1305.o
CC build/libsodium/libsodium/src/libsodium/crypto_aead/xchacha20poly1305/sodium/aead_xchacha20poly1305.o
CC build/libsodium/libsodium/src/libsodium/crypto_auth/crypto_auth.o
CC build/libsodium/libsodium/src/libsodium/crypto_auth/hmacsha256/auth_hmacsha256.o
CC build/libsodium/libsodium/src/libsodium/crypto_auth/hmacsha512/auth_hmacsha512.o
CC build/libsodium/libsodium/src/libsodium/crypto_auth/hmacsha512256/auth_hmacsha512256.o
CC build/libsodium/libsodium/src/libsodium/crypto_box/crypto_box.o
CC build/libsodium/libsodium/src/libsodium/crypto_box/crypto_box_easy.o
CC build/libsodium/libsodium/src/libsodium/crypto_box/crypto_box_seal.o
CC build/libsodium/libsodium/src/libsodium/crypto_box/curve25519xsalsa20poly1305/box_curve25519xsalsa20poly1305.o
CC build/libsodium/libsodium/src/libsodium/crypto_core/curve25519/ref10/curve25519_ref10.o
CC build/libsodium/libsodium/src/libsodium/crypto_core/hchacha20/core_hchacha20.o
CC build/libsodium/libsodium/src/libsodium/crypto_core/hsalsa20/ref2/core_hsalsa20_ref2.o
CC build/libsodium/libsodium/src/libsodium/crypto_core/hsalsa20/core_hsalsa20.o
CC build/libsodium/libsodium/src/libsodium/crypto_core/salsa/ref/core_salsa_ref.o
CC build/libsodium/libsodium/src/libsodium/crypto_generichash/crypto_generichash.o
CC build/libsodium/libsodium/src/libsodium/crypto_generichash/blake2b/generichash_blake2.o
CC build/libsodium/libsodium/src/libsodium/crypto_generichash/blake2b/ref/blake2b-compress-avx2.o
CC build/libsodium/libsodium/src/libsodium/crypto_generichash/blake2b/ref/blake2b-compress-ref.o
CC build/libsodium/libsodium/src/libsodium/crypto_generichash/blake2b/ref/blake2b-compress-sse41.o
CC build/libsodium/libsodium/src/libsodium/crypto_generichash/blake2b/ref/blake2b-compress-ssse3.o
CC build/libsodium/libsodium/src/libsodium/crypto_generichash/blake2b/ref/blake2b-ref.o
CC build/libsodium/libsodium/src/libsodium/crypto_generichash/blake2b/ref/generichash_blake2b.o
CC build/libsodium/libsodium/src/libsodium/crypto_hash/crypto_hash.o
CC build/libsodium/libsodium/src/libsodium/crypto_hash/sha256/hash_sha256.o
CC build/libsodium/libsodium/src/libsodium/crypto_hash/sha512/hash_sha512.o
CC build/libsodium/libsodium/src/libsodium/crypto_kdf/blake2b/kdf_blake2b.o
CC build/libsodium/libsodium/src/libsodium/crypto_kdf/crypto_kdf.o
CC build/libsodium/libsodium/src/libsodium/crypto_kx/crypto_kx.o
CC build/libsodium/libsodium/src/libsodium/crypto_onetimeauth/crypto_onetimeauth.o
CC build/libsodium/libsodium/src/libsodium/crypto_onetimeauth/poly1305/onetimeauth_poly1305.o
CC build/libsodium/libsodium/src/libsodium/crypto_onetimeauth/poly1305/donna/poly1305_donna.o
CC build/libsodium/libsodium/src/libsodium/crypto_pwhash/argon2/argon2.o
CC build/libsodium/libsodium/src/libsodium/crypto_pwhash/argon2/argon2-core.o
CC build/libsodium/libsodium/src/libsodium/crypto_pwhash/argon2/argon2-encoding.o
CC build/libsodium/libsodium/src/libsodium/crypto_pwhash/argon2/argon2-fill-block-ref.o
CC build/libsodium/libsodium/src/libsodium/crypto_pwhash/argon2/argon2-fill-block-ssse3.o
CC build/libsodium/libsodium/src/libsodium/crypto_pwhash/argon2/blake2b-long.o
CC build/libsodium/libsodium/src/libsodium/crypto_pwhash/argon2/pwhash_argon2i.o
CC build/libsodium/libsodium/src/libsodium/crypto_pwhash/crypto_pwhash.o
CC build/libsodium/libsodium/src/libsodium/crypto_pwhash/scryptsalsa208sha256/crypto_scrypt-common.o
CC build/libsodium/libsodium/src/libsodium/crypto_pwhash/scryptsalsa208sha256/pbkdf2-sha256.o
CC build/libsodium/libsodium/src/libsodium/crypto_pwhash/scryptsalsa208sha256/pwhash_scryptsalsa208sha256.o
CC build/libsodium/libsodium/src/libsodium/crypto_pwhash/scryptsalsa208sha256/scrypt_platform.o
CC build/libsodium/libsodium/src/libsodium/crypto_pwhash/scryptsalsa208sha256/nosse/pwhash_scryptsalsa208sha256_nosse.o
CC build/libsodium/libsodium/src/libsodium/crypto_scalarmult/crypto_scalarmult.o
CC build/libsodium/libsodium/src/libsodium/crypto_scalarmult/curve25519/scalarmult_curve25519.o
CC build/libsodium/libsodium/src/libsodium/crypto_scalarmult/curve25519/ref10/x25519_ref10.o
CC build/libsodium/libsodium/src/libsodium/crypto_secretbox/crypto_secretbox.o
CC build/libsodium/libsodium/src/libsodium/crypto_secretbox/crypto_secretbox_easy.o
CC build/libsodium/libsodium/src/libsodium/crypto_secretbox/xsalsa20poly1305/secretbox_xsalsa20poly1305.o
CC build/libsodium/libsodium/src/libsodium/crypto_shorthash/crypto_shorthash.o
CC build/libsodium/libsodium/src/libsodium/crypto_shorthash/siphash24/shorthash_siphash24.o
CC build/libsodium/libsodium/src/libsodium/crypto_shorthash/siphash24/shorthash_siphashx24.o
CC build/libsodium/libsodium/src/libsodium/crypto_shorthash/siphash24/ref/shorthash_siphash24_ref.o
CC build/libsodium/libsodium/src/libsodium/crypto_shorthash/siphash24/ref/shorthash_siphashx24_ref.o
CC build/libsodium/libsodium/src/libsodium/crypto_sign/crypto_sign.o
CC build/libsodium/libsodium/src/libsodium/crypto_sign/ed25519/sign_ed25519.o
CC build/libsodium/libsodium/src/libsodium/crypto_sign/ed25519/ref10/keypair.o
CC build/libsodium/libsodium/src/libsodium/crypto_sign/ed25519/ref10/obsolete.o
CC build/libsodium/libsodium/src/libsodium/crypto_sign/ed25519/ref10/open.o
CC build/libsodium/libsodium/src/libsodium/crypto_sign/ed25519/ref10/sign.o
CC build/libsodium/libsodium/src/libsodium/crypto_stream/chacha20/stream_chacha20.o
CC build/libsodium/libsodium/src/libsodium/crypto_stream/chacha20/ref/chacha20_ref.o
CC build/libsodium/libsodium/src/libsodium/crypto_stream/crypto_stream.o
CC build/libsodium/libsodium/src/libsodium/crypto_stream/salsa20/stream_salsa20.o
CC build/libsodium/libsodium/src/libsodium/crypto_stream/salsa20/ref/salsa20_ref.o
CC build/libsodium/libsodium/src/libsodium/crypto_stream/xsalsa20/stream_xsalsa20.o
CC build/libsodium/libsodium/src/libsodium/crypto_verify/sodium/verify.o
CC build/libsodium/libsodium/src/libsodium/randombytes/randombytes.o
CC build/libsodium/libsodium/src/libsodium/sodium/core.o
CC build/libsodium/libsodium/src/libsodium/sodium/runtime.o
CC build/libsodium/libsodium/src/libsodium/sodium/utils.o
CC build/libsodium/libsodium/src/libsodium/sodium/version.o
CC build/libsodium/libsodium/src/libsodium/crypto_hash/sha256/cp/hash_sha256_cp.o
CC build/libsodium/libsodium/src/libsodium/crypto_hash/sha512/cp/hash_sha512_cp.o
AR build/libsodium/liblibsodium.a
CC build/log/log_buffers.o
CC build/log/log.o
CC build/log/log_freertos.o
AR build/log/liblog.a
CC build/lwip/apps/dhcpserver/dhcpserver.o
CC build/lwip/apps/ping/esp_ping.o
CC build/lwip/apps/ping/ping.o
CC build/lwip/apps/ping/ping_sock.o
CC build/lwip/apps/sntp/sntp.o
CC build/lwip/lwip/src/api/api_lib.o
CC build/lwip/lwip/src/api/api_msg.o
CC build/lwip/lwip/src/api/err.o
CC build/lwip/lwip/src/api/if_api.o
CC build/lwip/lwip/src/api/netbuf.o
CC build/lwip/lwip/src/api/netdb.o
CC build/lwip/lwip/src/api/netifapi.o
CC build/lwip/lwip/src/api/sockets.o
CC build/lwip/lwip/src/api/tcpip.o
CC build/lwip/lwip/src/apps/sntp/sntp.o
CC build/lwip/lwip/src/apps/netbiosns/netbiosns.o
CC build/lwip/lwip/src/core/altcp_alloc.o
CC build/lwip/lwip/src/core/altcp.o
CC build/lwip/lwip/src/core/altcp_tcp.o
CC build/lwip/lwip/src/core/def.o
CC build/lwip/lwip/src/core/dns.o
CC build/lwip/lwip/src/core/inet_chksum.o
CC build/lwip/lwip/src/core/init.o
CC build/lwip/lwip/src/core/ip.o
CC build/lwip/lwip/src/core/mem.o
CC build/lwip/lwip/src/core/memp.o
CC build/lwip/lwip/src/core/netif.o
CC build/lwip/lwip/src/core/pbuf.o
CC build/lwip/lwip/src/core/raw.o
CC build/lwip/lwip/src/core/stats.o
CC build/lwip/lwip/src/core/sys.o
CC build/lwip/lwip/src/core/tcp.o
CC build/lwip/lwip/src/core/tcp_in.o
CC build/lwip/lwip/src/core/tcp_out.o
CC build/lwip/lwip/src/core/timeouts.o
CC build/lwip/lwip/src/core/udp.o
CC build/lwip/lwip/src/core/ipv4/autoip.o
CC build/lwip/lwip/src/core/ipv4/dhcp.o
CC build/lwip/lwip/src/core/ipv4/etharp.o
CC build/lwip/lwip/src/core/ipv4/icmp.o
CC build/lwip/lwip/src/core/ipv4/igmp.o
CC build/lwip/lwip/src/core/ipv4/ip4_addr.o
CC build/lwip/lwip/src/core/ipv4/ip4.o
CC build/lwip/lwip/src/core/ipv4/ip4_frag.o
CC build/lwip/lwip/src/core/ipv4/ip4_napt.o
CC build/lwip/lwip/src/core/ipv6/dhcp6.o
CC build/lwip/lwip/src/core/ipv6/ethip6.o
CC build/lwip/lwip/src/core/ipv6/icmp6.o
CC build/lwip/lwip/src/core/ipv6/inet6.o
CC build/lwip/lwip/src/core/ipv6/ip6_addr.o
CC build/lwip/lwip/src/core/ipv6/ip6.o
CC build/lwip/lwip/src/core/ipv6/ip6_frag.o
CC build/lwip/lwip/src/core/ipv6/mld6.o
CC build/lwip/lwip/src/core/ipv6/nd6.o
CC build/lwip/lwip/src/netif/bridgeif.o
CC build/lwip/lwip/src/netif/bridgeif_fdb.o
CC build/lwip/lwip/src/netif/ethernet.o
CC build/lwip/lwip/src/netif/lowpan6_ble.o
CC build/lwip/lwip/src/netif/lowpan6.o
CC build/lwip/lwip/src/netif/lowpan6_common.o
CC build/lwip/lwip/src/netif/slipif.o
CC build/lwip/lwip/src/netif/zepif.o
CC build/lwip/port/esp32/vfs_lwip.o
CC build/lwip/port/esp32/freertos/sys_arch.o
CC build/lwip/port/esp32/netif/dhcp_state.o
CC build/lwip/port/esp32/netif/ethernetif.o
CC build/lwip/port/esp32/netif/wlanif.o
CC build/lwip/port/esp32/debug/lwip_debug.o
AR build/lwip/liblwip.a
CC build/main/hello_world_main.o
AR build/main/libmain.a
CC build/mbedtls/mbedtls/library/aes.o
CC build/mbedtls/mbedtls/library/aesni.o
CC build/mbedtls/mbedtls/library/arc4.o
CC build/mbedtls/mbedtls/library/aria.o
CC build/mbedtls/mbedtls/library/asn1parse.o
CC build/mbedtls/mbedtls/library/asn1write.o
CC build/mbedtls/mbedtls/library/base64.o
CC build/mbedtls/mbedtls/library/bignum.o
CC build/mbedtls/mbedtls/library/blowfish.o
CC build/mbedtls/mbedtls/library/camellia.o
CC build/mbedtls/mbedtls/library/ccm.o
CC build/mbedtls/mbedtls/library/certs.o
CC build/mbedtls/mbedtls/library/chacha20.o
CC build/mbedtls/mbedtls/library/chachapoly.o
CC build/mbedtls/mbedtls/library/cipher.o
CC build/mbedtls/mbedtls/library/cipher_wrap.o
CC build/mbedtls/mbedtls/library/cmac.o
CC build/mbedtls/mbedtls/library/ctr_drbg.o
CC build/mbedtls/mbedtls/library/debug.o
CC build/mbedtls/mbedtls/library/des.o
CC build/mbedtls/mbedtls/library/dhm.o
CC build/mbedtls/mbedtls/library/ecdh.o
CC build/mbedtls/mbedtls/library/ecdsa.o
CC build/mbedtls/mbedtls/library/ecjpake.o
CC build/mbedtls/mbedtls/library/ecp.o
CC build/mbedtls/mbedtls/library/ecp_curves.o
CC build/mbedtls/mbedtls/library/entropy.o
CC build/mbedtls/mbedtls/library/entropy_poll.o
CC build/mbedtls/mbedtls/library/error.o
CC build/mbedtls/mbedtls/library/gcm.o
CC build/mbedtls/mbedtls/library/havege.o
CC build/mbedtls/mbedtls/library/hkdf.o
CC build/mbedtls/mbedtls/library/hmac_drbg.o
CC build/mbedtls/mbedtls/library/md2.o
CC build/mbedtls/mbedtls/library/md4.o
CC build/mbedtls/mbedtls/library/md5.o
CC build/mbedtls/mbedtls/library/md.o
CC build/mbedtls/mbedtls/library/md_wrap.o
CC build/mbedtls/mbedtls/library/memory_buffer_alloc.o
CC build/mbedtls/mbedtls/library/nist_kw.o
CC build/mbedtls/mbedtls/library/oid.o
CC build/mbedtls/mbedtls/library/padlock.o
CC build/mbedtls/mbedtls/library/pem.o
CC build/mbedtls/mbedtls/library/pk.o
CC build/mbedtls/mbedtls/library/pkcs11.o
CC build/mbedtls/mbedtls/library/pkcs12.o
CC build/mbedtls/mbedtls/library/pkcs5.o
CC build/mbedtls/mbedtls/library/pkparse.o
CC build/mbedtls/mbedtls/library/pk_wrap.o
CC build/mbedtls/mbedtls/library/pkwrite.o
CC build/mbedtls/mbedtls/library/platform.o
CC build/mbedtls/mbedtls/library/platform_util.o
CC build/mbedtls/mbedtls/library/poly1305.o
CC build/mbedtls/mbedtls/library/ripemd160.o
CC build/mbedtls/mbedtls/library/rsa.o
CC build/mbedtls/mbedtls/library/rsa_internal.o
CC build/mbedtls/mbedtls/library/sha1.o
CC build/mbedtls/mbedtls/library/sha256.o
CC build/mbedtls/mbedtls/library/sha512.o
CC build/mbedtls/mbedtls/library/ssl_cache.o
CC build/mbedtls/mbedtls/library/ssl_ciphersuites.o
CC build/mbedtls/mbedtls/library/ssl_cli.o
CC build/mbedtls/mbedtls/library/ssl_cookie.o
CC build/mbedtls/mbedtls/library/ssl_srv.o
CC build/mbedtls/mbedtls/library/ssl_ticket.o
CC build/mbedtls/mbedtls/library/ssl_tls.o
CC build/mbedtls/mbedtls/library/threading.o
CC build/mbedtls/mbedtls/library/timing.o
CC build/mbedtls/mbedtls/library/version.o
CC build/mbedtls/mbedtls/library/version_features.o
CC build/mbedtls/mbedtls/library/x509.o
CC build/mbedtls/mbedtls/library/x509_create.o
CC build/mbedtls/mbedtls/library/x509_crl.o
CC build/mbedtls/mbedtls/library/x509_crt.o
CC build/mbedtls/mbedtls/library/x509_csr.o
CC build/mbedtls/mbedtls/library/x509write_crt.o
CC build/mbedtls/mbedtls/library/x509write_csr.o
CC build/mbedtls/mbedtls/library/xtea.o
CC build/mbedtls/port/esp_aes_xts.o
CC build/mbedtls/port/esp_bignum.o
CC build/mbedtls/port/esp_hardware.o
CC build/mbedtls/port/esp_mem.o
CC build/mbedtls/port/esp_sha.o
CC build/mbedtls/port/esp_timing.o
CC build/mbedtls/port/mbedtls_debug.o
CC build/mbedtls/port/net_sockets.o
CC build/mbedtls/port/esp32/aes.o
CC build/mbedtls/port/esp32/bignum.o
CC build/mbedtls/port/esp32/esp_sha1.o
CC build/mbedtls/port/esp32/esp_sha256.o
CC build/mbedtls/port/esp32/esp_sha512.o
CC build/mbedtls/port/esp32/sha.o
CC build/mbedtls/esp_crt_bundle/esp_crt_bundle.o
EMBED build/mbedtls/x509_crt_bundle.bin.o
AR build/mbedtls/libmbedtls.a
CC build/mdns/mdns.o
CC build/mdns/mdns_console.o
CC build/mdns/mdns_networking.o
AR build/mdns/libmdns.a
CC build/mqtt/esp-mqtt/mqtt_client.o
CC build/mqtt/esp-mqtt/lib/mqtt_msg.o
CC build/mqtt/esp-mqtt/lib/mqtt_outbox.o
CC build/mqtt/esp-mqtt/lib/platform_esp32_idf.o
AR build/mqtt/libmqtt.a
CC build/newlib/abort.o
CC build/newlib/heap.o
CC build/newlib/locks.o
CC build/newlib/poll.o
CC build/newlib/pthread.o
CC build/newlib/random.o
CC build/newlib/reent_init.o
CC build/newlib/syscalls.o
CC build/newlib/syscall_table.o
CC build/newlib/termios.o
CC build/newlib/time.o
CC build/newlib/port/esp_time_impl.o
AR build/newlib/libnewlib.a
CC build/nghttp/nghttp2/lib/nghttp2_buf.o
CC build/nghttp/nghttp2/lib/nghttp2_callbacks.o
CC build/nghttp/nghttp2/lib/nghttp2_debug.o
CC build/nghttp/nghttp2/lib/nghttp2_frame.o
CC build/nghttp/nghttp2/lib/nghttp2_hd.o
CC build/nghttp/nghttp2/lib/nghttp2_hd_huffman.o
CC build/nghttp/nghttp2/lib/nghttp2_hd_huffman_data.o
CC build/nghttp/nghttp2/lib/nghttp2_helper.o
CC build/nghttp/nghttp2/lib/nghttp2_http.o
CC build/nghttp/nghttp2/lib/nghttp2_map.o
CC build/nghttp/nghttp2/lib/nghttp2_mem.o
CC build/nghttp/nghttp2/lib/nghttp2_npn.o
CC build/nghttp/nghttp2/lib/nghttp2_option.o
CC build/nghttp/nghttp2/lib/nghttp2_outbound_item.o
CC build/nghttp/nghttp2/lib/nghttp2_pq.o
CC build/nghttp/nghttp2/lib/nghttp2_priority_spec.o
CC build/nghttp/nghttp2/lib/nghttp2_queue.o
CC build/nghttp/nghttp2/lib/nghttp2_rcbuf.o
CC build/nghttp/nghttp2/lib/nghttp2_session.o
CC build/nghttp/nghttp2/lib/nghttp2_stream.o
CC build/nghttp/nghttp2/lib/nghttp2_submit.o
CC build/nghttp/nghttp2/lib/nghttp2_version.o
CC build/nghttp/port/http_parser.o
AR build/nghttp/libnghttp.a
CXX build/nvs_flash/src/nvs_api.o
CXX build/nvs_flash/src/nvs_cxx_api.o
CXX build/nvs_flash/src/nvs_handle_locked.o
CXX build/nvs_flash/src/nvs_handle_simple.o
CXX build/nvs_flash/src/nvs_item_hash_list.o
CXX build/nvs_flash/src/nvs_ops.o
CXX build/nvs_flash/src/nvs_page.o
CXX build/nvs_flash/src/nvs_pagemanager.o
CXX build/nvs_flash/src/nvs_partition_manager.o
CXX build/nvs_flash/src/nvs_storage.o
CXX build/nvs_flash/src/nvs_types.o
AR build/nvs_flash/libnvs_flash.a
CC build/openssl/library/ssl_bio.o
CC build/openssl/library/ssl_cert.o
CC build/openssl/library/ssl_err.o
CC build/openssl/library/ssl_lib.o
CC build/openssl/library/ssl_methods.o
CC build/openssl/library/ssl_pkey.o
CC build/openssl/library/ssl_stack.o
CC build/openssl/library/ssl_x509.o
CC build/openssl/platform/ssl_pm.o
CC build/openssl/platform/ssl_port.o
AR build/openssl/libopenssl.a
CC build/perfmon/xtensa_perfmon_access.o
CC build/perfmon/xtensa_perfmon_apis.o
CC build/perfmon/xtensa_perfmon_masks.o
AR build/perfmon/libperfmon.a
CC build/protobuf-c/protobuf-c/protobuf-c/protobuf-c.o
AR build/protobuf-c/libprotobuf-c.a
CC build/protocomm/src/common/protocomm.o
CC build/protocomm/src/security/security0.o
CC build/protocomm/src/security/security1.o
CC build/protocomm/proto-c/constants.pb-c.o
CC build/protocomm/proto-c/sec0.pb-c.o
CC build/protocomm/proto-c/sec1.pb-c.o
CC build/protocomm/proto-c/session.pb-c.o
CC build/protocomm/src/transports/protocomm_console.o
CC build/protocomm/src/transports/protocomm_httpd.o
AR build/protocomm/libprotocomm.a
CC build/pthread/pthread.o
CC build/pthread/pthread_cond_var.o
CC build/pthread/pthread_local_storage.o
AR build/pthread/libpthread.a
CC build/sdmmc/sdmmc_cmd.o
CC build/sdmmc/sdmmc_common.o
CC build/sdmmc/sdmmc_init.o
CC build/sdmmc/sdmmc_io.o
CC build/sdmmc/sdmmc_mmc.o
CC build/sdmmc/sdmmc_sd.o
AR build/sdmmc/libsdmmc.a
CC build/soc/src/compare_set.o
CC build/soc/src/cpu_util.o
CC build/soc/src/lldesc.o
CC build/soc/src/memory_layout_utils.o
CC build/soc/src/soc_include_legacy_warn.o
CC build/soc/src/esp32/rtc_clk.o
CC build/soc/src/esp32/rtc_clk_init.o
CC build/soc/src/esp32/rtc_init.o
CC build/soc/src/esp32/rtc_pm.o
CC build/soc/src/esp32/rtc_sleep.o
CC build/soc/src/esp32/rtc_time.o
CC build/soc/src/esp32/rtc_wdt.o
CC build/soc/src/esp32/soc_memory_layout.o
CC build/soc/soc/esp32/adc_periph.o
CC build/soc/soc/esp32/dac_periph.o
CC build/soc/soc/esp32/gpio_periph.o
CC build/soc/soc/esp32/i2c_periph.o
CC build/soc/soc/esp32/i2s_periph.o
CC build/soc/soc/esp32/interrupts.o
CC build/soc/soc/esp32/ledc_periph.o
CC build/soc/soc/esp32/rtc_io_periph.o
CC build/soc/soc/esp32/rtc_periph.o
CC build/soc/soc/esp32/sdio_slave_periph.o
CC build/soc/soc/esp32/sdmmc_periph.o
CC build/soc/soc/esp32/spi_periph.o
CC build/soc/soc/esp32/touch_sensor_periph.o
CC build/soc/soc/esp32/uart_periph.o
AR build/soc/libsoc.a
CC build/spi_flash/cache_utils.o
CC build/spi_flash/esp_flash_api.o
CC build/spi_flash/esp_flash_spi_init.o
CC build/spi_flash/flash_mmap.o
CC build/spi_flash/flash_ops.o
CC build/spi_flash/memspi_host_driver.o
CC build/spi_flash/partition.o
CC build/spi_flash/spi_flash_chip_drivers.o
CC build/spi_flash/spi_flash_chip_gd.o
CC build/spi_flash/spi_flash_chip_generic.o
CC build/spi_flash/spi_flash_chip_issi.o
CC build/spi_flash/spi_flash_chip_mxic.o
CC build/spi_flash/spi_flash_os_func_app.o
CC build/spi_flash/spi_flash_os_func_noos.o
CC build/spi_flash/esp32/flash_ops_esp32.o
CC build/spi_flash/esp32/spi_flash_rom_patch.o
AR build/spi_flash/libspi_flash.a
CC build/spiffs/esp_spiffs.o
CC build/spiffs/spiffs_api.o
CC build/spiffs/spiffs/src/spiffs_cache.o
CC build/spiffs/spiffs/src/spiffs_check.o
CC build/spiffs/spiffs/src/spiffs_gc.o
CC build/spiffs/spiffs/src/spiffs_hydrogen.o
CC build/spiffs/spiffs/src/spiffs_nucleus.o
AR build/spiffs/libspiffs.a
CC build/tcp_transport/transport.o
CC build/tcp_transport/transport_ssl.o
CC build/tcp_transport/transport_tcp.o
CC build/tcp_transport/transport_utils.o
CC build/tcp_transport/transport_ws.o
AR build/tcp_transport/libtcp_transport.a
CC build/tcpip_adapter/tcpip_adapter_compat.o
AR build/tcpip_adapter/libtcpip_adapter.a
CC build/ulp/ulp.o
CC build/ulp/ulp_macro.o
AR build/ulp/libulp.a
CC build/unity/unity/src/unity.o
CC build/unity/unity_port_esp32.o
CC build/unity/unity_runner.o
AR build/unity/libunity.a
CC build/vfs/vfs.o
CC build/vfs/vfs_semihost.o
CC build/vfs/vfs_uart.o
AR build/vfs/libvfs.a
CXX build/wear_levelling/crc32.o
CXX build/wear_levelling/Partition.o
CXX build/wear_levelling/SPI_Flash.o
CXX build/wear_levelling/wear_levelling.o
CXX build/wear_levelling/WL_Ext_Perf.o
CXX build/wear_levelling/WL_Ext_Safe.o
CXX build/wear_levelling/WL_Flash.o
AR build/wear_levelling/libwear_levelling.a
CC build/wifi_provisioning/src/handlers.o
CC build/wifi_provisioning/src/manager.o
CC build/wifi_provisioning/src/scheme_console.o
CC build/wifi_provisioning/src/scheme_softap.o
CC build/wifi_provisioning/src/wifi_config.o
CC build/wifi_provisioning/src/wifi_scan.o
CC build/wifi_provisioning/proto-c/wifi_config.pb-c.o
CC build/wifi_provisioning/proto-c/wifi_constants.pb-c.o
CC build/wifi_provisioning/proto-c/wifi_scan.pb-c.o
AR build/wifi_provisioning/libwifi_provisioning.a
CC build/wpa_supplicant/port/os_xtensa.o
CC build/wpa_supplicant/src/ap/ap_config.o
CC build/wpa_supplicant/src/ap/ieee802_1x.o
CC build/wpa_supplicant/src/ap/wpa_auth.o
CC build/wpa_supplicant/src/ap/wpa_auth_ie.o
CC build/wpa_supplicant/src/common/dpp.o
CC build/wpa_supplicant/src/common/sae.o
CC build/wpa_supplicant/src/common/wpa_common.o
CC build/wpa_supplicant/src/crypto/aes-cbc.o
CC build/wpa_supplicant/src/crypto/aes-ccm.o
CC build/wpa_supplicant/src/crypto/aes-ctr.o
CC build/wpa_supplicant/src/crypto/aes-internal.o
CC build/wpa_supplicant/src/crypto/aes-internal-dec.o
CC build/wpa_supplicant/src/crypto/aes-internal-enc.o
CC build/wpa_supplicant/src/crypto/aes-omac1.o
CC build/wpa_supplicant/src/crypto/aes-siv.o
CC build/wpa_supplicant/src/crypto/aes-unwrap.o
CC build/wpa_supplicant/src/crypto/aes-wrap.o
CC build/wpa_supplicant/src/crypto/bignum.o
CC build/wpa_supplicant/src/crypto/ccmp.o
CC build/wpa_supplicant/src/crypto/crypto_internal.o
CC build/wpa_supplicant/src/crypto/crypto_internal-cipher.o
CC build/wpa_supplicant/src/crypto/crypto_internal-modexp.o
CC build/wpa_supplicant/src/crypto/crypto_internal-rsa.o
CC build/wpa_supplicant/src/crypto/crypto_mbedtls-bignum.o
CC build/wpa_supplicant/src/crypto/crypto_mbedtls.o
CC build/wpa_supplicant/src/crypto/crypto_mbedtls-ec.o
CC build/wpa_supplicant/src/crypto/crypto_mbedtls-rsa.o
CC build/wpa_supplicant/src/crypto/crypto_ops.o
CC build/wpa_supplicant/src/crypto/des-internal.o
CC build/wpa_supplicant/src/crypto/dh_group5.o
CC build/wpa_supplicant/src/crypto/dh_groups.o
CC build/wpa_supplicant/src/crypto/md4-internal.o
CC build/wpa_supplicant/src/crypto/md5.o
CC build/wpa_supplicant/src/crypto/md5-internal.o
CC build/wpa_supplicant/src/crypto/ms_funcs.o
CC build/wpa_supplicant/src/crypto/rc4.o
CC build/wpa_supplicant/src/crypto/sha1.o
CC build/wpa_supplicant/src/crypto/sha1-internal.o
CC build/wpa_supplicant/src/crypto/sha1-pbkdf2.o
CC build/wpa_supplicant/src/crypto/sha1-tlsprf.o
CC build/wpa_supplicant/src/crypto/sha256.o
CC build/wpa_supplicant/src/crypto/sha256-internal.o
CC build/wpa_supplicant/src/crypto/sha256-kdf.o
CC build/wpa_supplicant/src/crypto/sha256-prf.o
CC build/wpa_supplicant/src/crypto/sha256-tlsprf.o
CC build/wpa_supplicant/src/crypto/sha384-tlsprf.o
CC build/wpa_supplicant/src/crypto/tls_mbedtls.o
CC build/wpa_supplicant/src/eap_peer/chap.o
CC build/wpa_supplicant/src/eap_peer/eap.o
CC build/wpa_supplicant/src/eap_peer/eap_common.o
CC build/wpa_supplicant/src/eap_peer/eap_mschapv2.o
CC build/wpa_supplicant/src/eap_peer/eap_peap.o
CC build/wpa_supplicant/src/eap_peer/eap_peap_common.o
CC build/wpa_supplicant/src/eap_peer/eap_tls.o
CC build/wpa_supplicant/src/eap_peer/eap_tls_common.o
CC build/wpa_supplicant/src/eap_peer/eap_ttls.o
CC build/wpa_supplicant/src/eap_peer/mschapv2.o
CC build/wpa_supplicant/src/rsn_supp/pmksa_cache.o
CC build/wpa_supplicant/src/rsn_supp/wpa.o
CC build/wpa_supplicant/src/rsn_supp/wpa_ie.o
CC build/wpa_supplicant/src/utils/base64.o
CC build/wpa_supplicant/src/utils/common.o
CC build/wpa_supplicant/src/utils/ext_password.o
CC build/wpa_supplicant/src/utils/json.o
CC build/wpa_supplicant/src/utils/uuid.o
CC build/wpa_supplicant/src/utils/wpabuf.o
CC build/wpa_supplicant/src/utils/wpa_debug.o
CC build/wpa_supplicant/src/esp_supplicant/esp_hostap.o
CC build/wpa_supplicant/src/esp_supplicant/esp_wpa2.o
CC build/wpa_supplicant/src/esp_supplicant/esp_wpa3.o
CC build/wpa_supplicant/src/esp_supplicant/esp_wpa_main.o
CC build/wpa_supplicant/src/esp_supplicant/esp_wpas_glue.o
CC build/wpa_supplicant/src/esp_supplicant/esp_wps.o
CC build/wpa_supplicant/src/wps/wps_attr_build.o
CC build/wpa_supplicant/src/wps/wps_attr_parse.o
CC build/wpa_supplicant/src/wps/wps_attr_process.o
CC build/wpa_supplicant/src/wps/wps.o
CC build/wpa_supplicant/src/wps/wps_common.o
CC build/wpa_supplicant/src/wps/wps_dev_attr.o
CC build/wpa_supplicant/src/wps/wps_enrollee.o
CC build/wpa_supplicant/src/wps/wps_registrar.o
CC build/wpa_supplicant/src/wps/wps_validate.o
AR build/wpa_supplicant/libwpa_supplicant.a
CC build/xtensa/debug_helpers.o
CC build/xtensa/eri.o
CC build/xtensa/expression_with_stack_xtensa.o
CC build/xtensa/stdatomic.o
CC build/xtensa/trax.o
CC build/xtensa/esp32/trax_init.o
AS build/xtensa/debug_helpers_asm.o
AS build/xtensa/expression_with_stack_xtensa_asm.o
AR build/xtensa/libxtensa.a
Generating esp32.project.ld
LD build/hello-world.elf
Python requirements from /home/zsw/esp/ESP_SDK/esp-idf/requirements.txt are satisfied.
esptool.py v3.0-dev
espsecure.py v3.0-dev
Signed 196528 bytes of data from /home/zsw/esp/ESP_SDK/examples_x/hello_world/build/hello-world-unsigned.bin with key /home/zsw/esp/ESP_SDK/examples_x/hello_world/secure_boot_signing_key.pem
Building partitions from /home/zsw/esp/ESP_SDK/examples_x/hello_world/partitions.csv...
espsecure.py v3.0-dev
Signed 3072 bytes of data from /home/zsw/esp/ESP_SDK/examples_x/hello_world/build/partitions-unsigned.bin with key /home/zsw/esp/ESP_SDK/examples_x/hello_world/secure_boot_signing_key.pem
App built. Default flash app command is:
python /home/zsw/esp/ESP_SDK/esp-idf/components/esptool_py/esptool/esptool.py --chip esp32 --port /dev/ttyUSB0 --baud 921600 --before default_reset --after hard_reset write_flash -z --flash_mode dio --flash_freq 40m --flash_size detect 0x10000 /home/zsw/esp/ESP_SDK/examples_x/hello_world/build/hello-world.bin

3.烧入

zsw@mylinux:~/esp/ESP_SDK/examples_x/hello_world$ make flash 
Toolchain path: /home/zsw/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc
Toolchain version: esp-2020r3
Compiler version: 8.4.0
Python requirements from /home/zsw/esp/ESP_SDK/esp-idf/requirements.txt are satisfied.

App "hello-world" version: 5684c43-dirty
Flashing binaries to serial port '/dev/ttyUSB0' (app at offset 0x10000)...
(Secure boot enabled, so bootloader not flashed automatically. See 'make bootloader' output)
esptool.py v3.0-dev
Serial port /dev/ttyUSB0
Connecting.....
Chip is ESP32-D0WD (revision 1)
Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None
Crystal is 40MHz
MAC: f4:cf:a2:8b:e8:50
Uploading stub...
Running stub...
Stub running...
Changing baud rate to 921600
Changed.
Configuring flash size...
Auto-detected Flash size: 4MB
Compressed 196596 bytes to 81054...
Wrote 196596 bytes (81054 compressed) at 0x00010000 in 1.6 seconds (effective 1004.2 kbit/s)...
Hash of data verified.
Compressed 3140 bytes to 174...
Wrote 3140 bytes (174 compressed) at 0x0000a000 in 0.0 seconds (effective 5036.9 kbit/s)...
Hash of data verified.

Leaving...
Hard resetting via RTS pin...

4.启动验证

zsw@mylinux:~/esp/ESP_SDK/examples_x/hello_world$ make monitor 
Toolchain path: /home/zsw/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc
Toolchain version: esp-2020r3
Compiler version: 8.4.0
Python requirements from /home/zsw/esp/ESP_SDK/esp-idf/requirements.txt are satisfied.
MONITOR
--- idf_monitor on /dev/ttyUSB0 115200 ---
--- Quit: Ctrl+] | Menu: Ctrl+T | Help: Ctrl+T followed by Ctrl+H ---
ets Jun  8 2016 00:22:57

rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0018,len:4
load:0x3fff001c,len:9312
ho 0 tail 12 room 4
load:0x40078000,len:18432
load:0x40080400,len:6664
entry 0x40080774
I (99) boot: Chip Revision: 1
I (100) boot_comm: chip revision: 1, min. bootloader chip revision: 0
I (46) boot: ESP-IDF v3.3.2-323-gbf0220609-dirty 2nd stage bootloader
I (46) boot: compile time 11:51:47
I (47) boot: Enabling RNG early entropy source...
I (52) boot: SPI Speed      : 40MHz
I (56) boot: SPI Mode       : DIO
I (60) boot: SPI Flash Size : 4MB
I (64) boot: Partition Table:
I (68) boot: ## Label            Usage          Type ST Offset   Length
I (75) boot:  0 nvs              WiFi data        01 02 0000b000 00004000
I (83) boot:  1 phy_init         RF data          01 01 0000f000 00001000
I (90) boot:  2 factory          factory app      00 00 00010000 00100000
I (98) boot: End of partition table
I (102) boot_comm: chip revision: 1, min. application chip revision: 0
I (109) esp_image: segment 0: paddr=0x00010020 vaddr=0x3f400020 size=0x06018 ( 24600) map
I (127) esp_image: segment 1: paddr=0x00016040 vaddr=0x3ffb0000 size=0x0206c (  8300) load
I (130) esp_image: segment 2: paddr=0x000180b4 vaddr=0x40080000 size=0x00400 (  1024) load
0x40080000: _WindowOverflow4 at /home/zsw/esp/ESP_SDK/esp-idf/components/freertos/xtensa/xtensa_vectors.S:1730

I (136) esp_image: segment 3: paddr=0x000184bc vaddr=0x40080400 size=0x07b5c ( 31580) load
I (158) esp_image: segment 4: paddr=0x00020020 vaddr=0x400d0020 size=0x134ec ( 79084) map
0x400d0020: _stext at ??:?

I (186) esp_image: segment 5: paddr=0x00033514 vaddr=0x40087f5c size=0x020cc (  8396) load
0x40087f5c: wdt_hal_is_enabled at /home/zsw/esp/ESP_SDK/esp-idf/components/hal/wdt_hal_iram.c:193

I (190) esp_image: segment 6: paddr=0x000355e8 vaddr=0x00000000 size=0x0a998 ( 43416) 
I (208) esp_image: Verifying image signature...
E (609) esp_image: Secure boot signature verification failed
I (610) esp_image: Calculating simple hash to check for corruption...
W (663) esp_image: image valid, signature bad
E (664) boot: Factory app partition is not bootable
E (664) boot: No bootable app partitions in the partition table
ets Jun  8 2016 00:22:57

rst:0x3 (SW_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0018,len:4
load:0x3fff001c,len:9312
ho 0 tail 12 room 4
load:0x40078000,len:18432
load:0x40080400,len:6664
entry 0x40080774
I (140) boot: Chip Revision: 1
I (140) boot_comm: chip revision: 1, min. bootloader chip revision: 0
I (82) boot: ESP-IDF v3.3.2-323-gbf0220609-dirty 2nd stage bootloader
I (82) boot: compile time 11:51:47
I (84) boot: Enabling RNG early entropy source...
I (89) boot: SPI Speed      : 40MHz
I (93) boot: SPI Mode       : DIO
I (97) boot: SPI Flash Size : 4MB
I (101) boot: Partition Table:
I (105) boot: ## Label            Usage          Type ST Offset   Length
I (112) boot:  0 nvs              WiFi data        01 02 0000b000 00004000
I (120) boot:  1 phy_init         RF data          01 01 0000f000 00001000
I (127) boot:  2 factory          factory app      00 00 00010000 00100000
I (135) boot: End of partition table
I (139) boot_comm: chip revision: 1, min. application chip revision: 0
I (146) esp_image: segment 0: paddr=0x00010020 vaddr=0x3f400020 size=0x06018 ( 24600) map
I (164) esp_image: segment 1: paddr=0x00016040 vaddr=0x3ffb0000 size=0x0206c (  8300) load
I (167) esp_image: segment 2: paddr=0x000180b4 vaddr=0x40080000 size=0x00400 (  1024) load
0x40080000: _WindowOverflow4 at /home/zsw/esp/ESP_SDK/esp-idf/components/freertos/xtensa/xtensa_vectors.S:1730

I (173) esp_image: segment 3: paddr=0x000184bc vaddr=0x40080400 size=0x07b5c ( 31580) load
I (195) esp_image: segment 4: paddr=0x00020020 vaddr=0x400d0020 size=0x134ec ( 79084) map
0x400d0020: _stext at ??:?

I (223) esp_image: segment 5: paddr=0x00033514 vaddr=0x40087f5c size=0x020cc (  8396) load
0x40087f5c: wdt_hal_is_enabled at /home/zsw/esp/ESP_SDK/esp-idf/components/hal/wdt_hal_iram.c:193

I (227) esp_image: segment 6: paddr=0x000355e8 vaddr=0x00000000 size=0x0a998 ( 43416) 
I (245) esp_image: Verifying image signature...
E (647) esp_image: Secure boot signature verification failed
I (647) esp_image: Calculating simple hash to check for corruption...
W (701) esp_image: image valid, signature bad
E (701) boot: Factory app partition is not bootable
E (701) boot: No bootable app partitions in the partition table
Alvin1Zhang commented 3 years ago

@gl-zhongshangwen

感谢提供如此具体的问题报告。我们已经在 release/3.3 分支上复现了 espsecure.py 问题(即您提到的问题二),我们已经找到修复方案,该修复将很快被合入,后续会更新此问题的状态。

您提到 master branch 的问题 (即您提到的问题三 ),我们仍在努力复现。您能帮检查并验证下用于 app build 的 "secure_boot_signing_key.pem" 和用于构建 flash 中 bootloader.bin 的"secure_boot_signing_key.pem" 是否相同?

谢谢。

gl-zhongshangwen commented 3 years ago

Hi,Alvin1Zhang

您能帮检查并验证下用于 app build 的 "secure_boot_signing_key.pem" 和用于构建 flash 中 bootloader.bin 的"secure_boot_signing_key.pem" 是否相同?
    =>这个问题三是毕现的我们验证过很多遍,因此我们还烧坏了很多板子,在过程中我们只有一个密钥,并未生成其他密钥。

深圳市广联智通科技有限公司 钟尚文

手机: +86 13973619466 网址:http://www.gl-inet.com 地址:深圳市宝安区石岩街道松白路创维数字大厦305、306室

发件人: Alvin1Zhang 发送时间: 2021-04-23 17:54 收件人: espressif/esp-idf 抄送: GL.iNet-ShangWen.Zhong; Mention 主题: Re: [espressif/esp-idf] Secure boot 在不同分支,不同提交下的不兼容问题 (IDFGH-5046) (#6831) @gl-zhongshangwen 感谢提供如此具体的问题报告。我们已经在 release/3.3 分支上复现了 espsecure.py 问题(即您提到的问题二),我们已经找到修复方案,该修复将很快被合入,后续会更新此问题的状态。 您提到 master branch 的问题 (即您提到的问题三 ),我们仍在努力复现。您能帮检查并验证下用于 app build 的 "secure_boot_signing_key.pem" 和用于构建 flash 中 bootloader.bin 的"secure_boot_signing_key.pem" 是否相同? 谢谢。 — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.

Alvin1Zhang commented 3 years ago

@gl-zhongshangwen

感谢提供更多信息。按照您所提供的信息环境,我们用 Make 构建系统构建二进制文件

bf0220609 的 boot loader 可以正常运行 master branch (8bc19ba8) 上的 app,log 如下。

(我们用的是 BOOTLOADER_REFLASHABLE=y,而不是 BOOTLOADER_ONE_TIME_FLASH。)

ets Jul 29 2019 12:21:46 rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT) configsip: 0, SPIWP:0xee clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00 mode:DIO, clock div:2 load:0x3fff0018,len:4 load:0x3fff001c,len:9336 load:0x40078000,len:18432 ho 0 tail 12 room 4 load:0x40080400,len:6664 entry 0x40080774 I (101) boot: Chip Revision: 3 I (102) boot_comm: chip revision: 3, min. bootloader chip revision: 0 I (47) boot: ESP-IDF v3.3.2-323-gbf02206 2nd stage bootloader I (47) boot: compile time 17:52:48 I (48) boot: Enabling RNG early entropy source... I (53) boot: SPI Speed : 40MHz I (57) boot: SPI Mode : DIO I (61) boot: SPI Flash Size : 4MB I (65) boot: Partition Table: I (69) boot: ## Label Usage Type ST Offset Length I (76) boot: 0 nvs WiFi data 01 02 0000b000 00004000 I (83) boot: 1 otadata OTA data 01 00 0000f000 00002000 I (91) boot: 2 efuse_em efuse 01 05 00011000 00002000 I (98) boot: 3 phy_init RF data 01 01 00013000 00001000 I (106) boot: 4 nvs_my WiFi data 01 02 00014000 00004000 I (113) boot: 5 nvs_key1 NVS keys 01 04 00018000 00001000 I (121) boot: 6 nvs_key2 NVS keys 01 04 00019000 00001000 I (128) boot: 7 nvs_key3 NVS keys 01 04 0001a000 00001000 I (136) boot: 8 ota_0 OTA app 00 10 00020000 00080000 I (144) boot: 9 ota_1 OTA app 00 11 000a0000 00080000 I (151) boot: End of partition table I (156) boot_comm: chip revision: 3, min. application chip revision: 0 I (163) esp_image: segment 0: paddr=0x00020020 vaddr=0x3f400020 size=0x0783c ( 30780) map I (182) esp_image: segment 1: paddr=0x00027864 vaddr=0x3ffb0000 size=0x02094 ( 8340) load I (186) esp_image: segment 2: paddr=0x00029900 vaddr=0x40080000 size=0x00400 ( 1024) load 0x40080000: _WindowOverflow4 at /home/kostia/esp/esp-idf/components/freertos/xtensa_vectors.S:1779 I (190) esp_image: segment 3: paddr=0x00029d08 vaddr=0x40080400 size=0x06310 ( 25360) load I (209) esp_image: segment 4: paddr=0x00030020 vaddr=0x400d0020 size=0x1e14c (123212) map 0x400d0020: _flash_cache_start at ??:? I (252) esp_image: segment 5: paddr=0x0004e174 vaddr=0x40086710 size=0x03be8 ( 15336) load 0x40086710: prvSwitchTimerLists at /home/kostia/esp/esp-idf/components/freertos/timers.c:867 I (259) esp_image: segment 6: paddr=0x00051d64 vaddr=0x00000000 size=0x0e21c ( 57884) I (280) esp_image: Verifying image signature... I (704) boot: Loaded app from partition at offset 0x20000 I (704) secure_boot: bootloader secure boot is already enabled. No need to generate digest. continuing.. I (709) boot: Checking secure boot... I (713) secure_boot: bootloader secure boot is already enabled, continuing.. I (721) boot: Disabling RNG early entropy source... I (727) cpu_start: cpu freq: 160 I (731) cpu_start: Pro cpu up. I (734) cpu_start: Starting app cpu, entry point is 0x40080f0c 0x40080f0c: start_cpu0_default at /home/kostia/esp/esp-idf/components/esp32/cpu_start.c:398 I (0) cpu_start: App cpu up. I (756) cpu_start: Pro cpu start user code I (756) cpu_start: Application information: I (756) cpu_start: Project name: hello-world I (761) cpu_start: App version: 1 I (766) cpu_start: Compile time: Apr 28 2021 17:09:47 I (772) cpu_start: ELF file SHA256: ee2ac4cb973981c1... I (778) cpu_start: ESP-IDF: v4.3-dev-1197-g8bc19ba I (784) heap_init: Initializing. RAM available for dynamic allocation: I (791) heap_init: At 3FFAE6E0 len 00001920 (6 KiB): DRAM I (798) heap_init: At 3FFB2900 len 0002D700 (181 KiB): DRAM I (804) heap_init: At 3FFE0440 len 00003AE0 (14 KiB): D/IRAM I (810) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM I (817) heap_init: At 4008A2F8 len 00015D08 (87 KiB): IRAM I (824) spi_flash: detected chip: generic I (827) spi_flash: flash io: dio I (832) cpu_start: Starting scheduler on PRO CPU. I (0) cpu_start: Starting scheduler on APP CPU. Hello world!

@gl-zhongshangwen 您能帮助提供其他信息以便我们能够复现么? 谢谢。

Alvin1Zhang commented 3 years ago

@gl-zhongshangwen 您好,能帮助提供更多信息以便我们能够复现么?谢谢。

gl-zhongshangwen commented 3 years ago

@Alvin1Zhang 好的,我先按照你的方法配置成BOOTLOADER_REFLASHABLE=y,复现一下,看看是否可以行。稍后给您答复

gl-zhongshangwen commented 3 years ago

@Alvin1Zhang 您好,通过将配置改成BOOTLOADER_REFLASHABLE=y,刚刚复现确实可以在如下环境正常启动,但是为什么配置成BOOTLOADER_ONE_TIME_FLASH时不能使用呢? 你们的编程指南也没有说明开启后不能在不同的SDK版本下用,并且还建议我们在正式生产的时候使用One-Time Flash。 https://docs.espressif.com/projects/esp-idf/en/release-v3.3/security/secure-boot.html#secure-boot-reflashable image

Alvin1Zhang commented 3 years ago

@gl-zhongshangwen 感谢反馈。

配置 BOOTLOADER_REFLASHABLE=y 并不会改变 bootloader 的二进制文件,它会触发 ESP-IDF 构建系统预先计算出一个 eFuse 中的安全启动密钥的值 (通过 "espefuse.py burn_efuse" 命令),以及预生成bootloader 摘要文件。bootloader 摘要文件和 app 签名没有任何关系,ESP32 ROM 只在启动加载程序前检查该摘要文件。

因此,我们不希望对由于此配置项引起的错误信息 "esp_image: image valid, signature bad" 及 "No bootable app partitions in the partition table" 做任何改动。这些错误信息与 app 数字签名相关,与 bootloader 的摘要无关。

如果 eFuse 中的安全启动密钥已经被烧录,就算将 bootloader 二进制文件的 BOOTLOADER_ONE_TIME_FLASH 改为 BOOTLOADER_REFLASHABLE 也不会有任何作用,因为原始的密钥值已经被烧入 efuse。

为此,我们的工程师用 BOOTLOADER_ONE_TIME_FLASH 和相同的 bootloader/app IDF 版本进行复测,得到了预料的输出,如下:

rst:0x1 (POWERON_RESET),boot:0x37 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0018,len:4
load:0x3fff001c,len:8788
load:0x40078000,len:18392
load:0x40080400,len:5904
entry 0x40080734
I (82) boot: Chip Revision: 0
I (32) boot: ESP-IDF v3.3.2-323-gbf02206-dirty 2nd stage bootloader
I (33) boot: compile time 20:35:14
I (62) boot: Enabling RNG early entropy source...
I (63) boot: SPI Speed      : 40MHz
I (63) boot: SPI Mode       : DIO
I (64) boot: SPI Flash Size : 4MB
I (66) boot: Partition Table:
I (67) boot: ## Label            Usage          Type ST Offset   Length
I (71) boot:  0 nvs              WiFi data        01 02 0000d000 00006000
I (75) boot:  1 phy_init         RF data          01 01 00013000 00001000
I (79) boot:  2 factory          factory app      00 00 00020000 00100000
I (82) boot: End of partition table
I (84) esp_image: segment 0: paddr=0x00020020 vaddr=0x3f400020 size=0x05a7c ( 23164) map
I (97) esp_image: segment 1: paddr=0x00025aa4 vaddr=0x3ffb0000 size=0x0169c (  5788) load
I (100) esp_image: segment 2: paddr=0x00027148 vaddr=0x40080000 size=0x00400 (  1024) load
I (101) esp_image: segment 3: paddr=0x00027550 vaddr=0x40080400 size=0x07260 ( 29280) load
I (117) esp_image: segment 4: paddr=0x0002e7b8 vaddr=0x00000000 size=0x01858 (  6232) 
I (120) esp_image: segment 5: paddr=0x00030018 vaddr=0x400d0018 size=0x12734 ( 75572) map
I (147) esp_image: segment 6: paddr=0x00042754 vaddr=0x00000000 size=0x0d82c ( 55340) 
I (167) esp_image: Verifying image signature...
I (565) boot: Loaded app from partition at offset 0x20000
I (566) esp_image: segment 0: paddr=0x00001020 vaddr=0x3fff0018 size=0x00004 (     4) 
I (567) esp_image: segment 1: paddr=0x0000102c vaddr=0x3fff001c size=0x02254 (  8788) 
I (575) esp_image: segment 2: paddr=0x00003288 vaddr=0x40078000 size=0x047d8 ( 18392) 
I (582) esp_image: segment 3: paddr=0x00007a68 vaddr=0x40080400 size=0x01710 (  5904) 
I (585) secure_boot: Generating new secure boot key...
I (591) secure_boot: Generating secure boot digest...
I (648) secure_boot: Digest generation complete.
I (648) boot: Checking secure boot...
I (648) secure_boot: Read & write protecting new key...
I (656) secure_boot: blowing secure boot efuse...
I (656) secure_boot: Disable JTAG...
I (656) secure_boot: Disable ROM BASIC interpreter fallback...
I (665) secure_boot: secure boot is now enabled for bootloader image
I (665) boot: Disabling RNG early entropy source...
I (667) cpu_start: Pro cpu up.
I (668) cpu_start: Application information:
I (671) cpu_start: Project name:     hello-world
I (673) cpu_start: App version:      v3.3.2-323-gbf02206-dirty
I (677) cpu_start: Compile time:     May 19 2021 20:36:31
I (680) cpu_start: ELF file SHA256:  5c480352214f39d7...
I (683) cpu_start: ESP-IDF:          v3.3.2-323-gbf02206-dirty
I (686) cpu_start: Single core mode
Alvin1Zhang commented 3 years ago

@gl-zhongshangwen 您好,请问这个问题有更新么?谢谢。

gl-zhongshangwen commented 3 years ago

Hi Alvin1Zhang, 我可以理解为用BOOTLOADER_ONE_TIME_FLASH方式烧入固件到ESP32后,下一次更新固件就只能用同一SDK生成的固件成功升级了,是这样吗?(在用同一加密密钥文件的情况下,更加新的分支IDF SDK生成的固件将无法使用?)

深圳市广联智通科技有限公司 钟尚文

手机: +86 13973619466 网址:http://www.gl-inet.com 地址:深圳市宝安区石岩街道松白路创维数字大厦305、306室

发件人: Alvin1Zhang 发送时间: 2021-05-27 13:50 收件人: espressif/esp-idf 抄送: GL.iNet-ShangWen.Zhong; Mention 主题: Re: [espressif/esp-idf] Secure boot 在不同分支,不同提交下的不兼容问题 (IDFGH-5046) (#6831) @gl-zhongshangwen 感谢反馈。 配置 BOOTLOADER_REFLASHABLE=y 并不会改变 bootloader 的二进制文件,它会触发 ESP-IDF 构建系统预先计算出一个 eFuse 中的安全启动密钥的值 (通过 "espefuse.py burn_efuse" 命令),以及预生成bootloader 摘要文件。bootloader 摘要文件和 app 签名没有任何关系,ESP32 ROM 只在启动加载程序前检查该摘要文件。 因此,我们不希望对由于此配置项引起的错误信息 "esp_image: image valid, signature bad" 及 "No bootable app partitions in the partition table" 做任何改动。这些错误信息与 app 数字签名相关,与 bootloader 的摘要无关。 如果 eFuse 中的安全启动密钥已经被烧录,就算将 bootloader 二进制文件的 BOOTLOADER_ONE_TIME_FLASH 改为 BOOTLOADER_REFLASHABLE 也不会有任何作用,因为原始的密钥值已经被烧入 efuse。 为此,我们的工程师用 BOOTLOADER_ONE_TIME_FLASH 和相同的 bootloader/app IDF 版本进行复测,得到了预料的输出,如下: rst:0x1 (POWERON_RESET),boot:0x37 (SPI_FAST_FLASH_BOOT) configsip: 0, SPIWP:0xee clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00 mode:DIO, clock div:2 load:0x3fff0018,len:4 load:0x3fff001c,len:8788 load:0x40078000,len:18392 load:0x40080400,len:5904 entry 0x40080734 I (82) boot: Chip Revision: 0 I (32) boot: ESP-IDF v3.3.2-323-gbf02206-dirty 2nd stage bootloader I (33) boot: compile time 20:35:14 I (62) boot: Enabling RNG early entropy source... I (63) boot: SPI Speed : 40MHz I (63) boot: SPI Mode : DIO I (64) boot: SPI Flash Size : 4MB I (66) boot: Partition Table: I (67) boot: ## Label Usage Type ST Offset Length I (71) boot: 0 nvs WiFi data 01 02 0000d000 00006000 I (75) boot: 1 phy_init RF data 01 01 00013000 00001000 I (79) boot: 2 factory factory app 00 00 00020000 00100000 I (82) boot: End of partition table I (84) esp_image: segment 0: paddr=0x00020020 vaddr=0x3f400020 size=0x05a7c ( 23164) map I (97) esp_image: segment 1: paddr=0x00025aa4 vaddr=0x3ffb0000 size=0x0169c ( 5788) load I (100) esp_image: segment 2: paddr=0x00027148 vaddr=0x40080000 size=0x00400 ( 1024) load I (101) esp_image: segment 3: paddr=0x00027550 vaddr=0x40080400 size=0x07260 ( 29280) load I (117) esp_image: segment 4: paddr=0x0002e7b8 vaddr=0x00000000 size=0x01858 ( 6232) I (120) esp_image: segment 5: paddr=0x00030018 vaddr=0x400d0018 size=0x12734 ( 75572) map I (147) esp_image: segment 6: paddr=0x00042754 vaddr=0x00000000 size=0x0d82c ( 55340) I (167) esp_image: Verifying image signature... I (565) boot: Loaded app from partition at offset 0x20000 I (566) esp_image: segment 0: paddr=0x00001020 vaddr=0x3fff0018 size=0x00004 ( 4) I (567) esp_image: segment 1: paddr=0x0000102c vaddr=0x3fff001c size=0x02254 ( 8788) I (575) esp_image: segment 2: paddr=0x00003288 vaddr=0x40078000 size=0x047d8 ( 18392) I (582) esp_image: segment 3: paddr=0x00007a68 vaddr=0x40080400 size=0x01710 ( 5904) I (585) secure_boot: Generating new secure boot key... I (591) secure_boot: Generating secure boot digest... I (648) secure_boot: Digest generation complete. I (648) boot: Checking secure boot... I (648) secure_boot: Read & write protecting new key... I (656) secure_boot: blowing secure boot efuse... I (656) secure_boot: Disable JTAG... I (656) secure_boot: Disable ROM BASIC interpreter fallback... I (665) secure_boot: secure boot is now enabled for bootloader image I (665) boot: Disabling RNG early entropy source... I (667) cpu_start: Pro cpu up. I (668) cpu_start: Application information: I (671) cpu_start: Project name: hello-world I (673) cpu_start: App version: v3.3.2-323-gbf02206-dirty I (677) cpu_start: Compile time: May 19 2021 20:36:31 I (680) cpu_start: ELF file SHA256: 5c480352214f39d7... I (683) cpu_start: ESP-IDF: v3.3.2-323-gbf02206-dirty I (686) cpu_start: Single core mode

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.

gl-zhongshangwen commented 3 years ago

Hi Alvin1Zhang, 刚刚已经回复您。

深圳市广联智通科技有限公司 钟尚文

手机: +86 13973619466 网址:http://www.gl-inet.com 地址:深圳市宝安区石岩街道松白路创维数字大厦305、306室

发件人: Alvin1Zhang 发送时间: 2021-06-02 10:32 收件人: espressif/esp-idf 抄送: GL.iNet-ShangWen.Zhong; Mention 主题: Re: [espressif/esp-idf] Secure boot 在不同分支,不同提交下的不兼容问题 (IDFGH-5046) (#6831) @gl-zhongshangwen 您好,请问这个问题有更新么?谢谢。 — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.

Alvin1Zhang commented 3 years ago

使用 BOOTLOADER_ONE_TIME_FLASH,也能够将 ESP-IDF 更新到更新的版本,并更新至新的 app binary。 必须使用相同的签名密钥对新的二进制文件进行签名,以匹配原始安装的签名密钥。 更新 bootloader 需要有 eFuse 中 secret Secure Boot 密钥的副本(与签名密钥不同),如果您有这个副本,那么您也可以通过 serial 更新 bootloader。

Alvin1Zhang commented 3 years ago

@gl-zhongshangwen 您好,请问该问题有更新么?您的问题是否已经解决?谢谢。

gl-zhongshangwen commented 3 years ago

你好,Alvin 我们测试了,还是无法启动,目前我们这边有10几台ESP32已经边砖了 我在验证过程中用的 v3.3 bootloader + v3.3 app 刷入到ESP32,发现可以正常启动,这个时候我再用同样的密钥编译了 v4.0 app 烧入到这个ESP32中,发现就无法启动了,其中两个工程密钥一致,分区表一致,烧入方式一致,都使用的BOOTLOADER_ONE_TIME_FLASH。

深圳市广联智通科技有限公司 钟尚文

手机: +86 13973619466 网址:http://www.gl-inet.com 地址:深圳市宝安区石岩街道松白路创维数字大厦305、306室

发件人: Alvin1Zhang 发送时间: 2021-06-08 14:27 收件人: espressif/esp-idf 抄送: GL.iNet-ShangWen.Zhong; Mention 主题: Re: [espressif/esp-idf] Secure boot 在不同分支,不同提交下的不兼容问题 (IDFGH-5046) (#6831) 使用 BOOTLOADER_ONE_TIME_FLASH,也能够将 ESP-IDF 更新到更新的版本,并更新至新的 app binary。 必须使用相同的签名密钥对新的二进制文件进行签名,以匹配原始安装的签名密钥。 更新 bootloader 需要有 eFuse 中 secret Secure Boot 密钥的副本(与签名密钥不同),如果您有这个副本,那么您也可以通过 serial 更新 bootloader。 — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.

Alvin1Zhang commented 3 years ago

@gl-zhongshangwen 感谢反馈,您能再尝试使用最新的 release/4.0 分支看下问题是否存在么?谢谢。

Alvin1Zhang commented 3 years ago

感谢反馈,如还有问题,请 reopen 该问题,谢谢。