Hello all / Martin
Have tried many attempts to get ESP to work in Flowcode v9 - but without success!
Is there anyone who wants to look through the codes and tell me where it goes wrong and what I can do?
Please see the codes below!
Compiler Messages:
--------------------------------------------------------------------------
Target folder: C:\Users\sun\Downloads
Source name: C:\Users\sun\Downloads\EspTest.fcfx
Title:
Description:
Device: ESP.ESP32.Lolin32_Lite
Generated by: Flowcode v9.3.1.36
Date: Friday, December 16, 2022 17:30:49
Users: 1
Registered to: xxxxxxxxxxx
Licence key: xxxxxxxxxxx
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\sun\ESP-IDF\" "EspTest" "C:\Users\sun\Downloads\" lolin32_lite_sdkconfig
C:\Users\sun\Downloads>REM CRC: 0796FC1E6A776AF9156B257209C35258CE7C28B3EC20AEA2C632DB392A0E4BFD5B3F53B21811978F7B21FE4085045A7E774D1D3D69D8A99EE7320EAE740A5DB6EFB7F8B9768FC390BAFB420BC9D6F4D56375EE3039B8BDDEA4D1C56CD1580BF569DAEA777BB49732B199900461C78937B42DEF8219F63A24580137A2F6C8FDB7553324EFF791947E8AB6FFD612B81BAA97C798A8F1CFC189DE5D38517747C774AF2DD6F839BAECF83F7F994C7164CE77868F480396BDEF2F2C3050DA273BE4EE20CC17B921F6F114A09D373C35E2F6843075ABAEF7BDE0FCD2CED24345F1155B2F83CAC1F23BFA51
C:\Users\sun\Downloads>REM REVISION: 5.0
C:\Users\sun\Downloads>REM GUID: 955EA920-4961-4C53-BA6B-EF4AF66BB4C2
C:\Users\sun\Downloads>REM DATE: 05\12\2022
C:\Users\sun\Downloads>REM DIR: FCD\ESP\Batch\esp32_build.bat
.
============================== Toolchain Check ==============================
Python 3.7.3
git version 2.21.0.windows.1
ESP toolchain found at "C:\Users\sun\ESP-IDF\"
=============================================================================
.
Building EspTest ...
Setting IDF_PATH: C:\Users\sun\esp-idf
Adding ESP-IDF tools to PATH...
C:\Users\sun\.espressif\tools\xtensa-esp32-elf\esp-2020r3-8.4.0\xtensa-esp32-elf\bin
C:\Users\sun\.espressif\tools\xtensa-esp32s2-elf\esp-2020r3-8.4.0\xtensa-esp32s2-elf\bin
C:\Users\sun\.espressif\tools\esp32ulp-elf\2.28.51-esp-20191205\esp32ulp-elf-binutils\bin
C:\Users\sun\.espressif\tools\esp32s2ulp-elf\2.28.51-esp-20191205\esp32s2ulp-elf-binutils\bin
C:\Users\sun\.espressif\tools\cmake\3.13.4\bin
C:\Users\sun\.espressif\tools\openocd-esp32\v0.11.0-esp32-20220706\openocd-esp32\bin
C:\Users\sun\.espressif\tools\ninja\1.9.0\
C:\Users\sun\.espressif\tools\idf-exe\1.0.1\
C:\Users\sun\.espressif\tools\ccache\3.7\
C:\Users\sun\.espressif\python_env\idf4.1_py3.7_env\Scripts
C:\Users\sun\esp-idf\tools
Checking if Python packages are up to date...
Python requirements from C:\Users\sun\esp-idf\requirements.txt are satisfied.
Done! You can now compile ESP-IDF projects.
Go to the project directory and run:
idf.py build
[0/1] Re-running CMake...
-- ccache will be used for faster recompilation
CMake Error at build/CMakeFiles/3.13.4/CMakeSystem.cmake:6 (include):
include could not find load file:
C:/Users/sun/esp-idf-tools/tools/cmake/toolchain-esp32.cmake
Call Stack (most recent call first):
C:/Users/sun/esp-idf/tools/cmake/project.cmake:284 (__project)
CMakeLists.txt:13 (project)
-- Project is not inside a git repository, or git repository has no commits; will not use 'git describe' to determine PROJECT_VER.
-- Project version: 1
-- Building ESP-IDF components for target esp32
-- Project sdkconfig file C:/Users/sun/Downloads/EspTest/sdkconfig
.
-- Could NOT find Perl (missing: PERL_EXECUTABLE)
-- Adding linker script C:/Users/sun/Downloads/EspTest/build/esp-idf/esp32/esp32_out.ld
-- Adding linker script C:/Users/sun/esp-idf/components/esp32/ld/esp32.project.ld.in
-- Adding linker script C:/Users/sun/esp-idf/components/esp32/ld/esp32.peripherals.ld
-- Adding linker script C:/Users/sun/esp-idf/components/esp_rom/esp32/ld/esp32.rom.newlib-time.ld
-- Adding linker script C:/Users/sun/esp-idf/components/esp_rom/esp32/ld/esp32.rom.ld
-- Adding linker script C:/Users/sun/esp-idf/components/esp_rom/esp32/ld/esp32.rom.libgcc.ld
-- Adding linker script C:/Users/sun/esp-idf/components/esp_rom/esp32/ld/esp32.rom.newlib-data.ld
-- Adding linker script C:/Users/sun/esp-idf/components/esp_rom/esp32/ld/esp32.rom.syscalls.ld
-- Adding linker script C:/Users/sun/esp-idf/components/esp_rom/esp32/ld/esp32.rom.newlib-funcs.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_http_client esp_http_server esp_https_ota esp_https_server esp_local_ctrl esp_netif esp_ringbuf esp_rom esp_serial_slave_link 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 ulp unity vfs wear_levelling wifi_provisioning wpa_supplicant xtensa
-- Component paths: C:/Users/sun/esp-idf/components/app_trace C:/Users/sun/esp-idf/components/app_update C:/Users/sun/esp-idf/components/asio C:/Users/sun/esp-idf/components/bootloader C:/Users/sun/esp-idf/components/bootloader_support C:/Users/sun/esp-idf/components/bt C:/Users/sun/esp-idf/components/cbor C:/Users/sun/esp-idf/components/coap C:/Users/sun/esp-idf/components/console C:/Users/sun/esp-idf/components/cxx C:/Users/sun/esp-idf/components/driver C:/Users/sun/esp-idf/components/efuse C:/Users/sun/esp-idf/components/esp-tls C:/Users/sun/esp-idf/components/esp32 C:/Users/sun/esp-idf/components/esp_adc_cal C:/Users/sun/esp-idf/components/esp_common C:/Users/sun/esp-idf/components/esp_eth C:/Users/sun/esp-idf/components/esp_event C:/Users/sun/esp-idf/components/esp_gdbstub C:/Users/sun/esp-idf/components/esp_http_client C:/Users/sun/esp-idf/components/esp_http_server C:/Users/sun/esp-idf/components/esp_https_ota C:/Users/sun/esp-idf/components/esp_https_server C:/Users/sun/esp-idf/components/esp_local_ctrl C:/Users/sun/esp-idf/components/esp_netif C:/Users/sun/esp-idf/components/esp_ringbuf C:/Users/sun/esp-idf/components/esp_rom C:/Users/sun/esp-idf/components/esp_serial_slave_link C:/Users/sun/esp-idf/components/esp_websocket_client C:/Users/sun/esp-idf/components/esp_wifi C:/Users/sun/esp-idf/components/espcoredump C:/Users/sun/esp-idf/components/esptool_py C:/Users/sun/esp-idf/components/expat C:/Users/sun/esp-idf/components/fatfs C:/Users/sun/esp-idf/components/freemodbus C:/Users/sun/esp-idf/components/freertos C:/Users/sun/esp-idf/components/heap C:/Users/sun/esp-idf/components/idf_test C:/Users/sun/esp-idf/components/jsmn C:/Users/sun/esp-idf/components/json C:/Users/sun/esp-idf/components/libsodium C:/Users/sun/esp-idf/components/log C:/Users/sun/esp-idf/components/lwip C:/Users/sun/Downloads/EspTest/main C:/Users/sun/esp-idf/components/mbedtls C:/Users/sun/esp-idf/components/mdns C:/Users/sun/esp-idf/components/mqtt C:/Users/sun/esp-idf/components/newlib C:/Users/sun/esp-idf/components/nghttp C:/Users/sun/esp-idf/components/nvs_flash C:/Users/sun/esp-idf/components/openssl C:/Users/sun/esp-idf/components/partition_table C:/Users/sun/esp-idf/components/perfmon C:/Users/sun/esp-idf/components/protobuf-c C:/Users/sun/esp-idf/components/protocomm C:/Users/sun/esp-idf/components/pthread C:/Users/sun/esp-idf/components/sdmmc C:/Users/sun/esp-idf/components/soc C:/Users/sun/esp-idf/components/spi_flash C:/Users/sun/esp-idf/components/spiffs C:/Users/sun/esp-idf/components/tcp_transport C:/Users/sun/esp-idf/components/tcpip_adapter C:/Users/sun/esp-idf/components/ulp C:/Users/sun/esp-idf/components/unity C:/Users/sun/esp-idf/components/vfs C:/Users/sun/esp-idf/components/wear_levelling C:/Users/sun/esp-idf/components/wifi_provisioning C:/Users/sun/esp-idf/components/wpa_supplicant C:/Users/sun/esp-idf/components/xtensa
-- Configuring incomplete, errors occurred!
See also "C:/Users/sun/Downloads/EspTest/build/CMakeFiles/CMakeOutput.log".
FAILED: build.ninja
C:\Users\sun\.espressif\tools\cmake\3.13.4\bin\cmake.exe -SC:\Users\sun\Downloads\EspTest -BC:\Users\sun\Downloads\EspTest\build
ninja: error: rebuilding 'build.ninja': subcommand failed
Executing action: all (aliases: build)
Running ninja in directory c:\users\sun\downloads\esptest\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
----------------------------------------------------------------------------------------
Yours sincerely
Monie