This is a problem specific to the ESP32 dev board I am using, which has a CP2102 chip on it, that does not occur when I program my ESP8266 or Arduino boards (which do not use the CP2102).
In addition, esptool.py seems to be using Python 2.7 for some reason, though I have more recent versions installed (3.10.6 being my latest), and is having issues with homebrew.pth.
Any suggestions on how I can improve the reliability of the comms, and make the python 2.7 issue go away?
Code: Select all
/Applications/Arduino.app/Contents/Java/arduino-builder -dump-prefs -logger=machine -hardware /Applications/Arduino.app/Contents/Java/hardware -hardware /Users/user/Library/Arduino15/packages -tools /Applications/Arduino.app/Contents/Java/tools-builder -tools /Applications/Arduino.app/Contents/Java/hardware/tools/avr -tools /Users/user/Library/Arduino15/packages -built-in-libraries /Applications/Arduino.app/Contents/Java/libraries -libraries /Users/user/Documents/Arduino/libraries -fqbn=esp32:esp32:esp32:PSRAM=disabled,PartitionScheme=default,CPUFreq=240,FlashMode=qio,FlashFreq=80,FlashSize=4M,UploadSpeed=921600,DebugLevel=none -vid-pid=0000_0000 -ide-version=10819 -build-path /var/folders/tg/vymk3ysd1n14cpx7r7_q5pgw0000gn/T/arduino_build_798728 -warnings=none -build-cache /var/folders/tg/vymk3ysd1n14cpx7r7_q5pgw0000gn/T/arduino_cache_80105 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.xtensa-esp32-elf-gcc.path=/Users/user/Library/Arduino15/packages/esp32/tools/xtensa-esp32-elf-gcc/1.22.0-97-gc752ad5-5.2.0 -prefs=runtime.tools.xtensa-esp32-elf-gcc-1.22.0-97-gc752ad5-5.2.0.path=/Users/user/Library/Arduino15/packages/esp32/tools/xtensa-esp32-elf-gcc/1.22.0-97-gc752ad5-5.2.0 -prefs=runtime.tools.mkspiffs.path=/Users/user/Library/Arduino15/packages/esp32/tools/mkspiffs/0.2.3 -prefs=runtime.tools.mkspiffs-0.2.3.path=/Users/user/Library/Arduino15/packages/esp32/tools/mkspiffs/0.2.3 -prefs=runtime.tools.esptool_py.path=/Users/user/Library/Arduino15/packages/esp32/tools/esptool_py/3.0.0 -prefs=runtime.tools.esptool_py-3.0.0.path=/Users/user/Library/Arduino15/packages/esp32/tools/esptool_py/3.0.0 -verbose /Users/user/Documents/Work/TestConnection/TestConnection.ino
/Applications/Arduino.app/Contents/Java/arduino-builder -compile -logger=machine -hardware /Applications/Arduino.app/Contents/Java/hardware -hardware /Users/user/Library/Arduino15/packages -tools /Applications/Arduino.app/Contents/Java/tools-builder -tools /Applications/Arduino.app/Contents/Java/hardware/tools/avr -tools /Users/user/Library/Arduino15/packages -built-in-libraries /Applications/Arduino.app/Contents/Java/libraries -libraries /Users/user/Documents/Arduino/libraries -fqbn=esp32:esp32:esp32:PSRAM=disabled,PartitionScheme=default,CPUFreq=240,FlashMode=qio,FlashFreq=80,FlashSize=4M,UploadSpeed=921600,DebugLevel=none -vid-pid=0000_0000 -ide-version=10819 -build-path /var/folders/tg/vymk3ysd1n14cpx7r7_q5pgw0000gn/T/arduino_build_798728 -warnings=none -build-cache /var/folders/tg/vymk3ysd1n14cpx7r7_q5pgw0000gn/T/arduino_cache_80105 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.xtensa-esp32-elf-gcc.path=/Users/user/Library/Arduino15/packages/esp32/tools/xtensa-esp32-elf-gcc/1.22.0-97-gc752ad5-5.2.0 -prefs=runtime.tools.xtensa-esp32-elf-gcc-1.22.0-97-gc752ad5-5.2.0.path=/Users/user/Library/Arduino15/packages/esp32/tools/xtensa-esp32-elf-gcc/1.22.0-97-gc752ad5-5.2.0 -prefs=runtime.tools.mkspiffs.path=/Users/user/Library/Arduino15/packages/esp32/tools/mkspiffs/0.2.3 -prefs=runtime.tools.mkspiffs-0.2.3.path=/Users/user/Library/Arduino15/packages/esp32/tools/mkspiffs/0.2.3 -prefs=runtime.tools.esptool_py.path=/Users/user/Library/Arduino15/packages/esp32/tools/esptool_py/3.0.0 -prefs=runtime.tools.esptool_py-3.0.0.path=/Users/user/Library/Arduino15/packages/esp32/tools/esptool_py/3.0.0 -verbose /Users/user/Documents/Work/TestConnection/TestConnection.ino
Using board 'esp32' from platform in folder: /Users/user/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6
Using core 'esp32' from platform in folder: /Users/user/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6
bash -c "[ ! -f \"/Users/user/Documents/Work/TestConnection\"/partitions.csv ] || cp -f \"/Users/user/Documents/Work/TestConnection\"/partitions.csv \"/var/folders/tg/vymk3ysd1n14cpx7r7_q5pgw0000gn/T/arduino_build_798728\"/partitions.csv"
bash -c "[ -f \"/var/folders/tg/vymk3ysd1n14cpx7r7_q5pgw0000gn/T/arduino_build_798728\"/partitions.csv ] || cp \"/Users/user/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6\"/tools/partitions/default.csv \"/var/folders/tg/vymk3ysd1n14cpx7r7_q5pgw0000gn/T/arduino_build_798728\"/partitions.csv"
Detecting libraries used...
/Users/user/Library/Arduino15/packages/esp32/tools/xtensa-esp32-elf-gcc/1.22.0-97-gc752ad5-5.2.0/bin/xtensa-esp32-elf-g++ -DESP_PLATFORM "-DMBEDTLS_CONFIG_FILE=\"mbedtls/esp_config.h\"" -DHAVE_CONFIG_H -DGCC_NOT_5_2_0=0 -DWITH_POSIX -I/Users/user/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/config -I/Users/user/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/app_trace -I/Users/user/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/app_update -I/Users/user/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/asio -I/Users/user/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/bootloader_support -I/Users/user/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/bt -I/Users/user/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/coap -I/Users/user/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/console -I/Users/user/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/driver -I/Users/user/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/efuse -I/Users/user/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/esp-tls -I/Users/user/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/esp32 -I/Users/user/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/esp_adc_cal -I/Users/user/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/esp_event -I/Users/user/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/esp_http_client -I/Users/user/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/esp_http_server -I/Users/user/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/esp_https_ota -I/Users/user/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/esp_https_server -I/Users/user/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/esp_ringbuf -I/Users/user/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/esp_websocket_client -I/Users/user/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/espcoredump -I/Users/user/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/ethernet -I/Users/user/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/expat -I/Users/user/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/fatfs -I/Users/user/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/freemodbus -I/Users/user/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/freertos -I/Users/user/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/heap -I/Users/user/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/idf_test -I/Users/user/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/jsmn -I/Users/user/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/json -I/Users/user/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/libsodium -I/Users/user/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/log -I/Users/user/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/lwip -I/Users/user/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/mbedtls -I/Users/user/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/mdns -I/Users/user/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/micro-ecc -I/Users/user/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/mqtt -I/Users/user/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/newlib -I/Users/user/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/nghttp -I/Users/user/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/nvs_flash -I/Users/user/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/openssl -I/Users/user/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/protobuf-c -I/Users/user/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/protocomm -I/Users/user/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/pthread -I/Users/user/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/sdmmc -I/Users/user/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/smartconfig_ack -I/Users/user/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/soc -I/Users/user/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/spi_flash -I/Users/user/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/spiffs -I/Users/user/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/tcp_transport -I/Users/user/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/tcpip_adapter -I/Users/user/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/ulp -I/Users/user/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/unity -I/Users/user/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/vfs -I/Users/user/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/wear_levelling -I/Users/user/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/wifi_provisioning -I/Users/user/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/wpa_supplicant -I/Users/user/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/xtensa-debug-module -I/Users/user/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/esp-face -I/Users/user/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/esp32-camera -I/Users/user/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/esp-face -I/Users/user/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/fb_gfx -std=gnu++11 -Os -g3 -Wpointer-arith -fexceptions -fstack-protector -ffunction-sections -fdata-sections -fstrict-volatile-bitfields -mlongcalls -nostdlib -w -Wno-error=maybe-uninitialized -Wno-error=unused-function -Wno-error=unused-but-set-variable -Wno-error=unused-variable -Wno-error=deprecated-declarations -Wno-unused-parameter -Wno-unused-but-set-parameter -Wno-missing-field-initializers -Wno-sign-compare -fno-rtti -c -w -x c++ -E -CC -DF_CPU=240000000L -DARDUINO=10819 -DARDUINO_ESP32_DEV -DARDUINO_ARCH_ESP32 "-DARDUINO_BOARD=\"ESP32_DEV\"" "-DARDUINO_VARIANT=\"esp32\"" -DESP32 -DCORE_DEBUG_LEVEL=0 -I/Users/user/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/cores/esp32 -I/Users/user/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/variants/esp32 /var/folders/tg/vymk3ysd1n14cpx7r7_q5pgw0000gn/T/arduino_build_798728/sketch/TestConnection.ino.cpp -o /dev/null
Generating function prototypes...
/Users/user/Library/Arduino15/packages/esp32/tools/xtensa-esp32-elf-gcc/1.22.0-97-gc752ad5-5.2.0/bin/xtensa-esp32-elf-g++ -DESP_PLATFORM "-DMBEDTLS_CONFIG_FILE=\"mbedtls/esp_config.h\"" -DHAVE_CONFIG_H -DGCC_NOT_5_2_0=0 -DWITH_POSIX -I/Users/user/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/config -I/Users/user/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/app_trace -I/Users/user/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/app_update -I/Users/user/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/asio -I/Users/user/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/bootloader_support -I/Users/user/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/bt -I/Users/user/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/coap -I/Users/user/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/console -I/Users/user/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/driver -I/Users/user/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/efuse -I/Users/user/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/esp-tls -I/Users/user/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/esp32 -I/Users/user/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/esp_adc_cal -I/Users/user/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/esp_event -I/Users/user/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/esp_http_client -I/Users/user/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/esp_http_server -I/Users/user/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/esp_https_ota -I/Users/user/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/esp_https_server -I/Users/user/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/esp_ringbuf -I/Users/user/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/esp_websocket_client -I/Users/user/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/espcoredump -I/Users/user/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/ethernet -I/Users/user/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/expat -I/Users/user/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/fatfs -I/Users/user/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/freemodbus -I/Users/user/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/freertos -I/Users/user/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/heap -I/Users/user/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/idf_test -I/Users/user/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/jsmn -I/Users/user/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/json -I/Users/user/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/libsodium -I/Users/user/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/log -I/Users/user/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/lwip -I/Users/user/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/mbedtls -I/Users/user/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/mdns -I/Users/user/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/micro-ecc -I/Users/user/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/mqtt -I/Users/user/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/newlib -I/Users/user/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/nghttp -I/Users/user/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/nvs_flash -I/Users/user/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/openssl -I/Users/user/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/protobuf-c -I/Users/user/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/protocomm -I/Users/user/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/pthread -I/Users/user/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/sdmmc -I/Users/user/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/smartconfig_ack -I/Users/user/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/soc -I/Users/user/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/spi_flash -I/Users/user/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/spiffs -I/Users/user/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/tcp_transport -I/Users/user/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/tcpip_adapter -I/Users/user/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/ulp -I/Users/user/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/unity -I/Users/user/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/vfs -I/Users/user/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/wear_levelling -I/Users/user/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/wifi_provisioning -I/Users/user/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/wpa_supplicant -I/Users/user/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/xtensa-debug-module -I/Users/user/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/esp-face -I/Users/user/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/esp32-camera -I/Users/user/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/esp-face -I/Users/user/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/fb_gfx -std=gnu++11 -Os -g3 -Wpointer-arith -fexceptions -fstack-protector -ffunction-sections -fdata-sections -fstrict-volatile-bitfields -mlongcalls -nostdlib -w -Wno-error=maybe-uninitialized -Wno-error=unused-function -Wno-error=unused-but-set-variable -Wno-error=unused-variable -Wno-error=deprecated-declarations -Wno-unused-parameter -Wno-unused-but-set-parameter -Wno-missing-field-initializers -Wno-sign-compare -fno-rtti -c -w -x c++ -E -CC -DF_CPU=240000000L -DARDUINO=10819 -DARDUINO_ESP32_DEV -DARDUINO_ARCH_ESP32 "-DARDUINO_BOARD=\"ESP32_DEV\"" "-DARDUINO_VARIANT=\"esp32\"" -DESP32 -DCORE_DEBUG_LEVEL=0 -I/Users/user/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/cores/esp32 -I/Users/user/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/variants/esp32 /var/folders/tg/vymk3ysd1n14cpx7r7_q5pgw0000gn/T/arduino_build_798728/sketch/TestConnection.ino.cpp -o /var/folders/tg/vymk3ysd1n14cpx7r7_q5pgw0000gn/T/arduino_build_798728/preproc/ctags_target_for_gcc_minus_e.cpp
/Applications/Arduino.app/Contents/Java/tools-builder/ctags/5.8-arduino11/ctags -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives /var/folders/tg/vymk3ysd1n14cpx7r7_q5pgw0000gn/T/arduino_build_798728/preproc/ctags_target_for_gcc_minus_e.cpp
Compiling sketch...
/Users/user/Library/Arduino15/packages/esp32/tools/xtensa-esp32-elf-gcc/1.22.0-97-gc752ad5-5.2.0/bin/xtensa-esp32-elf-g++ -DESP_PLATFORM "-DMBEDTLS_CONFIG_FILE=\"mbedtls/esp_config.h\"" -DHAVE_CONFIG_H -DGCC_NOT_5_2_0=0 -DWITH_POSIX -I/Users/user/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/config -I/Users/user/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/app_trace -I/Users/user/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/app_update -I/Users/user/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/asio -I/Users/user/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/bootloader_support -I/Users/user/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/bt -I/Users/user/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/coap -I/Users/user/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/console -I/Users/user/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/driver -I/Users/user/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/efuse -I/Users/user/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/esp-tls -I/Users/user/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/esp32 -I/Users/user/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/esp_adc_cal -I/Users/user/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/esp_event -I/Users/user/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/esp_http_client -I/Users/user/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/esp_http_server -I/Users/user/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/esp_https_ota -I/Users/user/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/esp_https_server -I/Users/user/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/esp_ringbuf -I/Users/user/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/esp_websocket_client -I/Users/user/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/espcoredump -I/Users/user/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/ethernet -I/Users/user/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/expat -I/Users/user/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/fatfs -I/Users/user/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/freemodbus -I/Users/user/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/freertos -I/Users/user/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/heap -I/Users/user/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/idf_test -I/Users/user/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/jsmn -I/Users/user/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/json -I/Users/user/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/libsodium -I/Users/user/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/log -I/Users/user/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/lwip -I/Users/user/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/mbedtls -I/Users/user/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/mdns -I/Users/user/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/micro-ecc -I/Users/user/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/mqtt -I/Users/user/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/newlib -I/Users/user/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/nghttp -I/Users/user/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/nvs_flash -I/Users/user/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/openssl -I/Users/user/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/protobuf-c -I/Users/user/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/protocomm -I/Users/user/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/pthread -I/Users/user/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/sdmmc -I/Users/user/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/smartconfig_ack -I/Users/user/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/soc -I/Users/user/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/spi_flash -I/Users/user/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/spiffs -I/Users/user/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/tcp_transport -I/Users/user/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/tcpip_adapter -I/Users/user/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/ulp -I/Users/user/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/unity -I/Users/user/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/vfs -I/Users/user/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/wear_levelling -I/Users/user/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/wifi_provisioning -I/Users/user/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/wpa_supplicant -I/Users/user/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/xtensa-debug-module -I/Users/user/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/esp-face -I/Users/user/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/esp32-camera -I/Users/user/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/esp-face -I/Users/user/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/fb_gfx -std=gnu++11 -Os -g3 -Wpointer-arith -fexceptions -fstack-protector -ffunction-sections -fdata-sections -fstrict-volatile-bitfields -mlongcalls -nostdlib -w -Wno-error=maybe-uninitialized -Wno-error=unused-function -Wno-error=unused-but-set-variable -Wno-error=unused-variable -Wno-error=deprecated-declarations -Wno-unused-parameter -Wno-unused-but-set-parameter -Wno-missing-field-initializers -Wno-sign-compare -fno-rtti -MMD -c -DF_CPU=240000000L -DARDUINO=10819 -DARDUINO_ESP32_DEV -DARDUINO_ARCH_ESP32 "-DARDUINO_BOARD=\"ESP32_DEV\"" "-DARDUINO_VARIANT=\"esp32\"" -DESP32 -DCORE_DEBUG_LEVEL=0 -I/Users/user/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/cores/esp32 -I/Users/user/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/variants/esp32 /var/folders/tg/vymk3ysd1n14cpx7r7_q5pgw0000gn/T/arduino_build_798728/sketch/TestConnection.ino.cpp -o /var/folders/tg/vymk3ysd1n14cpx7r7_q5pgw0000gn/T/arduino_build_798728/sketch/TestConnection.ino.cpp.o
Compiling libraries...
Compiling core...
Using previously compiled file: /var/folders/tg/vymk3ysd1n14cpx7r7_q5pgw0000gn/T/arduino_build_798728/core/esp32-hal-log.c.o
Using previously compiled file: /var/folders/tg/vymk3ysd1n14cpx7r7_q5pgw0000gn/T/arduino_build_798728/core/esp32-hal-adc.c.o
Using previously compiled file: /var/folders/tg/vymk3ysd1n14cpx7r7_q5pgw0000gn/T/arduino_build_798728/core/esp32-hal-ledc.c.o
Using previously compiled file: /var/folders/tg/vymk3ysd1n14cpx7r7_q5pgw0000gn/T/arduino_build_798728/core/esp32-hal-dac.c.o
Using previously compiled file: /var/folders/tg/vymk3ysd1n14cpx7r7_q5pgw0000gn/T/arduino_build_798728/core/esp32-hal-cpu.c.o
Using previously compiled file: /var/folders/tg/vymk3ysd1n14cpx7r7_q5pgw0000gn/T/arduino_build_798728/core/esp32-hal-gpio.c.o
Using previously compiled file: /var/folders/tg/vymk3ysd1n14cpx7r7_q5pgw0000gn/T/arduino_build_798728/core/esp32-hal-i2c.c.o
Using previously compiled file: /var/folders/tg/vymk3ysd1n14cpx7r7_q5pgw0000gn/T/arduino_build_798728/core/esp32-hal-matrix.c.o
Using previously compiled file: /var/folders/tg/vymk3ysd1n14cpx7r7_q5pgw0000gn/T/arduino_build_798728/core/esp32-hal-bt.c.o
Using previously compiled file: /var/folders/tg/vymk3ysd1n14cpx7r7_q5pgw0000gn/T/arduino_build_798728/core/esp32-hal-misc.c.o
Using previously compiled file: /var/folders/tg/vymk3ysd1n14cpx7r7_q5pgw0000gn/T/arduino_build_798728/core/esp32-hal-psram.c.o
Using previously compiled file: /var/folders/tg/vymk3ysd1n14cpx7r7_q5pgw0000gn/T/arduino_build_798728/core/esp32-hal-sigmadelta.c.o
Using previously compiled file: /var/folders/tg/vymk3ysd1n14cpx7r7_q5pgw0000gn/T/arduino_build_798728/core/esp32-hal-rmt.c.o
Using previously compiled file: /var/folders/tg/vymk3ysd1n14cpx7r7_q5pgw0000gn/T/arduino_build_798728/core/esp32-hal-spi.c.o
Using previously compiled file: /var/folders/tg/vymk3ysd1n14cpx7r7_q5pgw0000gn/T/arduino_build_798728/core/esp32-hal-time.c.o
Using previously compiled file: /var/folders/tg/vymk3ysd1n14cpx7r7_q5pgw0000gn/T/arduino_build_798728/core/esp32-hal-timer.c.o
Using previously compiled file: /var/folders/tg/vymk3ysd1n14cpx7r7_q5pgw0000gn/T/arduino_build_798728/core/stdlib_noniso.c.o
Using previously compiled file: /var/folders/tg/vymk3ysd1n14cpx7r7_q5pgw0000gn/T/arduino_build_798728/core/esp32-hal-touch.c.o
Using previously compiled file: /var/folders/tg/vymk3ysd1n14cpx7r7_q5pgw0000gn/T/arduino_build_798728/core/esp32-hal-uart.c.o
Using previously compiled file: /var/folders/tg/vymk3ysd1n14cpx7r7_q5pgw0000gn/T/arduino_build_798728/core/libb64/cdecode.c.o
Using previously compiled file: /var/folders/tg/vymk3ysd1n14cpx7r7_q5pgw0000gn/T/arduino_build_798728/core/libb64/cencode.c.o
Using previously compiled file: /var/folders/tg/vymk3ysd1n14cpx7r7_q5pgw0000gn/T/arduino_build_798728/core/wiring_pulse.c.o
Using previously compiled file: /var/folders/tg/vymk3ysd1n14cpx7r7_q5pgw0000gn/T/arduino_build_798728/core/wiring_shift.c.o
Using previously compiled file: /var/folders/tg/vymk3ysd1n14cpx7r7_q5pgw0000gn/T/arduino_build_798728/core/IPv6Address.cpp.o
Using previously compiled file: /var/folders/tg/vymk3ysd1n14cpx7r7_q5pgw0000gn/T/arduino_build_798728/core/FunctionalInterrupt.cpp.o
Using previously compiled file: /var/folders/tg/vymk3ysd1n14cpx7r7_q5pgw0000gn/T/arduino_build_798728/core/HardwareSerial.cpp.o
Using previously compiled file: /var/folders/tg/vymk3ysd1n14cpx7r7_q5pgw0000gn/T/arduino_build_798728/core/IPAddress.cpp.o
Using previously compiled file: /var/folders/tg/vymk3ysd1n14cpx7r7_q5pgw0000gn/T/arduino_build_798728/core/Print.cpp.o
Using previously compiled file: /var/folders/tg/vymk3ysd1n14cpx7r7_q5pgw0000gn/T/arduino_build_798728/core/Stream.cpp.o
Using previously compiled file: /var/folders/tg/vymk3ysd1n14cpx7r7_q5pgw0000gn/T/arduino_build_798728/core/MD5Builder.cpp.o
Using previously compiled file: /var/folders/tg/vymk3ysd1n14cpx7r7_q5pgw0000gn/T/arduino_build_798728/core/Esp.cpp.o
Using previously compiled file: /var/folders/tg/vymk3ysd1n14cpx7r7_q5pgw0000gn/T/arduino_build_798728/core/WMath.cpp.o
Using previously compiled file: /var/folders/tg/vymk3ysd1n14cpx7r7_q5pgw0000gn/T/arduino_build_798728/core/cbuf.cpp.o
Using previously compiled file: /var/folders/tg/vymk3ysd1n14cpx7r7_q5pgw0000gn/T/arduino_build_798728/core/StreamString.cpp.o
Using previously compiled file: /var/folders/tg/vymk3ysd1n14cpx7r7_q5pgw0000gn/T/arduino_build_798728/core/WString.cpp.o
Using previously compiled file: /var/folders/tg/vymk3ysd1n14cpx7r7_q5pgw0000gn/T/arduino_build_798728/core/base64.cpp.o
Using previously compiled file: /var/folders/tg/vymk3ysd1n14cpx7r7_q5pgw0000gn/T/arduino_build_798728/core/main.cpp.o
Using previously compiled file: /var/folders/tg/vymk3ysd1n14cpx7r7_q5pgw0000gn/T/arduino_build_798728/core/core.a
Archiving built core (caching) in: /var/folders/tg/vymk3ysd1n14cpx7r7_q5pgw0000gn/T/arduino_cache_80105/core/core_989dd4b76afd6bfc510460990e89f429.a
Linking everything together...
/Users/user/Library/Arduino15/packages/esp32/tools/xtensa-esp32-elf-gcc/1.22.0-97-gc752ad5-5.2.0/bin/xtensa-esp32-elf-gcc -nostdlib -L/Users/user/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/lib -L/Users/user/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/ld -T esp32_out.ld -T esp32.project.ld -T esp32.rom.ld -T esp32.peripherals.ld -T esp32.rom.libgcc.ld -T esp32.rom.spiram_incompatible_fns.ld -u esp_app_desc -u ld_include_panic_highint_hdl -u call_user_start_cpu0 -Wl,--gc-sections -Wl,-static -Wl,--undefined=uxTopUsedPriority -u __cxa_guard_dummy -u __cxx_fatal_exception -Wl,--start-group /var/folders/tg/vymk3ysd1n14cpx7r7_q5pgw0000gn/T/arduino_build_798728/sketch/TestConnection.ino.cpp.o /var/folders/tg/vymk3ysd1n14cpx7r7_q5pgw0000gn/T/arduino_build_798728/core/core.a -lgcc -lesp_websocket_client -lwpa2 -ldetection -lesp_https_server -lwps -lhal -lconsole -lpe -lsoc -lsdmmc -lpthread -llog -lesp_http_client -ljson -lmesh -lesp32-camera -lnet80211 -lwpa_supplicant -lc -lmqtt -lcxx -lesp_https_ota -lulp -lefuse -lpp -lmdns -lbt -lwpa -lspiffs -lheap -limage_util -lunity -lrtc -lmbedtls -lface_recognition -lnghttp -ljsmn -lopenssl -lcore -lfatfs -lm -lprotocomm -lsmartconfig -lxtensa-debug-module -ldl -lesp_event -lesp-tls -lfd -lespcoredump -lesp_http_server -lfr -lsmartconfig_ack -lwear_levelling -ltcp_transport -llwip -lphy -lvfs -lcoap -lesp32 -llibsodium -lbootloader_support -ldriver -lcoexist -lasio -lod -lmicro-ecc -lesp_ringbuf -ldetection_cat_face -lapp_update -lespnow -lface_detection -lapp_trace -lnewlib -lbtdm_app -lwifi_provisioning -lfreertos -lfreemodbus -lethernet -lnvs_flash -lspi_flash -lc_nano -lexpat -lfb_gfx -lprotobuf-c -lesp_adc_cal -ltcpip_adapter -lstdc++ -Wl,--end-group -Wl,-EL -o /var/folders/tg/vymk3ysd1n14cpx7r7_q5pgw0000gn/T/arduino_build_798728/TestConnection.ino.elf
/Users/user/Library/Arduino15/packages/esp32/tools/esptool_py/3.0.0/esptool --chip esp32 elf2image --flash_mode dio --flash_freq 80m --flash_size 4MB -o /var/folders/tg/vymk3ysd1n14cpx7r7_q5pgw0000gn/T/arduino_build_798728/TestConnection.ino.bin /var/folders/tg/vymk3ysd1n14cpx7r7_q5pgw0000gn/T/arduino_build_798728/TestConnection.ino.elf
esptool.py v3.0-dev
python /Users/user/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/gen_esp32part.py -q /var/folders/tg/vymk3ysd1n14cpx7r7_q5pgw0000gn/T/arduino_build_798728/partitions.csv /var/folders/tg/vymk3ysd1n14cpx7r7_q5pgw0000gn/T/arduino_build_798728/TestConnection.ino.partitions.bin
Error processing line 2 of /usr/local/lib/python2.7/site-packages/homebrew.pth:
Error processing line 2 of /usr/local/lib/python2.7/site-packages/homebrew.pth:
Traceback (most recent call last):
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site.py", line 152, in addpackage
exec line
File "<string>", line 1, in <module>
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site.py", line 190, in addsitedir
addpackage(sitedir, name, known_paths)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site.py", line 162, in addpackage
for record in traceback.format_exception(*sys.exc_info()):
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/traceback.py", line 141, in format_exception
list = list + format_tb(tb, limit)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/traceback.py", line 76, in format_tb
return format_list(extract_tb(tb, limit))
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/traceback.py", line 101, in extract_tb
line = linecache.getline(filename, lineno, f.f_globals)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/linecache.py", line 14, in getline
lines = getlines(filename, module_globals)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/linecache.py", line 41, in getlines
return updatecache(filename, module_globals)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/linecache.py", line 131, in updatecache
with open(fullname, 'rU') as fp:
RuntimeError: maximum recursion depth exceeded
Remainder of file ignored
/Users/user/Library/Arduino15/packages/esp32/tools/xtensa-esp32-elf-gcc/1.22.0-97-gc752ad5-5.2.0/bin/xtensa-esp32-elf-size -A /var/folders/tg/vymk3ysd1n14cpx7r7_q5pgw0000gn/T/arduino_build_798728/TestConnection.ino.elf
Sketch uses 198438 bytes (15%) of program storage space. Maximum is 1310720 bytes.
Global variables use 13248 bytes (4%) of dynamic memory, leaving 314432 bytes for local variables. Maximum is 327680 bytes.
/Users/user/Library/Arduino15/packages/esp32/tools/esptool_py/3.0.0/esptool --chip esp32 --port /dev/cu.SLAB_USBtoUART --baud 921600 --before default_reset --after hard_reset write_flash -z --flash_mode dio --flash_freq 80m --flash_size detect 0xe000 /Users/user/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/partitions/boot_app0.bin 0x1000 /Users/user/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/bin/bootloader_qio_80m.bin 0x10000 /var/folders/tg/vymk3ysd1n14cpx7r7_q5pgw0000gn/T/arduino_build_798728/TestConnection.ino.bin 0x8000 /var/folders/tg/vymk3ysd1n14cpx7r7_q5pgw0000gn/T/arduino_build_798728/TestConnection.ino.partitions.bin
esptool.py v3.0-dev
Serial port /dev/cu.SLAB_USBtoUART
Connecting........_____....._____....._____....._____....._____....._____.....____An error occurred while uploading the sketch
_
A fatal error occurred: Failed to connect to ESP32: Timed out waiting for packet header