Page 1 of 2
Uploading problem
Posted: Mon Mar 07, 2022 5:05 pm
by felixegger
Hello Support Team
By uploading my file to the Target ESP32 Wroom32 I always get the following
message :

- Unbenannt.png (142.38 KiB) Viewed 6531 times
What shall I do ?
Thanks a lot
Felix
Re: Uploading problem
Posted: Mon Mar 07, 2022 5:19 pm
by LeighM
Hi Felix,
The build process creates a project message file ending in msg.txt in the same folder as your Flowcode project file.
Could you please attach this file to this post?
Re: Uploading problem
Posted: Tue Mar 08, 2022 12:15 pm
by felixegger
The msg.txt file is hudge :
Code: Select all
Target folder: C:\Users\maestro\Desktop\Flowcode Files
Source name: C:\Users\maestro\Desktop\Flowcode Files\Easyblink.fcfx
Title:
Description:
Device: ESP.ESP32.ESP32_WROOM_32
Generated by: Flowcode v9.2.0.33
Date: Tuesday, March 08, 2022 12:54:38
Users: 1
Registered to: felixegger (38396505)
Licence key: JMA9BD
NOT FOR COMMERCIAL USE
https://www.flowcode.co.uk
Using FCD settings for compiler
Launching the compiler...
C:\ProgramData\MatrixTSL\FlowcodeV9\FCD\ESP\Batch\esp32_build.bat "C:\Users\maestro\Desktop\esp-idf\" "Easyblink" "C:\Users\maestro\Desktop\Flowcode Files\" esp32s_sdkconfig
C:\Users\maestro\Desktop\Flowcode Files>REM CRC: 0796FC1E6A776AF9156B257209C35258CE7C28B3EC20AEA2C632DB392A0E4BFD5B3F53B21811978F7B21FE4085045A7E774D1D3D69D8A99EE7320EAE740A5DB6FE0D8D4660AC0314F98C28BCA92AF856EFD1DB5B777140BC4D00059D795899827D9F76D89626FBC8B199900461C78937B42DEF8219F63A24580137A2F6C8FDB7553324EFF791947E8AB6FFD612B81BAA97C798A8F1CFC189DE5D38517747C774AF2DD6F839BAECF83F7F994C7164CE77868F480396BDEF2F2C3050DA273BE4EE6FE0BB589D1229A5E37B217FF86DBD72A01B8FBC49BE02BFA3608A0B0CE69F969622A912E6E6A2FB
C:\Users\maestro\Desktop\Flowcode Files>REM REVISION: 4.0
C:\Users\maestro\Desktop\Flowcode Files>REM GUID: 955EA920-4961-4C53-BA6B-EF4AF66BB4C2
C:\Users\maestro\Desktop\Flowcode Files>REM DATE: 29\03\2021
C:\Users\maestro\Desktop\Flowcode Files>REM DIR: FCD\ESP\Batch\esp32_build.bat
Building Easyblink ...
Setting IDF_PATH: C:\Users\maestro\Desktop\esp-idf
Adding ESP-IDF tools to PATH...
C:\Users\maestro\.espressif\tools\xtensa-esp32-elf\esp-2020r3-8.4.0\xtensa-esp32-elf\bin
C:\Users\maestro\.espressif\tools\xtensa-esp32s2-elf\esp-2020r3-8.4.0\xtensa-esp32s2-elf\bin
C:\Users\maestro\.espressif\tools\esp32ulp-elf\2.28.51-esp-20191205\esp32ulp-elf-binutils\bin
C:\Users\maestro\.espressif\tools\esp32s2ulp-elf\2.28.51-esp-20191205\esp32s2ulp-elf-binutils\bin
C:\Users\maestro\.espressif\tools\cmake\3.16.4\bin
C:\Users\maestro\.espressif\tools\openocd-esp32\v0.10.0-esp32-20200709\openocd-esp32\bin
C:\Users\maestro\.espressif\tools\ninja\1.10.0\
C:\Users\maestro\.espressif\tools\idf-exe\1.0.1\
C:\Users\maestro\.espressif\tools\ccache\3.7\
C:\Users\maestro\.espressif\tools\dfu-util\0.9\dfu-util-0.9-win64
C:\Users\maestro\.espressif\python_env\idf4.2_py3.7_env\Scripts
C:\Users\maestro\Desktop\esp-idf\tools
Checking if Python packages are up to date...
Python requirements from C:\Users\maestro\Desktop\esp-idf\requirements.txt are satisfied.
Done! You can now compile ESP-IDF projects.
Go to the project directory and run:
idf.py build
-- Found Git: C:/Program Files/Git/cmd/git.exe (found version "2.21.0.windows.1")
. . . . . . . .
-- IDF_TARGET not set, using default target: esp32
-- ccache will be used for faster recompilation
-- The C compiler identification is GNU 8.4.0
-- The CXX compiler identification is GNU 8.4.0
-- The ASM compiler identification is GNU
-- Found assembler: C:/Users/maestro/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc.exe
-- Check for working C compiler: C:/Users/maestro/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc.exe
-- Check for working C compiler: C:/Users/maestro/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc.exe -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: C:/Users/maestro/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-g++.exe
-- Check for working CXX compiler: C:/Users/maestro/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-g++.exe -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Project is not inside a git repository, or git repository has no commits; will not use 'git describe' to determine PROJECT_VER.
-- Building ESP-IDF components for target esp32
.
-- Project sdkconfig file C:/Users/maestro/Desktop/Flowcode_Files/Easyblink/sdkconfig
-- Found PythonInterp: C:/Users/maestro/.espressif/python_env/idf4.2_py3.7_env/Scripts/python.exe (found version "3.7.3")
-- Could NOT find Perl (missing: PERL_EXECUTABLE)
-- App "esp-project" version: 1
-- Adding linker script C:/Users/maestro/Desktop/esp-idf/components/esp_rom/esp32/ld/esp32.rom.newlib-time.ld
-- Adding linker script C:/Users/maestro/Desktop/esp-idf/components/esp_rom/esp32/ld/esp32.rom.ld
-- Adding linker script C:/Users/maestro/Desktop/esp-idf/components/esp_rom/esp32/ld/esp32.rom.libgcc.ld
-- Adding linker script C:/Users/maestro/Desktop/esp-idf/components/esp_rom/esp32/ld/esp32.rom.newlib-data.ld
-- Adding linker script C:/Users/maestro/Desktop/esp-idf/components/esp_rom/esp32/ld/esp32.rom.syscalls.ld
-- Adding linker script C:/Users/maestro/Desktop/esp-idf/components/esp_rom/esp32/ld/esp32.rom.newlib-funcs.ld
-- Adding linker script C:/Users/maestro/Desktop/Flowcode_Files/Easyblink/build/esp-idf/esp32/esp32_out.ld
-- Adding linker script C:/Users/maestro/Desktop/esp-idf/components/esp32/ld/esp32.project.ld.in
-- Adding linker script C:/Users/maestro/Desktop/esp-idf/components/esp32/ld/esp32.peripherals.ld
. .
-- Components: app_trace app_update asio bootloader bootloader_support bt cbor coap console cxx driver efuse esp-tls esp32 esp_adc_cal esp_common esp_eth esp_event esp_gdbstub esp_hid esp_http_client esp_http_server esp_https_ota esp_https_server esp_ipc esp_local_ctrl esp_netif esp_ringbuf esp_rom esp_serial_slave_link esp_system esp_timer esp_websocket_client esp_wifi espcoredump esptool_py expat fatfs freemodbus freertos heap idf_test jsmn json libsodium log lwip main mbedtls mdns mqtt newlib nghttp nvs_flash openssl partition_table perfmon protobuf-c protocomm pthread sdmmc soc spi_flash spiffs tcp_transport tcpip_adapter tinyusb ulp unity vfs wear_levelling wifi_provisioning wpa_supplicant xtensa
-- Component paths: C:/Users/maestro/Desktop/esp-idf/components/app_trace C:/Users/maestro/Desktop/esp-idf/components/app_update C:/Users/maestro/Desktop/esp-idf/components/asio C:/Users/maestro/Desktop/esp-idf/components/bootloader C:/Users/maestro/Desktop/esp-idf/components/bootloader_support C:/Users/maestro/Desktop/esp-idf/components/bt C:/Users/maestro/Desktop/esp-idf/components/cbor C:/Users/maestro/Desktop/esp-idf/components/coap C:/Users/maestro/Desktop/esp-idf/components/console C:/Users/maestro/Desktop/esp-idf/components/cxx C:/Users/maestro/Desktop/esp-idf/components/driver C:/Users/maestro/Desktop/esp-idf/components/efuse C:/Users/maestro/Desktop/esp-idf/components/esp-tls C:/Users/maestro/Desktop/esp-idf/components/esp32 C:/Users/maestro/Desktop/esp-idf/components/esp_adc_cal C:/Users/maestro/Desktop/esp-idf/components/esp_common C:/Users/maestro/Desktop/esp-idf/components/esp_eth C:/Users/maestro/Desktop/esp-idf/components/esp_event C:/Users/maestro/Desktop/esp-idf/components/esp_gdbstub C:/Users/maestro/Desktop/esp-idf/components/esp_hid C:/Users/maestro/Desktop/esp-idf/components/esp_http_client C:/Users/maestro/Desktop/esp-idf/components/esp_http_server C:/Users/maestro/Desktop/esp-idf/components/esp_https_ota C:/Users/maestro/Desktop/esp-idf/components/esp_https_server C:/Users/maestro/Desktop/esp-idf/components/esp_ipc C:/Users/maestro/Desktop/esp-idf/components/esp_local_ctrl C:/Users/maestro/Desktop/esp-idf/components/esp_netif C:/Users/maestro/Desktop/esp-idf/components/esp_ringbuf C:/Users/maestro/Desktop/esp-idf/components/esp_rom C:/Users/maestro/Desktop/esp-idf/components/esp_serial_slave_link C:/Users/maestro/Desktop/esp-idf/components/esp_system C:/Users/maestro/Desktop/esp-idf/components/esp_timer C:/Users/maestro/Desktop/esp-idf/components/esp_websocket_client C:/Users/maestro/Desktop/esp-idf/components/esp_wifi C:/Users/maestro/Desktop/esp-idf/components/espcoredump C:/Users/maestro/Desktop/esp-idf/components/esptool_py C:/Users/maestro/Desktop/esp-idf/components/expat C:/Users/maestro/Desktop/esp-idf/components/fatfs C:/Users/maestro/Desktop/esp-idf/components/freemodbus C:/Users/maestro/Desktop/esp-idf/components/freertos C:/Users/maestro/Desktop/esp-idf/components/heap C:/Users/maestro/Desktop/esp-idf/components/idf_test C:/Users/maestro/Desktop/esp-idf/components/jsmn C:/Users/maestro/Desktop/esp-idf/components/json C:/Users/maestro/Desktop/esp-idf/components/libsodium C:/Users/maestro/Desktop/esp-idf/components/log C:/Users/maestro/Desktop/esp-idf/components/lwip C:/Users/maestro/Desktop/Flowcode_Files/Easyblink/main C:/Users/maestro/Desktop/esp-idf/components/mbedtls C:/Users/maestro/Desktop/esp-idf/components/mdns C:/Users/maestro/Desktop/esp-idf/components/mqtt C:/Users/maestro/Desktop/esp-idf/components/newlib C:/Users/maestro/Desktop/esp-idf/components/nghttp C:/Users/maestro/Desktop/esp-idf/components/nvs_flash C:/Users/maestro/Desktop/esp-idf/components/openssl C:/Users/maestro/Desktop/esp-idf/components/partition_table C:/Users/maestro/Desktop/esp-idf/components/perfmon C:/Users/maestro/Desktop/esp-idf/components/protobuf-c C:/Users/maestro/Desktop/esp-idf/components/protocomm C:/Users/maestro/Desktop/esp-idf/components/pthread C:/Users/maestro/Desktop/esp-idf/components/sdmmc C:/Users/maestro/Desktop/esp-idf/components/soc C:/Users/maestro/Desktop/esp-idf/components/spi_flash C:/Users/maestro/Desktop/esp-idf/components/spiffs C:/Users/maestro/Desktop/esp-idf/components/tcp_transport C:/Users/maestro/Desktop/esp-idf/components/tcpip_adapter C:/Users/maestro/Desktop/esp-idf/components/tinyusb C:/Users/maestro/Desktop/esp-idf/components/ulp C:/Users/maestro/Desktop/esp-idf/components/unity C:/Users/maestro/Desktop/esp-idf/components/vfs C:/Users/maestro/Desktop/esp-idf/components/wear_levelling C:/Users/maestro/Desktop/esp-idf/components/wifi_provisioning C:/Users/maestro/Desktop/esp-idf/components/wpa_supplicant C:/Users/maestro/Desktop/esp-idf/components/xtensa
-- Configuring done
.
-- Generating done
-- Build files have been written to: C:/Users/maestro/Desktop/Flowcode_Files/Easyblink/build
[1/934] Generating project_elf_src.c
[2/934] Generating linker script...
[3/934] Building C object esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/arc4.c.obj
[4/934] Building C object esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/aes.c.obj
[5/934] Building C object esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/aesni.c.obj
[6/934] Building C object esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/aria.c.obj
[7/934] Building C object esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/base64.c.obj
[8/934] Building C object esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/blowfish.c.obj
[9/934] Building C object esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/ccm.c.obj
[10/934] Building C object esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/asn1write.c.obj
[11/934] Building C object esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/asn1parse.c.obj
[12/934] Building C object esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/camellia.c.obj
[13/934] Building C object esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/chacha20.c.obj
[14/934] Building C object esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/bignum.c.obj
[15/934] Building C object esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/chachapoly.c.obj
[16/934] Building C object esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/dhm.c.obj
[17/934] Building C object esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/cipher.c.obj
[18/934] Building C object esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/ctr_drbg.c.obj
[19/934] Building C object esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/cipher_wrap.c.obj
[20/934] Building C object esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/des.c.obj
[21/934] Building C object esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/cmac.c.obj
[22/934] Building C object esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/ecdsa.c.obj
[23/934] Building C object esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/ecjpake.c.obj
[24/934] Building C object esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/ecp_curves.c.obj
[25/934] Building C object esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/ecp.c.obj
[26/934] Building C object esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/ecdh.c.obj
[27/934] Building C object esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/entropy.c.obj
[28/934] Building C object esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/havege.c.obj
[29/934] Building C object esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/hkdf.c.obj
[30/934] Building C object esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/hmac_drbg.c.obj
[31/934] Building C object esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/error.c.obj
[32/934] Building C object esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/entropy_poll.c.obj
[33/934] Building C object esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/gcm.c.obj
[34/934] Building C object esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/md5.c.obj
[35/934] Building C object esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/md2.c.obj
[36/934] Building C object esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/md4.c.obj
[37/934] Building C object esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/md_wrap.c.obj
[38/934] Building C object esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/md.c.obj
[39/934] Building C object esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/platform.c.obj
[40/934] Building C object esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/pkwrite.c.obj
[41/934] Building C object esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/memory_buffer_alloc.c.obj
[42/934] Building C object esp-idf/mbedtls/mbedtls/library/CMakeFiles/mbedcrypto.dir/pkparse.c.obj
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
[890/934] Building C object esp-idf/libsodium/CMakeFiles/__idf_libsodium.dir/port/randombytes_esp32.c.obj
[891/934] Building C object esp-idf/libsodium/CMakeFiles/__idf_libsodium.dir/libsodium/src/libsodium/sodium/utils.c.obj
[892/934] Building C object esp-idf/mqtt/CMakeFiles/__idf_mqtt.dir/esp-mqtt/lib/mqtt_outbox.c.obj
[893/934] Building C object esp-idf/mqtt/CMakeFiles/__idf_mqtt.dir/esp-mqtt/lib/mqtt_msg.c.obj
[894/934] Building C object esp-idf/openssl/CMakeFiles/__idf_openssl.dir/library/ssl_cert.c.obj
[895/934] Building C object esp-idf/mqtt/CMakeFiles/__idf_mqtt.dir/esp-mqtt/lib/platform_esp32_idf.c.obj
[896/934] Building C object esp-idf/mqtt/CMakeFiles/__idf_mqtt.dir/esp-mqtt/mqtt_client.c.obj
[897/934] Building C object esp-idf/openssl/CMakeFiles/__idf_openssl.dir/library/ssl_methods.c.obj
[898/934] Building C object esp-idf/openssl/CMakeFiles/__idf_openssl.dir/library/ssl_lib.c.obj
[899/934] Building C object esp-idf/openssl/CMakeFiles/__idf_openssl.dir/library/ssl_stack.c.obj
[900/934] Building C object esp-idf/openssl/CMakeFiles/__idf_openssl.dir/library/ssl_pkey.c.obj
[901/934] Building C object esp-idf/openssl/CMakeFiles/__idf_openssl.dir/library/ssl_x509.c.obj
[902/934] Building C object esp-idf/openssl/CMakeFiles/__idf_openssl.dir/platform/ssl_port.c.obj
[903/934] Building C object esp-idf/openssl/CMakeFiles/__idf_openssl.dir/platform/ssl_pm.c.obj
[904/934] Building C object esp-idf/spiffs/CMakeFiles/__idf_spiffs.dir/esp_spiffs.c.obj
[905/934] Building C object esp-idf/spiffs/CMakeFiles/__idf_spiffs.dir/spiffs/src/spiffs_cache.c.obj
[906/934] Building C object esp-idf/spiffs/CMakeFiles/__idf_spiffs.dir/spiffs_api.c.obj
[907/934] Building C object esp-idf/spiffs/CMakeFiles/__idf_spiffs.dir/spiffs/src/spiffs_nucleus.c.obj
[908/934] Building C object esp-idf/spiffs/CMakeFiles/__idf_spiffs.dir/spiffs/src/spiffs_gc.c.obj
[909/934] Building C object esp-idf/spiffs/CMakeFiles/__idf_spiffs.dir/spiffs/src/spiffs_check.c.obj
[910/934] Linking CXX static library esp-idf\mqtt\libmqtt.a
[911/934] Building C object esp-idf/spiffs/CMakeFiles/__idf_spiffs.dir/spiffs/src/spiffs_hydrogen.c.obj
[912/934] Building C object esp-idf/unity/CMakeFiles/__idf_unity.dir/unity_port_esp32.c.obj
[913/934] Building C object esp-idf/unity/CMakeFiles/__idf_unity.dir/unity/src/unity.c.obj
[914/934] Building C object esp-idf/unity/CMakeFiles/__idf_unity.dir/unity_runner.c.obj
[915/934] Building C object esp-idf/wifi_provisioning/CMakeFiles/__idf_wifi_provisioning.dir/src/wifi_config.c.obj
[916/934] Linking CXX static library esp-idf\openssl\libopenssl.a
[917/934] Linking CXX static library esp-idf\libsodium\liblibsodium.a
[918/934] Building C object esp-idf/wifi_provisioning/CMakeFiles/__idf_wifi_provisioning.dir/src/manager.c.obj
[919/934] Building C object esp-idf/wifi_provisioning/CMakeFiles/__idf_wifi_provisioning.dir/src/wifi_scan.c.obj
[920/934] Building C object esp-idf/wifi_provisioning/CMakeFiles/__idf_wifi_provisioning.dir/src/handlers.c.obj
[921/934] Building C object esp-idf/wifi_provisioning/CMakeFiles/__idf_wifi_provisioning.dir/src/scheme_softap.c.obj
[922/934] Building C object esp-idf/wifi_provisioning/CMakeFiles/__idf_wifi_provisioning.dir/proto-c/wifi_config.pb-c.c.obj
[923/934] Building C object esp-idf/wifi_provisioning/CMakeFiles/__idf_wifi_provisioning.dir/proto-c/wifi_scan.pb-c.c.obj
[924/934] Building C object esp-idf/wifi_provisioning/CMakeFiles/__idf_wifi_provisioning.dir/src/scheme_console.c.obj
[925/934] Building C object esp-idf/wifi_provisioning/CMakeFiles/__idf_wifi_provisioning.dir/proto-c/wifi_constants.pb-c.c.obj
[926/934] Linking CXX static library esp-idf\spiffs\libspiffs.a
[927/934] Linking CXX static library esp-idf\unity\libunity.a
[928/934] Linking CXX static library esp-idf\wifi_provisioning\libwifi_provisioning.a
. . .
[929/934] Building C object esp-idf/main/CMakeFiles/__idf_main.dir/esp-project.c.obj
FAILED: esp-idf/main/CMakeFiles/__idf_main.dir/esp-project.c.obj
ccache C:\Users\maestro\.espressif\tools\xtensa-esp32-elf\esp-2020r3-8.4.0\xtensa-esp32-elf\bin\xtensa-esp32-elf-gcc.exe -DHAVE_CONFIG_H -DMBEDTLS_CONFIG_FILE=\"mbedtls/esp_config.h\" -DUNITY_INCLUDE_CONFIG_H -DWITH_POSIX -Iconfig -IC:/Users/maestro/Desktop/esp-idf/components/newlib/platform_include -IC:/Users/maestro/Desktop/esp-idf/components/freertos/include -IC:/Users/maestro/Desktop/esp-idf/components/freertos/xtensa/include -IC:/Users/maestro/Desktop/esp-idf/components/heap/include -IC:/Users/maestro/Desktop/esp-idf/components/log/include -IC:/Users/maestro/Desktop/esp-idf/components/lwip/include/apps -IC:/Users/maestro/Desktop/esp-idf/components/lwip/include/apps/sntp -IC:/Users/maestro/Desktop/esp-idf/components/lwip/lwip/src/include -IC:/Users/maestro/Desktop/esp-idf/components/lwip/port/esp32/include -IC:/Users/maestro/Desktop/esp-idf/components/lwip/port/esp32/include/arch -IC:/Users/maestro/Desktop/esp-idf/components/lwip/port/esp32/tcp_isn -IC:/Users/maestro/Desktop/esp-idf/components/soc/src/esp32/. -IC:/Users/maestro/Desktop/esp-idf/components/soc/src/esp32/include -IC:/Users/maestro/Desktop/esp-idf/components/soc/include -IC:/Users/maestro/Desktop/esp-idf/components/esp_rom/include -IC:/Users/maestro/Desktop/esp-idf/components/esp_common/include -IC:/Users/maestro/Desktop/esp-idf/components/esp_system/include -IC:/Users/maestro/Desktop/esp-idf/components/xtensa/include -IC:/Users/maestro/Desktop/esp-idf/components/xtensa/esp32/include -IC:/Users/maestro/Desktop/esp-idf/components/esp32/include -IC:/Users/maestro/Desktop/esp-idf/components/driver/include -IC:/Users/maestro/Desktop/esp-idf/components/driver/esp32/include -IC:/Users/maestro/Desktop/esp-idf/components/esp_ringbuf/include -IC:/Users/maestro/Desktop/esp-idf/components/efuse/include -IC:/Users/maestro/Desktop/esp-idf/components/efuse/esp32/include -IC:/Users/maestro/Desktop/esp-idf/components/espcoredump/include -IC:/Users/maestro/Desktop/esp-idf/components/esp_timer/include -IC:/Users/maestro/Desktop/esp-idf/components/esp_ipc/include -IC:/Users/maestro/Desktop/esp-idf/components/soc/soc/esp32/include -IC:/Users/maestro/Desktop/esp-idf/components/soc/soc/esp32/../include -IC:/Users/maestro/Desktop/esp-idf/components/soc/soc/esp32/private_include -IC:/Users/maestro/Desktop/esp-idf/components/vfs/include -IC:/Users/maestro/Desktop/esp-idf/components/esp_wifi/include -IC:/Users/maestro/Desktop/esp-idf/components/esp_wifi/esp32/include -IC:/Users/maestro/Desktop/esp-idf/components/esp_event/include -IC:/Users/maestro/Desktop/esp-idf/components/esp_netif/include -IC:/Users/maestro/Desktop/esp-idf/components/esp_eth/include -IC:/Users/maestro/Desktop/esp-idf/components/tcpip_adapter/include -IC:/Users/maestro/Desktop/esp-idf/components/app_trace/include -IC:/Users/maestro/Desktop/esp-idf/components/mbedtls/port/include -IC:/Users/maestro/Desktop/esp-idf/components/mbedtls/mbedtls/include -IC:/Users/maestro/Desktop/esp-idf/components/mbedtls/esp_crt_bundle/include -IC:/Users/maestro/Desktop/esp-idf/components/bootloader_support/include -IC:/Users/maestro/Desktop/esp-idf/components/app_update/include -IC:/Users/maestro/Desktop/esp-idf/components/spi_flash/include -IC:/Users/maestro/Desktop/esp-idf/components/wpa_supplicant/include -IC:/Users/maestro/Desktop/esp-idf/components/wpa_supplicant/port/include -IC:/Users/maestro/Desktop/esp-idf/components/wpa_supplicant/include/esp_supplicant -IC:/Users/maestro/Desktop/esp-idf/components/nvs_flash/include -IC:/Users/maestro/Desktop/esp-idf/components/pthread/include -IC:/Users/maestro/Desktop/esp-idf/components/perfmon/include -IC:/Users/maestro/Desktop/esp-idf/components/asio/asio/asio/include -IC:/Users/maestro/Desktop/esp-idf/components/asio/port/include -IC:/Users/maestro/Desktop/esp-idf/components/cbor/port/include -IC:/Users/maestro/Desktop/esp-idf/components/coap/port/include -IC:/Users/maestro/Desktop/esp-idf/components/coap/port/include/coap -IC:/Users/maestro/Desktop/esp-idf/components/coap/libcoap/include -IC:/Users/maestro/Desktop/esp-idf/components/coap/libcoap/include/coap2 -IC:/Users/maestro/Desktop/esp-idf/components/console -IC:/Users/maestro/Desktop/esp-idf/components/nghttp/port/include -IC:/Users/maestro/Desktop/esp-idf/components/nghttp/nghttp2/lib/includes -IC:/Users/maestro/Desktop/esp-idf/components/esp-tls -IC:/Users/maestro/Desktop/esp-idf/components/esp_adc_cal/include -IC:/Users/maestro/Desktop/esp-idf/components/esp_gdbstub/include -IC:/Users/maestro/Desktop/esp-idf/components/esp_hid/include -IC:/Users/maestro/Desktop/esp-idf/components/tcp_transport/include -IC:/Users/maestro/Desktop/esp-idf/components/esp_http_client/include -IC:/Users/maestro/Desktop/esp-idf/components/esp_http_server/include -IC:/Users/maestro/Desktop/esp-idf/components/esp_https_ota/include -IC:/Users/maestro/Desktop/esp-idf/components/protobuf-c/protobuf-c -IC:/Users/maestro/Desktop/esp-idf/components/protocomm/include/common -IC:/Users/maestro/Desktop/esp-idf/components/protocomm/include/security -IC:/Users/maestro/Desktop/esp-idf/components/protocomm/include/transports -IC:/Users/maestro/Desktop/esp-idf/comp
onents/mdns/include -IC:/Users/maestro/Desktop/esp-idf/components/esp_local_ctrl/include -IC:/Users/maestro/Desktop/esp-idf/components/sdmmc/include -IC:/Users/maestro/Desktop/esp-idf/components/esp_serial_slave_link/include -IC:/Users/maestro/Desktop/esp-idf/components/esp_websocket_client/include -IC:/Users/maestro/Desktop/esp-idf/components/expat/expat/expat/lib -IC:/Users/maestro/Desktop/esp-idf/components/expat/port/include -IC:/Users/maestro/Desktop/esp-idf/components/wear_levelling/include -IC:/Users/maestro/Desktop/esp-idf/components/fatfs/diskio -IC:/Users/maestro/Desktop/esp-idf/components/fatfs/vfs -IC:/Users/maestro/Desktop/esp-idf/components/fatfs/src -IC:/Users/maestro/Desktop/esp-idf/components/freemodbus/common/include -IC:/Users/maestro/Desktop/esp-idf/components/idf_test/include -IC:/Users/maestro/Desktop/esp-idf/components/idf_test/include/esp32 -IC:/Users/maestro/Desktop/esp-idf/components/jsmn/include -IC:/Users/maestro/Desktop/esp-idf/components/json/cJSON -IC:/Users/maestro/Desktop/esp-idf/components/libsodium/libsodium/src/libsodium/include -IC:/Users/maestro/Desktop/esp-idf/components/libsodium/port_include -IC:/Users/maestro/Desktop/esp-idf/components/mqtt/esp-mqtt/include -IC:/Users/maestro/Desktop/esp-idf/components/openssl/include -IC:/Users/maestro/Desktop/esp-idf/components/spiffs/include -IC:/Users/maestro/Desktop/esp-idf/components/ulp/include -IC:/Users/maestro/Desktop/esp-idf/components/unity/include -IC:/Users/maestro/Desktop/esp-idf/components/unity/unity/src -IC:/Users/maestro/Desktop/esp-idf/components/wifi_provisioning/include -mlongcalls -Wno-frame-address -ffunction-sections -fdata-sections -fstrict-volatile-bitfields -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 -ggdb -Og -std=gnu99 -Wno-old-style-declaration -D_GNU_SOURCE -DIDF_VER=\"v4.2.1-dirty\" -DESP_PLATFORM -MD -MT esp-idf/main/CMakeFiles/__idf_main.dir/esp-project.c.obj -MF esp-idf\main\CMakeFiles\__idf_main.dir\esp-project.c.obj.d -o esp-idf/main/CMakeFiles/__idf_main.dir/esp-project.c.obj -c ../main/esp-project.c
In file included from ../main/esp-project.c:40:
C:/Users/maestro/Desktop/esp-idf/components/esp_event/include/esp_event_loop.h:2:2: warning: #warning "esp_event_loop.h is deprecated, please include esp_event.h instead" [-Wcpp]
#warning "esp_event_loop.h is deprecated, please include esp_event.h instead"
^~~~~~~
In file included from C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\internals.c:564,
from ../main/esp-project.c:50:
C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\ESP\ESP_CAL_Delay.c: In function 'Wdt_Delay_Ms':
C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\ESP\ESP_CAL_Delay.c:94:9: error: 'MX_CLEAR_WATCHDOG' undeclared (first use in this function)
MX_CLEAR_WATCHDOG; //Clear Watchdog Timer
^~~~~~~~~~~~~~~~~
C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\ESP\ESP_CAL_Delay.c:94:9: note: each undeclared identifier is reported only once for each function it appears in
C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\ESP\ESP_CAL_Delay.c: In function 'Wdt_DelayInt_Ms':
C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\ESP\ESP_CAL_Delay.c:117:9: error: 'MX_CLEAR_WATCHDOG' undeclared (first use in this function)
MX_CLEAR_WATCHDOG; //Clear Watchdog Timer
^~~~~~~~~~~~~~~~~
In file included from C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\ESP\ESP_CAL_String.c:110,
from C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\internals.c:565,
from ../main/esp-project.c:50:
C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\ESP\ESP_CAL_Float.c: At top level:
C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\ESP\ESP_CAL_Float.c:91:6: warning: conflicting types for built-in function '__builtin_isinf_sign' [-Wbuiltin-declaration-mismatch]
char isinf(float f)
^~~~~
In file included from C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\internals.c:565,
from ../main/esp-project.c:50:
C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\ESP\ESP_CAL_String.c:876:13: warning: 'FCI_SCOPY' defined but not used [-Wunused-function]
static void FCI_SCOPY(MX_STRING sSrc, MX_UINT16 iSrc_len, MX_STRING sDst, MX_UINT16 iDst_len)
^~~~~~~~~
C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\ESP\ESP_CAL_String.c:815:13: warning: 'FCI_SHEAD' defined but not used [-Wunused-function]
static void FCI_SHEAD(MX_STRING sSrc1, MX_UINT16 iSrc1_len, MX_STRING sSrc2, MX_UINT16 iSrc2_len, MX_STRING sDst, MX_UINT16 iDst_len)
^~~~~~~~~
C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\ESP\ESP_CAL_String.c:795:18: warning: 'FCI_STRMOV' defined but not used [-Wunused-function]
static MX_UINT16 FCI_STRMOV(MX_STRING sSrc, MX_UINT16 iSrc_len, MX_STRING sDst, MX_UINT16 iDst_len)
^~~~~~~~~~
C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\ESP\ESP_CAL_String.c:771:18: warning: 'FCI_STRREV' defined but not used [-Wunused-function]
static MX_UINT16 FCI_STRREV(MX_STRING sSrc, MX_UINT16 iSrc_len, MX_STRING sDst, MX_UINT16 iDst_len)
^~~~~~~~~~
C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\ESP\ESP_CAL_String.c:701:17: warning: 'FCI_STRING_TO_FLOAT' defined but not used [-Wunused-function]
static MX_FLOAT FCI_STRING_TO_FLOAT(MX_STRING String, MX_UINT16 MSZ_String)
^~~~~~~~~~~~~~~~~~~
C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\ESP\ESP_CAL_String.c:598:18: warning: 'FCI_NUMBER_TO_HEX' defined but not used [-Wunused-function]
static MX_STRING FCI_NUMBER_TO_HEX(MX_ULONG Number, MX_STRING String, MX_UINT16 MSZ_String)
^~~~~~~~~~~~~~~~~
C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\ESP\ESP_CAL_String.c:531:18: warning: 'FCI_FLOAT_TO_STRING' defined but not used [-Wunused-function]
static MX_STRING FCI_FLOAT_TO_STRING(MX_FLOAT Number, MX_UINT8 Precision, MX_STRING String, MX_UINT16 MSZ_String)
^~~~~~~~~~~~~~~~~~~
C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\ESP\ESP_CAL_String.c:476:17: warning: 'FCI_COMPARE' defined but not used [-Wunused-function]
static MX_UINT8 FCI_COMPARE(MX_STRING sSrc1, MX_UINT16 iSrc1_len, MX_STRING sSrc2, MX_UINT16 iSrc2_len, MX_UINT8 iNoCase)
^~~~~~~~~~~
C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\ESP\ESP_CAL_String.c:450:13: warning: 'FCI_TOUPPER' defined but not used [-Wunused-function]
static void FCI_TOUPPER(MX_STRING sSrc, MX_UINT16 iSrc_len, MX_STRING sDst, MX_UINT16 iDst_len)
^~~~~~~~~~~
C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\ESP\ESP_CAL_String.c:424:13: warning: 'FCI_TOLOWER' defined but not used [-Wunused-function]
static void FCI_TOLOWER(MX_STRING sSrc, MX_UINT16 iSrc_len, MX_STRING sDst, MX_UINT16 iDst_len)
^~~~~~~~~~~
C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\ESP\ESP_CAL_String.c:331:10: warning: 'FCI_TOSTRU32' defined but not used [-Wunused-function]
MX_UINT8 FCI_TOSTRU32(MX_UINT32 iSrc1, MX_STRING sDst, MX_UINT16 iDst_len)
^~~~~~~~~~~~
C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\ESP\ESP_CAL_String.c:297:10: warning: 'FCI_TOSTRU16' defined but not used [-Wunused-function]
MX_UINT8 FCI_TOSTRU16(MX_UINT16 iSrc1, MX_STRING sDst, MX_UINT16 iDst_len)
^~~~~~~~~~~~
C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\ESP\ESP_CAL_String.c:254:10: warning: 'FCI_TOSTRS32' defined but not used [-Wunused-function]
MX_UINT8 FCI_TOSTRS32(MX_SINT32 iSrc1, MX_STRING sDst, MX_UINT16 iDst_len)
^~~~~~~~~~~~
C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\ESP\ESP_CAL_String.c:211:10: warning: 'FCI_TOSTRS16' defined but not used [-Wunused-function]
MX_UINT8 FCI_TOSTRS16(MX_SINT16 iSrc1, MX_STRING sDst, MX_UINT16 iDst_len)
^~~~~~~~~~~~
C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\ESP\ESP_CAL_String.c:182:18: warning: 'FCI_RIGHTSTRING' defined but not used [-Wunused-function]
static MX_STRING FCI_RIGHTSTRING(MX_STRING sSrc, MX_UINT16 iSrc_len, MX_UINT16 iCount, MX_STRING sDst, MX_UINT16 iDst_len)
^~~~~~~~~~~~~~~
C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\ESP\ESP_CAL_String.c:159:18: warning: 'FCI_LEFTSTRING' defined but not used [-Wunused-function]
static MX_STRING FCI_LEFTSTRING(MX_STRING sSrc, MX_UINT16 iSrc_len, MX_UINT16 iCount, MX_STRING sDst, MX_UINT16 iDst_len)
^~~~~~~~~~~~~~
In file included from C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\internals.c:565,
from ../main/esp-project.c:50:
C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\ESP\ESP_CAL_String.c:129:18: warning: 'FCI_MIDSTRING' defined but not used [-Wunused-function]
static MX_STRING FCI_MIDSTRING(MX_STRING sSrc, MX_UINT16 iSrc_len, MX_UINT16 iStart, MX_UINT16 iCount, MX_STRING sDst, MX_UINT16 iDst_len)
^~~~~~~~~~~~~
C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\ESP\ESP_CAL_String.c:121:18: warning: 'FCI_GETLENGTH' defined but not used [-Wunused-function]
static MX_UINT16 FCI_GETLENGTH(MX_STRING sStr1, MX_UINT16 iStr1_len)
^~~~~~~~~~~~~
C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\ESP\ESP_CAL_String.c:113:17: warning: 'FCI_GETCHAR' defined but not used [-Wunused-function]
static MX_UINT8 FCI_GETCHAR(MX_STRING sStr1, MX_UINT16 iStr1_len, MX_UINT16 iPos)
^~~~~~~~~~~
ninja: build stopped: subcommand failed.
Executing action: all (aliases: build)
Running cmake in directory c:\users\maestro\desktop\flowcode_files\easyblink\build
Executing "cmake -G Ninja -DPYTHON_DEPS_CHECKED=1 -DESP_PLATFORM=1 -DCCACHE_ENABLE=1 c:\users\maestro\desktop\flowcode_files\easyblink"...
Running ninja in directory c:\users\maestro\desktop\flowcode_files\easyblink\build
Executing "ninja all"...
ninja failed with exit code 1
Build Failed
C:\ProgramData\MatrixTSL\FlowcodeV9\FCD\ESP\Batch\esp32_build.bat reported error code 0x1
Autoclose turned off
FINISHED
I just can send the beginning and the end of it. I hope this is still helpfull.
I'm working with Windows 10
To me it is also very strange, that for a programm with let's say 15 Instructions (not this one, this one is shorter) the compiling and uploading process can last up to 5 Minutes. How do you comment this ?
Thank you
Felix
Re: Uploading problem
Posted: Tue Mar 08, 2022 12:31 pm
by medelec35
Hi.
I have edited your post and placed the compiler message within the code display.
that saves having a very long post.
Have you done a full database update (Help, Library Updates, change Files in-use to Full database) today?
If not can you try that, then reload your flowchart after.
Re: Uploading problem
Posted: Tue Mar 08, 2022 12:32 pm
by LeighM
This looks like it might be due to the work in progress with the watchdog support.
Please try doing a full library update in Flowcode and then rebuild.
ESP32 is RTOS based and the build process has many libraries to build and hence can take a few minutes.
But this only happens first time you build a project. Subsequent project edits and rebuilds will be much faster.
Re: Uploading problem
Posted: Tue Mar 08, 2022 5:38 pm
by felixegger
Yes, I did a full library update. The compiling time is o.k. now but the message :
ninja failed with exit code 1
Programming failed
is still the same
Thanks
Felix
Re: Uploading problem
Posted: Tue Mar 08, 2022 5:50 pm
by LeighM
Hi,
We need the msg.txt file to see why it failed.
Please use the "Full edit" button, and use the "Attachment" tab to attach the file to your post.
Although it now looks like it might be a programming fault. Maybe you need to set the COM port in project options.
The msg.txt file will help us confirm the problem.
Thanks
Re: Uploading problem
Posted: Wed Mar 16, 2022 12:05 pm
by felixegger
Thank you. I had a COM Port alignment problem because of new parts with new COM Ports.
But here is a file concerning PWM which I can't upload. I send you the msg.txt file, which is not so big this time.
Thanks
Felix
Code: Select all
Target folder: C:\Users\maestro\Desktop\Flowcode Files
Source name: C:\Users\maestro\Desktop\Flowcode Files\PWM2.fcfx
Title:
Description:
Device: ESP.ESP32.ESP32_WROOM_32
Generated by: Flowcode v9.2.0.33
Date: Wednesday, March 16, 2022 12:49:07
Users: 1
Registered to: felixegger (38396505)
Licence key: JMA9BD
NOT FOR COMMERCIAL USE
https://www.flowcode.co.uk
Using FCD settings for compiler
Launching the compiler...
C:\ProgramData\MatrixTSL\FlowcodeV9\FCD\ESP\Batch\esp32_build.bat "C:\Users\maestro\Desktop\esp-idf\" "PWM2" "C:\Users\maestro\Desktop\Flowcode Files\" esp32s_sdkconfig
C:\Users\maestro\Desktop\Flowcode Files>REM CRC: 0796FC1E6A776AF9156B257209C35258CE7C28B3EC20AEA2C632DB392A0E4BFD5B3F53B21811978F7B21FE4085045A7E774D1D3D69D8A99EE7320EAE740A5DB6FE0D8D4660AC0314F98C28BCA92AF856EFD1DB5B777140BC4D00059D795899827D9F76D89626FBC8B199900461C78937B42DEF8219F63A24580137A2F6C8FDB7553324EFF791947E8AB6FFD612B81BAA97C798A8F1CFC189DE5D38517747C774AF2DD6F839BAECF83F7F994C7164CE77868F480396BDEF2F2C3050DA273BE4EE6FE0BB589D1229A5E37B217FF86DBD72A01B8FBC49BE02BFA3608A0B0CE69F969622A912E6E6A2FB
C:\Users\maestro\Desktop\Flowcode Files>REM REVISION: 4.0
C:\Users\maestro\Desktop\Flowcode Files>REM GUID: 955EA920-4961-4C53-BA6B-EF4AF66BB4C2
C:\Users\maestro\Desktop\Flowcode Files>REM DATE: 29\03\2021
C:\Users\maestro\Desktop\Flowcode Files>REM DIR: FCD\ESP\Batch\esp32_build.bat
Building PWM2 ...
Setting IDF_PATH: C:\Users\maestro\Desktop\esp-idf
Adding ESP-IDF tools to PATH...
C:\Users\maestro\.espressif\tools\xtensa-esp32-elf\esp-2020r3-8.4.0\xtensa-esp32-elf\bin
C:\Users\maestro\.espressif\tools\xtensa-esp32s2-elf\esp-2020r3-8.4.0\xtensa-esp32s2-elf\bin
C:\Users\maestro\.espressif\tools\esp32ulp-elf\2.28.51-esp-20191205\esp32ulp-elf-binutils\bin
C:\Users\maestro\.espressif\tools\esp32s2ulp-elf\2.28.51-esp-20191205\esp32s2ulp-elf-binutils\bin
C:\Users\maestro\.espressif\tools\cmake\3.16.4\bin
C:\Users\maestro\.espressif\tools\openocd-esp32\v0.10.0-esp32-20200709\openocd-esp32\bin
C:\Users\maestro\.espressif\tools\ninja\1.10.0\
C:\Users\maestro\.espressif\tools\idf-exe\1.0.1\
C:\Users\maestro\.espressif\tools\ccache\3.7\
C:\Users\maestro\.espressif\tools\dfu-util\0.9\dfu-util-0.9-win64
C:\Users\maestro\.espressif\python_env\idf4.2_py3.7_env\Scripts
C:\Users\maestro\Desktop\esp-idf\tools
Checking if Python packages are up to date...
Python requirements from C:\Users\maestro\Desktop\esp-idf\requirements.txt are satisfied.
Done! You can now compile ESP-IDF projects.
Go to the project directory and run:
idf.py build
[1/9] Performing build step for 'bootloader'
ninja: no work to do.
.
[2/7] Building C object esp-idf/main/CMakeFiles/__idf_main.dir/esp-project.c.obj
FAILED: esp-idf/main/CMakeFiles/__idf_main.dir/esp-project.c.obj
ccache C:\Users\maestro\.espressif\tools\xtensa-esp32-elf\esp-2020r3-8.4.0\xtensa-esp32-elf\bin\xtensa-esp32-elf-gcc.exe -DHAVE_CONFIG_H -DMBEDTLS_CONFIG_FILE=\"mbedtls/esp_config.h\" -DUNITY_INCLUDE_CONFIG_H -DWITH_POSIX -Iconfig -IC:/Users/maestro/Desktop/esp-idf/components/newlib/platform_include -IC:/Users/maestro/Desktop/esp-idf/components/freertos/include -IC:/Users/maestro/Desktop/esp-idf/components/freertos/xtensa/include -IC:/Users/maestro/Desktop/esp-idf/components/heap/include -IC:/Users/maestro/Desktop/esp-idf/components/log/include -IC:/Users/maestro/Desktop/esp-idf/components/lwip/include/apps -IC:/Users/maestro/Desktop/esp-idf/components/lwip/include/apps/sntp -IC:/Users/maestro/Desktop/esp-idf/components/lwip/lwip/src/include -IC:/Users/maestro/Desktop/esp-idf/components/lwip/port/esp32/include -IC:/Users/maestro/Desktop/esp-idf/components/lwip/port/esp32/include/arch -IC:/Users/maestro/Desktop/esp-idf/components/lwip/port/esp32/tcp_isn -IC:/Users/maestro/Desktop/esp-idf/components/soc/src/esp32/. -IC:/Users/maestro/Desktop/esp-idf/components/soc/src/esp32/include -IC:/Users/maestro/Desktop/esp-idf/components/soc/include -IC:/Users/maestro/Desktop/esp-idf/components/esp_rom/include -IC:/Users/maestro/Desktop/esp-idf/components/esp_common/include -IC:/Users/maestro/Desktop/esp-idf/components/esp_system/include -IC:/Users/maestro/Desktop/esp-idf/components/xtensa/include -IC:/Users/maestro/Desktop/esp-idf/components/xtensa/esp32/include -IC:/Users/maestro/Desktop/esp-idf/components/esp32/include -IC:/Users/maestro/Desktop/esp-idf/components/driver/include -IC:/Users/maestro/Desktop/esp-idf/components/driver/esp32/include -IC:/Users/maestro/Desktop/esp-idf/components/esp_ringbuf/include -IC:/Users/maestro/Desktop/esp-idf/components/efuse/include -IC:/Users/maestro/Desktop/esp-idf/components/efuse/esp32/include -IC:/Users/maestro/Desktop/esp-idf/components/espcoredump/include -IC:/Users/maestro/Desktop/esp-idf/components/esp_timer/include -IC:/Users/maestro/Desktop/esp-idf/components/esp_ipc/include -IC:/Users/maestro/Desktop/esp-idf/components/soc/soc/esp32/include -IC:/Users/maestro/Desktop/esp-idf/components/soc/soc/esp32/../include -IC:/Users/maestro/Desktop/esp-idf/components/soc/soc/esp32/private_include -IC:/Users/maestro/Desktop/esp-idf/components/vfs/include -IC:/Users/maestro/Desktop/esp-idf/components/esp_wifi/include -IC:/Users/maestro/Desktop/esp-idf/components/esp_wifi/esp32/include -IC:/Users/maestro/Desktop/esp-idf/components/esp_event/include -IC:/Users/maestro/Desktop/esp-idf/components/esp_netif/include -IC:/Users/maestro/Desktop/esp-idf/components/esp_eth/include -IC:/Users/maestro/Desktop/esp-idf/components/tcpip_adapter/include -IC:/Users/maestro/Desktop/esp-idf/components/app_trace/include -IC:/Users/maestro/Desktop/esp-idf/components/mbedtls/port/include -IC:/Users/maestro/Desktop/esp-idf/components/mbedtls/mbedtls/include -IC:/Users/maestro/Desktop/esp-idf/components/mbedtls/esp_crt_bundle/include -IC:/Users/maestro/Desktop/esp-idf/components/bootloader_support/include -IC:/Users/maestro/Desktop/esp-idf/components/app_update/include -IC:/Users/maestro/Desktop/esp-idf/components/spi_flash/include -IC:/Users/maestro/Desktop/esp-idf/components/wpa_supplicant/include -IC:/Users/maestro/Desktop/esp-idf/components/wpa_supplicant/port/include -IC:/Users/maestro/Desktop/esp-idf/components/wpa_supplicant/include/esp_supplicant -IC:/Users/maestro/Desktop/esp-idf/components/nvs_flash/include -IC:/Users/maestro/Desktop/esp-idf/components/pthread/include -IC:/Users/maestro/Desktop/esp-idf/components/perfmon/include -IC:/Users/maestro/Desktop/esp-idf/components/asio/asio/asio/include -IC:/Users/maestro/Desktop/esp-idf/components/asio/port/include -IC:/Users/maestro/Desktop/esp-idf/components/bt/include -IC:/Users/maestro/Desktop/esp-idf/components/bt/common/osi/include -IC:/Users/maestro/Desktop/esp-idf/components/bt/host/bluedroid/api/include/api -IC:/Users/maestro/Desktop/esp-idf/components/cbor/port/include -IC:/Users/maestro/Desktop/esp-idf/components/coap/port/include -IC:/Users/maestro/Desktop/esp-idf/components/coap/port/include/coap -IC:/Users/maestro/Desktop/esp-idf/components/coap/libcoap/include -IC:/Users/maestro/Desktop/esp-idf/components/coap/libcoap/include/coap2 -IC:/Users/maestro/Desktop/esp-idf/components/console -IC:/Users/maestro/Desktop/esp-idf/components/nghttp/port/include -IC:/Users/maestro/Desktop/esp-idf/components/nghttp/nghttp2/lib/includes -IC:/Users/maestro/Desktop/esp-idf/components/esp-tls -IC:/Users/maestro/Desktop/esp-idf/components/esp_adc_cal/include -IC:/Users/maestro/Desktop/esp-idf/components/esp_gdbstub/include -IC:/Users/maestro/Desktop/esp-idf/components/esp_hid/include -IC:/Users/maestro/Desktop/esp-idf/components/tcp_transport/include -IC:/Users/maestro/Desktop/esp-idf/components/esp_http_client/include -IC:/Users/maestro/Desktop/esp-idf/components/esp_http_server/include -IC:/Users/maestro/Desktop/esp-idf/components/esp_https_ota/include -IC:/Users/maestro/Desktop/esp-idf/components/protobuf-c/protobuf-c -IC:/Users/maestro/Desktop/esp-idf/components/protoco
mm/include/common -IC:/Users/maestro/Desktop/esp-idf/components/protocomm/include/security -IC:/Users/maestro/Desktop/esp-idf/components/protocomm/include/transports -IC:/Users/maestro/Desktop/esp-idf/components/mdns/include -IC:/Users/maestro/Desktop/esp-idf/components/esp_local_ctrl/include -IC:/Users/maestro/Desktop/esp-idf/components/sdmmc/include -IC:/Users/maestro/Desktop/esp-idf/components/esp_serial_slave_link/include -IC:/Users/maestro/Desktop/esp-idf/components/esp_websocket_client/include -IC:/Users/maestro/Desktop/esp-idf/components/expat/expat/expat/lib -IC:/Users/maestro/Desktop/esp-idf/components/expat/port/include -IC:/Users/maestro/Desktop/esp-idf/components/wear_levelling/include -IC:/Users/maestro/Desktop/esp-idf/components/fatfs/diskio -IC:/Users/maestro/Desktop/esp-idf/components/fatfs/vfs -IC:/Users/maestro/Desktop/esp-idf/components/fatfs/src -IC:/Users/maestro/Desktop/esp-idf/components/freemodbus/common/include -IC:/Users/maestro/Desktop/esp-idf/components/idf_test/include -IC:/Users/maestro/Desktop/esp-idf/components/idf_test/include/esp32 -IC:/Users/maestro/Desktop/esp-idf/components/jsmn/include -IC:/Users/maestro/Desktop/esp-idf/components/json/cJSON -IC:/Users/maestro/Desktop/esp-idf/components/libsodium/libsodium/src/libsodium/include -IC:/Users/maestro/Desktop/esp-idf/components/libsodium/port_include -IC:/Users/maestro/Desktop/esp-idf/components/mqtt/esp-mqtt/include -IC:/Users/maestro/Desktop/esp-idf/components/openssl/include -IC:/Users/maestro/Desktop/esp-idf/components/spiffs/include -IC:/Users/maestro/Desktop/esp-idf/components/ulp/include -IC:/Users/maestro/Desktop/esp-idf/components/unity/include -IC:/Users/maestro/Desktop/esp-idf/components/unity/unity/src -IC:/Users/maestro/Desktop/esp-idf/components/wifi_provisioning/include -mlongcalls -Wno-frame-address -ffunction-sections -fdata-sections -fstrict-volatile-bitfields -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 -ggdb -Og -std=gnu99 -Wno-old-style-declaration -D_GNU_SOURCE -DIDF_VER=\"v4.2.1-dirty\" -DESP_PLATFORM -MD -MT esp-idf/main/CMakeFiles/__idf_main.dir/esp-project.c.obj -MF esp-idf\main\CMakeFiles\__idf_main.dir\esp-project.c.obj.d -o esp-idf/main/CMakeFiles/__idf_main.dir/esp-project.c.obj -c ../main/esp-project.c
In file included from ../main/esp-project.c:40:
C:/Users/maestro/Desktop/esp-idf/components/esp_event/include/esp_event_loop.h:2:2: warning: #warning "esp_event_loop.h is deprecated, please include esp_event.h instead" [-Wcpp]
#warning "esp_event_loop.h is deprecated, please include esp_event.h instead"
^~~~~~~
In file included from C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\ESP\ESP_CAL_String.c:110,
from C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\internals.c:568,
from ../main/esp-project.c:50:
C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\ESP\ESP_CAL_Float.c:91:6: warning: conflicting types for built-in function '__builtin_isinf_sign' [-Wbuiltin-declaration-mismatch]
char isinf(float f)
^~~~~
../main/esp-project.c: In function 'app_main':
../main/esp-project.c:371:12: warning: unsigned conversion from 'int' to 'MX_UINT8' {aka 'volatile unsigned char'} changes value from '280' to '24' [-Woverflow]
FCD_0df41_PWM1__SetDutyCycle(FCV_AB);
^~~
In file included from C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\internals.c:568,
from ../main/esp-project.c:50:
At top level:
C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\ESP\ESP_CAL_String.c:876:13: warning: 'FCI_SCOPY' defined but not used [-Wunused-function]
static void FCI_SCOPY(MX_STRING sSrc, MX_UINT16 iSrc_len, MX_STRING sDst, MX_UINT16 iDst_len)
^~~~~~~~~
C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\ESP\ESP_CAL_String.c:815:13: warning: 'FCI_SHEAD' defined but not used [-Wunused-function]
static void FCI_SHEAD(MX_STRING sSrc1, MX_UINT16 iSrc1_len, MX_STRING sSrc2, MX_UINT16 iSrc2_len, MX_STRING sDst, MX_UINT16 iDst_len)
^~~~~~~~~
C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\ESP\ESP_CAL_String.c:795:18: warning: 'FCI_STRMOV' defined but not used [-Wunused-function]
static MX_UINT16 FCI_STRMOV(MX_STRING sSrc, MX_UINT16 iSrc_len, MX_STRING sDst, MX_UINT16 iDst_len)
^~~~~~~~~~
C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\ESP\ESP_CAL_String.c:771:18: warning: 'FCI_STRREV' defined but not used [-Wunused-function]
static MX_UINT16 FCI_STRREV(MX_STRING sSrc, MX_UINT16 iSrc_len, MX_STRING sDst, MX_UINT16 iDst_len)
^~~~~~~~~~
C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\ESP\ESP_CAL_String.c:701:17: warning: 'FCI_STRING_TO_FLOAT' defined but not used [-Wunused-function]
static MX_FLOAT FCI_STRING_TO_FLOAT(MX_STRING String, MX_UINT16 MSZ_String)
^~~~~~~~~~~~~~~~~~~
C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\ESP\ESP_CAL_String.c:598:18: warning: 'FCI_NUMBER_TO_HEX' defined but not used [-Wunused-function]
static MX_STRING FCI_NUMBER_TO_HEX(MX_ULONG Number, MX_STRING String, MX_UINT16 MSZ_String)
^~~~~~~~~~~~~~~~~
C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\ESP\ESP_CAL_String.c:531:18: warning: 'FCI_FLOAT_TO_STRING' defined but not used [-Wunused-function]
static MX_STRING FCI_FLOAT_TO_STRING(MX_FLOAT Number, MX_UINT8 Precision, MX_STRING String, MX_UINT16 MSZ_String)
^~~~~~~~~~~~~~~~~~~
C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\ESP\ESP_CAL_String.c:476:17: warning: 'FCI_COMPARE' defined but not used [-Wunused-function]
static MX_UINT8 FCI_COMPARE(MX_STRING sSrc1, MX_UINT16 iSrc1_len, MX_STRING sSrc2, MX_UINT16 iSrc2_len, MX_UINT8 iNoCase)
^~~~~~~~~~~
C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\ESP\ESP_CAL_String.c:450:13: warning: 'FCI_TOUPPER' defined but not used [-Wunused-function]
static void FCI_TOUPPER(MX_STRING sSrc, MX_UINT16 iSrc_len, MX_STRING sDst, MX_UINT16 iDst_len)
^~~~~~~~~~~
C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\ESP\ESP_CAL_String.c:424:13: warning: 'FCI_TOLOWER' defined but not used [-Wunused-function]
static void FCI_TOLOWER(MX_STRING sSrc, MX_UINT16 iSrc_len, MX_STRING sDst, MX_UINT16 iDst_len)
^~~~~~~~~~~
C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\ESP\ESP_CAL_String.c:331:10: warning: 'FCI_TOSTRU32' defined but not used [-Wunused-function]
MX_UINT8 FCI_TOSTRU32(MX_UINT32 iSrc1, MX_STRING sDst, MX_UINT16 iDst_len)
^~~~~~~~~~~~
C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\ESP\ESP_CAL_String.c:297:10: warning: 'FCI_TOSTRU16' defined but not used [-Wunused-function]
MX_UINT8 FCI_TOSTRU16(MX_UINT16 iSrc1, MX_STRING sDst, MX_UINT16 iDst_len)
^~~~~~~~~~~~
C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\ESP\ESP_CAL_String.c:254:10: warning: 'FCI_TOSTRS32' defined but not used [-Wunused-function]
MX_UINT8 FCI_TOSTRS32(MX_SINT32 iSrc1, MX_STRING sDst, MX_UINT16 iDst_len)
^~~~~~~~~~~~
C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\ESP\ESP_CAL_String.c:211:10: warning: 'FCI_TOSTRS16' defined but not used [-Wunused-function]
MX_UINT8 FCI_TOSTRS16(MX_SINT16 iSrc1, MX_STRING sDst, MX_UINT16 iDst_len)
^~~~~~~~~~~~
C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\ESP\ESP_CAL_String.c:182:18: warning: 'FCI_RIGHTSTRING' defined but not used [-Wunused-function]
static MX_STRING FCI_RIGHTSTRING(MX_STRING sSrc, MX_UINT16 iSrc_len, MX_UINT16 iCount, MX_STRING sDst, MX_UINT16 iDst_len)
^~~~~~~~~~~~~~~
C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\ESP\ESP_CAL_String.c:159:18: warning: 'FCI_LEFTSTRING' defined but not used [-Wunused-function]
static MX_STRING FCI_LEFTSTRING(MX_STRING sSrc, MX_UINT16 iSrc_len, MX_UINT16 iCount, MX_STRING sDst, MX_UINT16 iDst_len)
^~~~~~~~~~~~~~
In file included from C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\internals.c:568,
from ../main/esp-project.c:50:
C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\ESP\ESP_CAL_String.c:129:18: warning: 'FCI_MIDSTRING' defined but not used [-Wunused-function]
static MX_STRING FCI_MIDSTRING(MX_STRING sSrc, MX_UINT16 iSrc_len, MX_UINT16 iStart, MX_UINT16 iCount, MX_STRING sDst, MX_UINT16 iDst_len)
^~~~~~~~~~~~~
C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\ESP\ESP_CAL_String.c:121:18: warning: 'FCI_GETLENGTH' defined but not used [-Wunused-function]
static MX_UINT16 FCI_GETLENGTH(MX_STRING sStr1, MX_UINT16 iStr1_len)
^~~~~~~~~~~~~
C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\ESP\ESP_CAL_String.c:113:17: warning: 'FCI_GETCHAR' defined but not used [-Wunused-function]
static MX_UINT8 FCI_GETCHAR(MX_STRING sStr1, MX_UINT16 iStr1_len, MX_UINT16 iPos)
^~~~~~~~~~~
../main/esp-project.c: In function 'FCM_ChangePeriod':
../main/esp-project.c:302:9: error: 'FCR_RETVAL' is used uninitialized in this function [-Werror=uninitialized]
:16-bit PIC users should use the 10bit duty function to access the full range.
^
../main/esp-project.c: In function 'FCM_SetDutyCycle':
../main/esp-project.c:328:9: error: 'FCR_RETVAL' is used uninitialized in this function [-Werror=uninitialized]
void app_main()
^
cc1.exe: some warnings being treated as errors
ninja: build stopped: subcommand failed.
Executing action: all (aliases: build)
Running ninja in directory c:\users\maestro\desktop\flowcode_files\pwm2\build
Executing "ninja all"...
ninja failed with exit code 1
Build Failed
C:\ProgramData\MatrixTSL\FlowcodeV9\FCD\ESP\Batch\esp32_build.bat reported error code 0x1
Autoclose turned off
FINISHED
Re: Uploading problem
Posted: Wed Mar 16, 2022 12:37 pm
by medelec35
It looks like an issue with the PWM component.
Can you select Full Editor & Preview.
You will then be able to select an attachment Tab.
Select Add files and post your Project flowchart, so I can see if there are any other issues.
Re: Uploading problem
Posted: Wed Mar 16, 2022 12:38 pm
by BenR
Hello,
It looks like your program has two macros ChangePeriod and SetDutyCycle where the Return value may not end up being set and the compiler is forcing this as an error.
At the top of your macro give the .Return variable a default value and the compiler should then be happy to proceed.
Code: Select all
../main/esp-project.c: In function 'FCM_ChangePeriod':
../main/esp-project.c:302:9: error: 'FCR_RETVAL' is used uninitialized in this function [-Werror=uninitialized]
:16-bit PIC users should use the 10bit duty function to access the full range.
^
../main/esp-project.c: In function 'FCM_SetDutyCycle':
../main/esp-project.c:328:9: error: 'FCR_RETVAL' is used uninitialized in this function [-Werror=uninitialized]
void app_main()