espressif / esp-idf

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

[TW#26490] problem compiling to master v3.2-dev-1029-g518942ec6 (IDFGH-754) #2416

Closed buckybots closed 5 years ago

buckybots commented 6 years ago

(if I back up to git checkout v3.1-rc2, no problem with compilation)

when I compile (after make clean) make all -j5

this is the error in the current master : AR build/bootloader/spi_flash/libspi_flash.a CC build/bootloader/micro-ecc/micro-ecc/uECC.o In file included from C:/linuxShared/esp/esp-idf/components/esp_http_client/include/esp_http_client.h:19:0, from C:/linuxShared/esp/esp-idf/components/esp_http_client/esp_http_client.c:28: C:/linuxShared/esp/esp-idf/components/nghttp/port/include/http_parser.h:149:3: error: 'flags' defined as wrong kind of tag { F_CHUNKED = 1 << 0 ^ CC build/curl/lib/curl_ntlm_wb.o CC build/esp32/pm_locks.o make[1]: [/c/linuxShared/esp/esp-idf/make/component_wrapper.mk:286: esp_http_client.o] Error 1 make: [C:\linuxShared\esp\esp-idf/make/project.mk:481: component-esp_http_client-build] Error 2 make: *** Waiting for unfinished jobs.... CC build/driver/sdspi_crc.o CC build/curl/lib/slist.o

igrr commented 6 years ago

Could you please attach the output of make V=1, and your sdkconfig file?

buckybots commented 6 years ago

I reverted back to Master, cleaned and recompiled.........

$ make V=1
including /c/linuxShared/esp/esp-idf/components/app_update/Makefile.projbuild...
including /c/linuxShared/esp/esp-idf/components/bootloader/Makefile.projbuild...
including /c/linuxShared/esp/esp-idf/components/bootloader_support/Makefile.projbuild...
including /c/linuxShared/esp/esp-idf/components/coap/Makefile.projbuild...
including /c/linuxShared/esp/esp-idf/components/esp32/Makefile.projbuild...
including /c/linuxShared/esp/esp-idf/components/esptool_py/Makefile.projbuild...
including /c/linuxShared/esp/esp-idf/components/mbedtls/Makefile.projbuild...
including /c/linuxShared/esp/esp-idf/components/nghttp/Makefile.projbuild...
including /c/linuxShared/esp/esp-idf/components/partition_table/Makefile.projbuild...
including /c/linuxShared/esp/esp-idf/components/ulp/Makefile.projbuild...
PROJECT_PATH= COMPONENT_DIRS= make -C /c/linuxShared/esp/esp-idf/components/bootloader/subproject V=1 BUILD_DIR_BASE=/c/linuxShared/win/deviceVID/build/bootloader TEST_COMPONENTS= TESTS_ALL= EXCLUDE_COMPONENTS= /c/linuxShared/win/deviceVID/build/bootloader/bootloader.bin
make[1]: Entering directory '/c/linuxShared/esp/esp-idf/components/bootloader/subproject'
including /c/linuxShared/esp/esp-idf/components/esptool_py/Makefile.projbuild...
including /c/linuxShared/esp/esp-idf/components/bootloader_support/Makefile.projbuild...
including /c/linuxShared/esp/esp-idf/components/bootloader/subproject/main/Makefile.projbuild...
make -C /c/linuxShared/win/deviceVID/build/bootloader/bootloader_support -f /c/linuxShared/esp/esp-idf/make/component_wrapper.mk COMPONENT_MAKEFILE=/c/linuxShared/esp/esp-idf/components/bootloader_support/component.mk COMPONENT_NAME=bootloader_support build
make[2]: Entering directory '/c/linuxShared/win/deviceVID/build/bootloader/bootloader_support'
make[2]: Nothing to be done for 'build'.
make[2]: Leaving directory '/c/linuxShared/win/deviceVID/build/bootloader/bootloader_support'
Target 'component-bootloader_support-build' responsible for '/c/linuxShared/win/deviceVID/build/bootloader/bootloader_support/libbootloader_support.a'
make -C /c/linuxShared/win/deviceVID/build/bootloader/log -f /c/linuxShared/esp/esp-idf/make/component_wrapper.mk COMPONENT_MAKEFILE=/c/linuxShared/esp/esp-idf/components/log/component.mk COMPONENT_NAME=log build
make[2]: Entering directory '/c/linuxShared/win/deviceVID/build/bootloader/log'
make[2]: Nothing to be done for 'build'.
make[2]: Leaving directory '/c/linuxShared/win/deviceVID/build/bootloader/log'
Target 'component-log-build' responsible for '/c/linuxShared/win/deviceVID/build/bootloader/log/liblog.a'
make -C /c/linuxShared/win/deviceVID/build/bootloader/spi_flash -f /c/linuxShared/esp/esp-idf/make/component_wrapper.mk COMPONENT_MAKEFILE=/c/linuxShared/esp/esp-idf/components/spi_flash/component.mk COMPONENT_NAME=spi_flash build
make[2]: Entering directory '/c/linuxShared/win/deviceVID/build/bootloader/spi_flash'
make[2]: Nothing to be done for 'build'.
make[2]: Leaving directory '/c/linuxShared/win/deviceVID/build/bootloader/spi_flash'
Target 'component-spi_flash-build' responsible for '/c/linuxShared/win/deviceVID/build/bootloader/spi_flash/libspi_flash.a'
make -C /c/linuxShared/win/deviceVID/build/bootloader/micro-ecc -f /c/linuxShared/esp/esp-idf/make/component_wrapper.mk COMPONENT_MAKEFILE=/c/linuxShared/esp/esp-idf/components/micro-ecc/component.mk COMPONENT_NAME=micro-ecc build
make[2]: Entering directory '/c/linuxShared/win/deviceVID/build/bootloader/micro-ecc'
make[2]: Nothing to be done for 'build'.
make[2]: Leaving directory '/c/linuxShared/win/deviceVID/build/bootloader/micro-ecc'
Target 'component-micro-ecc-build' responsible for '/c/linuxShared/win/deviceVID/build/bootloader/micro-ecc/libmicro-ecc.a'
make -C /c/linuxShared/win/deviceVID/build/bootloader/soc -f /c/linuxShared/esp/esp-idf/make/component_wrapper.mk COMPONENT_MAKEFILE=/c/linuxShared/esp/esp-idf/components/soc/component.mk COMPONENT_NAME=soc build
make[2]: Entering directory '/c/linuxShared/win/deviceVID/build/bootloader/soc'
make[2]: Nothing to be done for 'build'.
make[2]: Leaving directory '/c/linuxShared/win/deviceVID/build/bootloader/soc'
Target 'component-soc-build' responsible for '/c/linuxShared/win/deviceVID/build/bootloader/soc/libsoc.a'
make -C /c/linuxShared/win/deviceVID/build/bootloader/main -f /c/linuxShared/esp/esp-idf/make/component_wrapper.mk COMPONENT_MAKEFILE=/c/linuxShared/esp/esp-idf/components/bootloader/subproject/main/component.mk COMPONENT_NAME=main build
make[2]: Entering directory '/c/linuxShared/win/deviceVID/build/bootloader/main'
make[2]: Nothing to be done for 'build'.
make[2]: Leaving directory '/c/linuxShared/win/deviceVID/build/bootloader/main'
Target 'component-main-build' responsible for '/c/linuxShared/win/deviceVID/build/bootloader/main/libmain.a'
make[1]: Leaving directory '/c/linuxShared/esp/esp-idf/components/bootloader/subproject'
python /c/linuxShared/esp/esp-idf/tools/check_python_dependencies.py
Python requirements from C:/linuxShared/esp/esp-idf/requirements.txt are satisfied.
Building partitions from /c/linuxShared/esp/esp-idf/components/partition_table/partitions_two_ota.csv...
python /c/linuxShared/esp/esp-idf/components/partition_table/gen_esp32part.py -q  --flash-size "4MB" --offset 0x8000  /c/linuxShared/esp/esp-idf/components/partition_table/partitions_two_ota.csv /c/linuxShared/win/deviceVID/build/partitions_two_ota.bin
make -C /c/linuxShared/win/deviceVID/build/app_trace -f /c/linuxShared/esp/esp-idf/make/component_wrapper.mk COMPONENT_MAKEFILE=/c/linuxShared/esp/esp-idf/components/app_trace/component.mk COMPONENT_NAME=app_trace build
make[1]: Entering directory '/c/linuxShared/win/deviceVID/build/app_trace'
make[1]: Nothing to be done for 'build'.
make[1]: Leaving directory '/c/linuxShared/win/deviceVID/build/app_trace'
Target 'component-app_trace-build' responsible for '/c/linuxShared/win/deviceVID/build/app_trace/libapp_trace.a'
make -C /c/linuxShared/win/deviceVID/build/app_update -f /c/linuxShared/esp/esp-idf/make/component_wrapper.mk COMPONENT_MAKEFILE=/c/linuxShared/esp/esp-idf/components/app_update/component.mk COMPONENT_NAME=app_update build
make[1]: Entering directory '/c/linuxShared/win/deviceVID/build/app_update'
make[1]: Nothing to be done for 'build'.
make[1]: Leaving directory '/c/linuxShared/win/deviceVID/build/app_update'
Target 'component-app_update-build' responsible for '/c/linuxShared/win/deviceVID/build/app_update/libapp_update.a'
make -C /c/linuxShared/win/deviceVID/build/asio -f /c/linuxShared/esp/esp-idf/make/component_wrapper.mk COMPONENT_MAKEFILE=/c/linuxShared/esp/esp-idf/components/asio/component.mk COMPONENT_NAME=asio build
make[1]: Entering directory '/c/linuxShared/win/deviceVID/build/asio'
make[1]: Nothing to be done for 'build'.
make[1]: Leaving directory '/c/linuxShared/win/deviceVID/build/asio'
Target 'component-asio-build' responsible for '/c/linuxShared/win/deviceVID/build/asio/libasio.a'
make -C /c/linuxShared/win/deviceVID/build/aws_iot -f /c/linuxShared/esp/esp-idf/make/component_wrapper.mk COMPONENT_MAKEFILE=/c/linuxShared/esp/esp-idf/components/aws_iot/component.mk COMPONENT_NAME=aws_iot build
make[1]: Entering directory '/c/linuxShared/win/deviceVID/build/aws_iot'
make[1]: Nothing to be done for 'build'.
make[1]: Leaving directory '/c/linuxShared/win/deviceVID/build/aws_iot'
Target 'component-aws_iot-build' responsible for '/c/linuxShared/win/deviceVID/build/aws_iot/libaws_iot.a'
make -C /c/linuxShared/win/deviceVID/build/bootloader_support -f /c/linuxShared/esp/esp-idf/make/component_wrapper.mk COMPONENT_MAKEFILE=/c/linuxShared/esp/esp-idf/components/bootloader_support/component.mk COMPONENT_NAME=bootloader_support build
make[1]: Entering directory '/c/linuxShared/win/deviceVID/build/bootloader_support'
make[1]: Nothing to be done for 'build'.
make[1]: Leaving directory '/c/linuxShared/win/deviceVID/build/bootloader_support'
Target 'component-bootloader_support-build' responsible for '/c/linuxShared/win/deviceVID/build/bootloader_support/libbootloader_support.a'
make -C /c/linuxShared/win/deviceVID/build/bt -f /c/linuxShared/esp/esp-idf/make/component_wrapper.mk COMPONENT_MAKEFILE=/c/linuxShared/esp/esp-idf/components/bt/component.mk COMPONENT_NAME=bt build
make[1]: Entering directory '/c/linuxShared/win/deviceVID/build/bt'
make[1]: Nothing to be done for 'build'.
make[1]: Leaving directory '/c/linuxShared/win/deviceVID/build/bt'
Target 'component-bt-build' responsible for '/c/linuxShared/win/deviceVID/build/bt/libbt.a'
make -C /c/linuxShared/win/deviceVID/build/camera -f /c/linuxShared/esp/esp-idf/make/component_wrapper.mk COMPONENT_MAKEFILE=/c/linuxShared/win/deviceVID/components/camera/component.mk COMPONENT_NAME=camera build
make[1]: Entering directory '/c/linuxShared/win/deviceVID/build/camera'
make[1]: Nothing to be done for 'build'.
make[1]: Leaving directory '/c/linuxShared/win/deviceVID/build/camera'
Target 'component-camera-build' responsible for '/c/linuxShared/win/deviceVID/build/camera/libcamera.a'
make -C /c/linuxShared/win/deviceVID/build/coap -f /c/linuxShared/esp/esp-idf/make/component_wrapper.mk COMPONENT_MAKEFILE=/c/linuxShared/esp/esp-idf/components/coap/component.mk COMPONENT_NAME=coap build
make[1]: Entering directory '/c/linuxShared/win/deviceVID/build/coap'
make[1]: Nothing to be done for 'build'.
make[1]: Leaving directory '/c/linuxShared/win/deviceVID/build/coap'
Target 'component-coap-build' responsible for '/c/linuxShared/win/deviceVID/build/coap/libcoap.a'
make -C /c/linuxShared/win/deviceVID/build/console -f /c/linuxShared/esp/esp-idf/make/component_wrapper.mk COMPONENT_MAKEFILE=/c/linuxShared/esp/esp-idf/components/console/component.mk COMPONENT_NAME=console build
make[1]: Entering directory '/c/linuxShared/win/deviceVID/build/console'
make[1]: Nothing to be done for 'build'.
make[1]: Leaving directory '/c/linuxShared/win/deviceVID/build/console'
Target 'component-console-build' responsible for '/c/linuxShared/win/deviceVID/build/console/libconsole.a'
make -C /c/linuxShared/win/deviceVID/build/curl -f /c/linuxShared/esp/esp-idf/make/component_wrapper.mk COMPONENT_MAKEFILE=/c/linuxShared/win/deviceVID/components/curl/component.mk COMPONENT_NAME=curl build
make[1]: Entering directory '/c/linuxShared/win/deviceVID/build/curl'
make[1]: Nothing to be done for 'build'.
make[1]: Leaving directory '/c/linuxShared/win/deviceVID/build/curl'
Target 'component-curl-build' responsible for '/c/linuxShared/win/deviceVID/build/curl/libcurl.a'
make -C /c/linuxShared/win/deviceVID/build/cxx -f /c/linuxShared/esp/esp-idf/make/component_wrapper.mk COMPONENT_MAKEFILE=/c/linuxShared/esp/esp-idf/components/cxx/component.mk COMPONENT_NAME=cxx build
make[1]: Entering directory '/c/linuxShared/win/deviceVID/build/cxx'
make[1]: Nothing to be done for 'build'.
make[1]: Leaving directory '/c/linuxShared/win/deviceVID/build/cxx'
Target 'component-cxx-build' responsible for '/c/linuxShared/win/deviceVID/build/cxx/libcxx.a'
make -C /c/linuxShared/win/deviceVID/build/driver -f /c/linuxShared/esp/esp-idf/make/component_wrapper.mk COMPONENT_MAKEFILE=/c/linuxShared/esp/esp-idf/components/driver/component.mk COMPONENT_NAME=driver build
make[1]: Entering directory '/c/linuxShared/win/deviceVID/build/driver'
make[1]: Nothing to be done for 'build'.
make[1]: Leaving directory '/c/linuxShared/win/deviceVID/build/driver'
Target 'component-driver-build' responsible for '/c/linuxShared/win/deviceVID/build/driver/libdriver.a'
make -C /c/linuxShared/win/deviceVID/build/esp-tls -f /c/linuxShared/esp/esp-idf/make/component_wrapper.mk COMPONENT_MAKEFILE=/c/linuxShared/esp/esp-idf/components/esp-tls/component.mk COMPONENT_NAME=esp-tls build
make[1]: Entering directory '/c/linuxShared/win/deviceVID/build/esp-tls'
make[1]: Nothing to be done for 'build'.
make[1]: Leaving directory '/c/linuxShared/win/deviceVID/build/esp-tls'
Target 'component-esp-tls-build' responsible for '/c/linuxShared/win/deviceVID/build/esp-tls/libesp-tls.a'
make -C /c/linuxShared/win/deviceVID/build/esp32 -f /c/linuxShared/esp/esp-idf/make/component_wrapper.mk COMPONENT_MAKEFILE=/c/linuxShared/esp/esp-idf/components/esp32/component.mk COMPONENT_NAME=esp32 build
make[1]: Entering directory '/c/linuxShared/win/deviceVID/build/esp32'
make[1]: Nothing to be done for 'build'.
make[1]: Leaving directory '/c/linuxShared/win/deviceVID/build/esp32'
Target 'component-esp32-build' responsible for '/c/linuxShared/win/deviceVID/build/esp32/libesp32.a'
make -C /c/linuxShared/win/deviceVID/build/esp_adc_cal -f /c/linuxShared/esp/esp-idf/make/component_wrapper.mk COMPONENT_MAKEFILE=/c/linuxShared/esp/esp-idf/components/esp_adc_cal/component.mk COMPONENT_NAME=esp_adc_cal build
make[1]: Entering directory '/c/linuxShared/win/deviceVID/build/esp_adc_cal'
make[1]: Nothing to be done for 'build'.
make[1]: Leaving directory '/c/linuxShared/win/deviceVID/build/esp_adc_cal'
Target 'component-esp_adc_cal-build' responsible for '/c/linuxShared/win/deviceVID/build/esp_adc_cal/libesp_adc_cal.a'
make -C /c/linuxShared/win/deviceVID/build/esp_http_client -f /c/linuxShared/esp/esp-idf/make/component_wrapper.mk COMPONENT_MAKEFILE=/c/linuxShared/esp/esp-idf/components/esp_http_client/component.mk COMPONENT_NAME=esp_http_client build
make[1]: Entering directory '/c/linuxShared/win/deviceVID/build/esp_http_client'
xtensa-esp32-elf-gcc -std=gnu99 -Og -ggdb -ffunction-sections -fdata-sections -fstrict-volatile-bitfields -mlongcalls -nostdlib -Wall -Werror=all -Wno-error=unused-function -Wno-error=unused-but-set-variable -Wno-error=unused-variable -Wno-error=deprecated-declarations -Wextra -Wno-unused-parameter -Wno-sign-compare -Wwrite-strings -Wno-old-style-declaration -DESP_PLATFORM -D IDF_VER=\"v3.2-dev-1029-g518942ec6\" -MMD -MP   -DWITH_POSIX -DMBEDTLS_CONFIG_FILE='"mbedtls/esp_config.h"' -DHAVE_CONFIG_H -I /c/linuxShared/esp/esp-idf/components/esp_http_client/lib/include -I /c/linuxShared/esp/esp-idf/components/esp_http_client/include -I /c/linuxShared/esp/esp-idf/components/app_trace/include -I /c/linuxShared/esp/esp-idf/components/app_update/include -I /c/linuxShared/esp/esp-idf/components/asio/asio/asio/include -I /c/linuxShared/esp/esp-idf/components/asio/port/include -I /c/linuxShared/esp/esp-idf/components/aws_iot/include -I /c/linuxShared/esp/esp-idf/components/aws_iot/aws-iot-device-sdk-embedded-C/include -I /c/linuxShared/esp/esp-idf/components/bootloader_support/include -I /c/linuxShared/esp/esp-idf/components/bt/include -I /c/linuxShared/win/deviceVID/components/camera/include -I /c/linuxShared/esp/esp-idf/components/coap/port/include -I /c/linuxShared/esp/esp-idf/components/coap/port/include/coap -I /c/linuxShared/esp/esp-idf/components/coap/libcoap/include -I /c/linuxShared/esp/esp-idf/components/coap/libcoap/include/coap -I /c/linuxShared/esp/esp-idf/components/console -I /c/linuxShared/win/deviceVID/components/curl/include -I /c/linuxShared/esp/esp-idf/components/driver/include -I /c/linuxShared/esp/esp-idf/components/esp-tls -I /c/linuxShared/esp/esp-idf/components/esp32/include -I /c/linuxShared/esp/esp-idf/components/esp_adc_cal/include -I /c/linuxShared/esp/esp-idf/components/esp_https_ota/include -I /c/linuxShared/esp/esp-idf/components/ethernet/include -I /c/linuxShared/esp/esp-idf/components/expat/expat/expat/lib -I /c/linuxShared/esp/esp-idf/components/expat/port/include -I /c/linuxShared/esp/esp-idf/components/fatfs/src -I /c/linuxShared/esp/esp-idf/components/freertos/include -I /c/linuxShared/esp/esp-idf/components/heap/include -I /c/linuxShared/win/deviceVID/components/http_server -I /c/linuxShared/esp/esp-idf/components/idf_test/include -I /c/linuxShared/win/deviceVID/components/jpeg/src -I /c/linuxShared/win/deviceVID/components/jpeg/include -I /c/linuxShared/esp/esp-idf/components/jsmn/include -I /c/linuxShared/esp/esp-idf/components/json/cJSON -I /c/linuxShared/esp/esp-idf/components/libsodium/libsodium/src/libsodium/include -I /c/linuxShared/esp/esp-idf/components/libsodium/port_include -I /c/linuxShared/win/deviceVID/components/libssh2/src -I /c/linuxShared/win/deviceVID/components/libssh2/include -I /c/linuxShared/esp/esp-idf/components/log/include -I /c/linuxShared/esp/esp-idf/components/lwip/include/apps -I /c/linuxShared/esp/esp-idf/components/lwip/lwip/src/include -I /c/linuxShared/esp/esp-idf/components/lwip/port/esp32/include -I /c/linuxShared/esp/esp-idf/components/lwip/port/esp32/include/arch -I /c/linuxShared/win/deviceVID/main/include -I /c/linuxShared/esp/esp-idf/components/mbedtls/port/include -I /c/linuxShared/esp/esp-idf/components/mbedtls/mbedtls/include -I /c/linuxShared/esp/esp-idf/components/mdns/include -I /c/linuxShared/esp/esp-idf/components/micro-ecc/micro-ecc -I /c/linuxShared/esp/esp-idf/components/mqtt/esp-mqtt/include -I /c/linuxShared/esp/esp-idf/components/newlib/platform_include -I /c/linuxShared/esp/esp-idf/components/newlib/include -I /c/linuxShared/esp/esp-idf/components/nghttp/port/include -I /c/linuxShared/esp/esp-idf/components/nghttp/nghttp2/lib/includes -I /c/linuxShared/esp/esp-idf/components/nvs_flash/include -I /c/linuxShared/esp/esp-idf/components/openssl/include -I /c/linuxShared/win/deviceVID/components/pppos -I /c/linuxShared/esp/esp-idf/components/pthread/include -I /c/linuxShared/win/deviceVID/components/quickmail -I /c/linuxShared/esp/esp-idf/components/sdmmc/include -I /c/linuxShared/esp/esp-idf/components/smartconfig_ack/include -I /c/linuxShared/esp/esp-idf/components/soc/esp32/include -I /c/linuxShared/esp/esp-idf/components/soc/include -I /c/linuxShared/esp/esp-idf/components/spi_flash/include -I /c/linuxShared/esp/esp-idf/components/spiffs/include -I /c/linuxShared/esp/esp-idf/components/tcp_transport/include -I /c/linuxShared/esp/esp-idf/components/tcpip_adapter/include -I /c/linuxShared/esp/esp-idf/components/ulp/include -I /c/linuxShared/esp/esp-idf/components/vfs/include -I /c/linuxShared/esp/esp-idf/components/wear_levelling/include -I /c/linuxShared/esp/esp-idf/components/wpa_supplicant/include -I /c/linuxShared/esp/esp-idf/components/wpa_supplicant/port/include -I /c/linuxShared/esp/esp-idf/components/xtensa-debug-module/include -I /c/linuxShared/win/deviceVID/components/zlib -I /c/linuxShared/win/deviceVID/build/include  -I . -c /c/linuxShared/esp/esp-idf/components/esp_http_client/esp_http_client.c -o esp_http_client.o
In file included from C:/linuxShared/esp/esp-idf/components/esp_http_client/include/esp_http_client.h:19:0,
                 from C:/linuxShared/esp/esp-idf/components/esp_http_client/esp_http_client.c:28:
C:/linuxShared/esp/esp-idf/components/nghttp/port/include/http_parser.h:149:3: error: 'flags' defined as wrong kind of tag
   { F_CHUNKED               = 1 << 0
   ^
make[1]: *** [/c/linuxShared/esp/esp-idf/make/component_wrapper.mk:286: esp_http_client.o] Error 1
make[1]: Leaving directory '/c/linuxShared/win/deviceVID/build/esp_http_client'
make: *** [C:\linuxShared\esp\esp-idf/make/project.mk:481: component-esp_http_client-build] Error 2

here's the sdkconfig........I removed a couple of local setup info sections that I don't think you care about:

#
# Automatically generated file; DO NOT EDIT.
# Espressif IoT Development Framework Configuration
#

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

#
# Bootloader config
#
CONFIG_LOG_BOOTLOADER_LEVEL_NONE=
CONFIG_LOG_BOOTLOADER_LEVEL_ERROR=
CONFIG_LOG_BOOTLOADER_LEVEL_WARN=
CONFIG_LOG_BOOTLOADER_LEVEL_INFO=
CONFIG_LOG_BOOTLOADER_LEVEL_DEBUG=y
CONFIG_LOG_BOOTLOADER_LEVEL_VERBOSE=
CONFIG_LOG_BOOTLOADER_LEVEL=4
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

#
# Security features
#
CONFIG_SECURE_SIGNED_APPS_NO_SECURE_BOOT=
CONFIG_SECURE_BOOT_ENABLED=
CONFIG_FLASH_ENCRYPTION_ENABLED=

#
# Serial flasher config
#
CONFIG_ESPTOOLPY_PORT="COM6"
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=
CONFIG_ESPTOOLPY_FLASHSIZE_4MB=y
CONFIG_ESPTOOLPY_FLASHSIZE_8MB=
CONFIG_ESPTOOLPY_FLASHSIZE_16MB=
CONFIG_ESPTOOLPY_FLASHSIZE="4MB"
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

#  removed wifi and other app setup info

#
# Partition Table
#
CONFIG_PARTITION_TABLE_SINGLE_APP=
CONFIG_PARTITION_TABLE_TWO_OTA=y
CONFIG_PARTITION_TABLE_CUSTOM=
CONFIG_PARTITION_TABLE_CUSTOM_FILENAME="partitions.csv"
CONFIG_PARTITION_TABLE_FILENAME="partitions_two_ota.csv"
CONFIG_PARTITION_TABLE_OFFSET=0x8000
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=y

#
# 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
#removed some local setup info

#
# Bluetooth
#
CONFIG_BT_ENABLED=
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

#
# Camera configuration
#
CONFIG_ENABLE_TEST_PATTERN=
CONFIG_OV2640_SUPPORT=y
CONFIG_OV7725_SUPPORT=y
CONFIG_OV7670_SUPPORT=y

#
# 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

#
# ESP32-specific
#
CONFIG_ESP32_DEFAULT_CPU_FREQ_80=
CONFIG_ESP32_DEFAULT_CPU_FREQ_160=
CONFIG_ESP32_DEFAULT_CPU_FREQ_240=y
CONFIG_ESP32_DEFAULT_CPU_FREQ_MHZ=240
CONFIG_SPIRAM_SUPPORT=
CONFIG_MEMMAP_TRACEMEM=
CONFIG_MEMMAP_TRACEMEM_TWOBANKS=
CONFIG_ESP32_TRAX=
CONFIG_TRACEMEM_RESERVE_DRAM=0x0
CONFIG_ESP32_ENABLE_COREDUMP_TO_FLASH=
CONFIG_ESP32_ENABLE_COREDUMP_TO_UART=
CONFIG_ESP32_ENABLE_COREDUMP_TO_NONE=y
CONFIG_ESP32_ENABLE_COREDUMP=
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=4096
CONFIG_MAIN_TASK_STACK_SIZE=60000
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=y
CONFIG_ESP32_PANIC_PRINT_REBOOT=
CONFIG_ESP32_PANIC_SILENT_REBOOT=
CONFIG_ESP32_PANIC_GDBSTUB=
CONFIG_ESP32_DEBUG_OCDAWARE=y
CONFIG_ESP32_DEBUG_STUBS_ENABLE=
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

#
# Wi-Fi
#
CONFIG_ESP32_WIFI_STATIC_RX_BUFFER_NUM=16
CONFIG_ESP32_WIFI_DYNAMIC_RX_BUFFER_NUM=32
CONFIG_ESP32_WIFI_STATIC_TX_BUFFER=y
CONFIG_ESP32_WIFI_DYNAMIC_TX_BUFFER=
CONFIG_ESP32_WIFI_TX_BUFFER_TYPE=0
CONFIG_ESP32_WIFI_STATIC_TX_BUFFER_NUM=16
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=

#
# 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

#
# ESP HTTP client
#
CONFIG_ESP_HTTP_CLIENT_ENABLE_HTTPS=y

#
# Ethernet
#
CONFIG_DMA_RX_BUF_NUM=10
CONFIG_DMA_TX_BUF_NUM=10
CONFIG_EMAC_L2_TO_L3_RX_BUF_MODE=
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

#
# FreeRTOS
#
CONFIG_FREERTOS_UNICORE=
CONFIG_FREERTOS_CORETIMER_0=y
CONFIG_FREERTOS_CORETIMER_1=
CONFIG_FREERTOS_HZ=1000
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=y
CONFIG_FREERTOS_INTERRUPT_BACKTRACE=y
CONFIG_FREERTOS_THREAD_LOCAL_STORAGE_POINTERS=2
CONFIG_FREERTOS_ASSERT_FAIL_ABORT=y
CONFIG_FREERTOS_ASSERT_FAIL_PRINT_CONTINUE=
CONFIG_FREERTOS_ASSERT_DISABLE=
CONFIG_FREERTOS_IDLE_TASK_STACKSIZE=1024
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=

#
# Heap memory debugging
#
CONFIG_HEAP_POISONING_DISABLED=
CONFIG_HEAP_POISONING_LIGHT=y
CONFIG_HEAP_POISONING_COMPREHENSIVE=
CONFIG_HEAP_TRACING=y
CONFIG_HEAP_TRACING_STACK_DEPTH=2
CONFIG_HEAP_TASK_TRACKING=

#
# 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=
CONFIG_LOG_DEFAULT_LEVEL_DEBUG=y
CONFIG_LOG_DEFAULT_LEVEL_VERBOSE=
CONFIG_LOG_DEFAULT_LEVEL=4
CONFIG_LOG_COLORS=y

#
# LWIP
#
CONFIG_L2_TO_L3_COPY=
CONFIG_LWIP_IRAM_OPTIMIZATION=y
CONFIG_LWIP_MAX_SOCKETS=10
CONFIG_USE_ONLY_LWIP_SELECT=
CONFIG_LWIP_SO_REUSE=y
CONFIG_LWIP_SO_REUSE_RXTOALL=y
CONFIG_LWIP_SO_RCVBUF=
CONFIG_LWIP_DHCP_MAX_NTP_SERVERS=1
CONFIG_LWIP_IP_FRAG=
CONFIG_LWIP_IP_REASSEMBLY=
CONFIG_LWIP_STATS=
CONFIG_LWIP_ETHARP_TRUST_IP_MAC=y
CONFIG_ESP_GRATUITOUS_ARP=y
CONFIG_GARP_TMR_INTERVAL=60
CONFIG_TCPIP_RECVMBOX_SIZE=32
CONFIG_LWIP_DHCP_DOES_ARP_CHECK=y

#
# DHCP server
#
CONFIG_LWIP_DHCPS_LEASE_UNIT=60
CONFIG_LWIP_DHCPS_MAX_STATION_NUM=8
CONFIG_LWIP_AUTOIP=
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=8192
CONFIG_PPP_SUPPORT=

#
# ICMP
#
CONFIG_LWIP_MULTICAST_PING=
CONFIG_LWIP_BROADCAST_PING=

#
# LWIP RAW API
#
CONFIG_LWIP_MAX_RAW_PCBS=16

#
# mbedTLS
#
CONFIG_MBEDTLS_PLATFORM_MEMORY=
CONFIG_MBEDTLS_SSL_MAX_CONTENT_LEN=8192
CONFIG_MBEDTLS_DEBUG=
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=

#
# 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

#
# 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=

#
# 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

#
# 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
Rajkumar181 commented 6 years ago

any update?

igrr commented 6 years ago

@buckybots The issue happens because there are two transport.h files now: one in libssh2 component, the other one in tcp_transport component of ESP-IDF.

This is an oversight on our part, the name of the public header file should not be that generic. This will be fixed soon.

Also you might be able to fix this on your side by removing libssh2/src from the list of public include directories, and making it a private include directory instead (via COMPONENT_PRIV_INCLUDEDIRS).

projectgus commented 5 years ago

Sorry for the lack of update. This was fixed in 40c6cbb3abf1d8531a3897ee88f640cf14d141bf.