I have a simple ESP project that compiles ok if I disable the DELAY blocks, but fails to compile when I enable the blocks.
I've attached the project (basically a simple blink simulation with some additional nonsense code).
Below are the compilation outputs. The first is with the 3s. DELAY enabled (FAILURE), the second is with the 3s. DELAY disabled (SUCCESS).
Any assistance appreciated...thanks.
#1 3s. DELAY block enabled (FAILURE):
Code: Select all
Target folder: C:\MPLAB Projects\FLOWCODE\VERSION 9 TESTS
Source name: C:\MPLAB Projects\FLOWCODE\VERSION 9 TESTS\BlinkTest1 - Copy.fcfx
Title:
Description:
Device: ESP.ESP32.ESP32_WROOM_32
Generated by: Flowcode v9.0.0.23
Date: Monday, December 21, 2020 08:51:35
Users: 1
Registered to: chico (chico)
Licence key: \FCD\
NOT FOR COMMERCIAL USE
https://www.flowcode.co.uk
Launching the compiler...
C:\ProgramData\MatrixTSL\FlowcodeV9\FCD\ESP\Batch\esp32_build.bat "C:\Users\jduncan\Desktop\esp-idf\" "BlinkTest1 - Copy" "C:\MPLAB Projects\FLOWCODE\VERSION 9 TESTS\" esp32s_sdkconfig
Building BlinkTest1 - Copy ...
Setting IDF_PATH: C:\Users\jduncan\Desktop\esp-idf
Adding ESP-IDF tools to PATH...
C:\Users\jduncan\.espressif\tools\xtensa-esp32-elf\esp-2020r2-8.2.0\xtensa-esp32-elf\bin
C:\Users\jduncan\.espressif\tools\xtensa-esp32s2-elf\esp-2020r2-8.2.0\xtensa-esp32s2-elf\bin
C:\Users\jduncan\.espressif\tools\esp32ulp-elf\2.28.51-esp-20191205\esp32ulp-elf-binutils\bin
C:\Users\jduncan\.espressif\tools\esp32s2ulp-elf\2.28.51-esp-20191205\esp32s2ulp-elf-binutils\bin
C:\Users\jduncan\.espressif\tools\cmake\3.13.4\bin
C:\Users\jduncan\.espressif\tools\openocd-esp32\v0.10.0-esp32-20191114\openocd-esp32\bin
C:\Users\jduncan\.espressif\tools\ninja\1.9.0\
C:\Users\jduncan\.espressif\tools\idf-exe\1.0.1\
C:\Users\jduncan\.espressif\tools\ccache\3.7\
C:\Users\jduncan\.espressif\python_env\idf4.1_py3.7_env\Scripts
C:\Users\jduncan\Desktop\esp-idf\tools
Checking if Python packages are up to date...
Python requirements from C:\Users\jduncan\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/60] Linking CXX static library esp-idf\esp_wifi\libesp_wifi.a
[2/60] cmd.exe /C "cd /D C:\MPLAB_Projects\FLOWCODE\VERSION_9_TESTS\BlinkTest1_-_Copy\build\esp-idf\partition_table && C:\Users\jduncan\.espressif\tools\cmake\3.13.4\bin\cmake.exe -E echo "Partition table binary generated. Contents:" && C:\Users\jduncan\.espressif\tools\cmake\3.13.4\bin\cmake.exe -E echo ******************************************************************************* && C:\Users\jduncan\.espressif\python_env\idf4.1_py3.7_env\Scripts\python.exe C:/Users/jduncan/Desktop/esp-idf/components/partition_table/gen_esp32part.py -q --offset 0x8000 --flash-size 2MB C:/MPLAB_Projects/FLOWCODE/VERSION_9_TESTS/BlinkTest1_-_Copy/build/partition_table/partition-table.bin && C:\Users\jduncan\.espressif\tools\cmake\3.13.4\bin\cmake.exe -E echo *******************************************************************************"
Partition table binary generated. Contents:
*******************************************************************************
# Espressif ESP32 Partition Table
# Name, Type, SubType, Offset, Size, Flags
nvs,data,nvs,0x9000,24K,
phy_init,data,phy,0xf000,4K,
factory,app,factory,0x10000,1M,
*******************************************************************************
[3/60] Linking CXX static library esp-idf\wpa_supplicant\libwpa_supplicant.a
[4/60] Performing build step for 'bootloader'
ninja: no work to do.
[5/58] Linking CXX static library esp-idf\esp_event\libesp_event.a
[6/58] Linking CXX static library esp-idf\esp_netif\libesp_netif.a
[7/58] Linking CXX static library esp-idf\tcpip_adapter\libtcpip_adapter.a
[8/58] Linking CXX static library esp-idf\esp_eth\libesp_eth.a
[9/58] Linking CXX static library esp-idf\soc\libsoc.a
[10/58] Linking CXX static library esp-idf\esp_common\libesp_common.a
[11/58] 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\jduncan\.espressif\tools\xtensa-esp32-elf\esp-2020r2-8.2.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/jduncan/Desktop/esp-idf/components/newlib/platform_include -IC:/Users/jduncan/Desktop/esp-idf/components/freertos/include -IC:/Users/jduncan/Desktop/esp-idf/components/heap/include -IC:/Users/jduncan/Desktop/esp-idf/components/log/include -IC:/Users/jduncan/Desktop/esp-idf/components/lwip/include/apps -IC:/Users/jduncan/Desktop/esp-idf/components/lwip/include/apps/sntp -IC:/Users/jduncan/Desktop/esp-idf/components/lwip/lwip/src/include -IC:/Users/jduncan/Desktop/esp-idf/components/lwip/port/esp32/include -IC:/Users/jduncan/Desktop/esp-idf/components/lwip/port/esp32/include/arch -IC:/Users/jduncan/Desktop/esp-idf/components/soc/esp32/include -IC:/Users/jduncan/Desktop/esp-idf/components/soc/include -IC:/Users/jduncan/Desktop/esp-idf/components/esp_rom/include -IC:/Users/jduncan/Desktop/esp-idf/components/esp_common/include -IC:/Users/jduncan/Desktop/esp-idf/components/xtensa/include -IC:/Users/jduncan/Desktop/esp-idf/components/xtensa/esp32/include -IC:/Users/jduncan/Desktop/esp-idf/components/esp32/include -IC:/Users/jduncan/Desktop/esp-idf/components/driver/include -IC:/Users/jduncan/Desktop/esp-idf/components/driver/esp32/include -IC:/Users/jduncan/Desktop/esp-idf/components/esp_ringbuf/include -IC:/Users/jduncan/Desktop/esp-idf/components/efuse/include -IC:/Users/jduncan/Desktop/esp-idf/components/efuse/esp32/include -IC:/Users/jduncan/Desktop/esp-idf/components/vfs/include -IC:/Users/jduncan/Desktop/esp-idf/components/esp_wifi/include -IC:/Users/jduncan/Desktop/esp-idf/components/esp_wifi/esp32/include -IC:/Users/jduncan/Desktop/esp-idf/components/esp_event/include -IC:/Users/jduncan/Desktop/esp-idf/components/esp_netif/include -IC:/Users/jduncan/Desktop/esp-idf/components/esp_eth/include -IC:/Users/jduncan/Desktop/esp-idf/components/tcpip_adapter/include -IC:/Users/jduncan/Desktop/esp-idf/components/app_trace/include -IC:/Users/jduncan/Desktop/esp-idf/components/app_update/include -IC:/Users/jduncan/Desktop/esp-idf/components/spi_flash/include -IC:/Users/jduncan/Desktop/esp-idf/components/bootloader_support/include -IC:/Users/jduncan/Desktop/esp-idf/components/mbedtls/port/include -IC:/Users/jduncan/Desktop/esp-idf/components/mbedtls/mbedtls/include -IC:/Users/jduncan/Desktop/esp-idf/components/nvs_flash/include -IC:/Users/jduncan/Desktop/esp-idf/components/pthread/include -IC:/Users/jduncan/Desktop/esp-idf/components/espcoredump/include -IC:/Users/jduncan/Desktop/esp-idf/components/perfmon/include -IC:/Users/jduncan/Desktop/esp-idf/components/wpa_supplicant/include -IC:/Users/jduncan/Desktop/esp-idf/components/wpa_supplicant/port/include -IC:/Users/jduncan/Desktop/esp-idf/components/wpa_supplicant/include/esp_supplicant -IC:/Users/jduncan/Desktop/esp-idf/components/asio/asio/asio/include -IC:/Users/jduncan/Desktop/esp-idf/components/asio/port/include -IC:/Users/jduncan/Desktop/esp-idf/components/bt/include -IC:/Users/jduncan/Desktop/esp-idf/components/bt/common/osi/include -IC:/Users/jduncan/Desktop/esp-idf/components/bt/host/bluedroid/api/include/api -IC:/Users/jduncan/Desktop/esp-idf/components/cbor/port/include -IC:/Users/jduncan/Desktop/esp-idf/components/coap/port/include -IC:/Users/jduncan/Desktop/esp-idf/components/coap/port/include/coap -IC:/Users/jduncan/Desktop/esp-idf/components/coap/libcoap/include -IC:/Users/jduncan/Desktop/esp-idf/components/coap/libcoap/include/coap2 -IC:/Users/jduncan/Desktop/esp-idf/components/console -IC:/Users/jduncan/Desktop/esp-idf/components/nghttp/port/include -IC:/Users/jduncan/Desktop/esp-idf/components/nghttp/nghttp2/lib/includes -IC:/Users/jduncan/Desktop/esp-idf/components/esp-tls -IC:/Users/jduncan/Desktop/esp-idf/components/esp_adc_cal/include -IC:/Users/jduncan/Desktop/esp-idf/components/esp_gdbstub/include -IC:/Users/jduncan/Desktop/esp-idf/components/tcp_transport/include -IC:/Users/jduncan/Desktop/esp-idf/components/esp_http_client/include -IC:/Users/jduncan/Desktop/esp-idf/components/esp_http_server/include -IC:/Users/jduncan/Desktop/esp-idf/components/esp_https_ota/include -IC:/Users/jduncan/Desktop/esp-idf/components/protobuf-c/protobuf-c -IC:/Users/jduncan/Desktop/esp-idf/components/protocomm/include/common -IC:/Users/jduncan/Desktop/esp-idf/components/protocomm/include/security -IC:/Users/jduncan/Desktop/esp-idf/components/protocomm/include/transports -IC:/Users/jduncan/Desktop/esp-idf/components/mdns/include -IC:/Users/jduncan/Desktop/esp-idf/components/esp_local_ctrl/include -IC:/Users/jduncan/Desktop/esp-idf/components/sdmmc/include -IC:/Users/jduncan/Desktop/esp-idf/components/esp_serial_slave_link/include -IC:/Users/jduncan/Desktop/esp-idf/components/esp_websocket_client/include -IC:/Users/jduncan/Desktop/esp-idf/components/expat/expat/expat/lib -IC:/Users/jduncan/Desktop/esp-idf/components/expat/port/include -IC:/Users/jduncan/Desktop/esp-idf/components/wear_levelling/include -IC:/Users/jduncan/Desktop/esp-idf/component
s/fatfs/diskio -IC:/Users/jduncan/Desktop/esp-idf/components/fatfs/vfs -IC:/Users/jduncan/Desktop/esp-idf/components/fatfs/src -IC:/Users/jduncan/Desktop/esp-idf/components/freemodbus/common/include -IC:/Users/jduncan/Desktop/esp-idf/components/idf_test/include -IC:/Users/jduncan/Desktop/esp-idf/components/jsmn/include -IC:/Users/jduncan/Desktop/esp-idf/components/json/cJSON -IC:/Users/jduncan/Desktop/esp-idf/components/libsodium/libsodium/src/libsodium/include -IC:/Users/jduncan/Desktop/esp-idf/components/libsodium/port_include -IC:/Users/jduncan/Desktop/esp-idf/components/mqtt/esp-mqtt/include -IC:/Users/jduncan/Desktop/esp-idf/components/openssl/include -IC:/Users/jduncan/Desktop/esp-idf/components/spiffs/include -IC:/Users/jduncan/Desktop/esp-idf/components/ulp/include -IC:/Users/jduncan/Desktop/esp-idf/components/unity/include -IC:/Users/jduncan/Desktop/esp-idf/components/unity/unity/src -IC:/Users/jduncan/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.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/jduncan/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"
^~~~~~~
../main/esp-project.c: In function 'app_main':
../main/esp-project.c:242:3: error: implicit declaration of function 'FCI_DELAYBYTEWDT_S'; did you mean 'FCI_DELAYBYTE_S'? [-Werror=implicit-function-declaration]
FCI_DELAYBYTEWDT_S(3);
^~~~~~~~~~~~~~~~~~
FCI_DELAYBYTE_S
In file included from C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\internals.c:565,
from ../main/esp-project.c:50:
At top level:
C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\ESP\ESP_CAL_String.c:873: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:812: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:792: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:768: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:698: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:595: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)
^~~~~~~~~~~
In file included from C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\internals.c:563,
from ../main/esp-project.c:50:
C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\ESP\ESP_CAL_IO.c:260:18: warning: 'FC_CAL_Port_In_DDR' defined but not used [-Wunused-function]
static MX_UINT32 FC_CAL_Port_In_DDR (MX_UINT8 PORT, MX_UINT32 OutMask)
^~~~~~~~~~~~~~~~~~
C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\ESP\ESP_CAL_IO.c:152:13: warning: 'FC_CAL_Bit_High_DDR' defined but not used [-Wunused-function]
static void FC_CAL_Bit_High_DDR (MX_UINT8 PIN)
^~~~~~~~~~~~~~~~~~~
C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\ESP\ESP_CAL_IO.c:108:13: warning: 'FC_CAL_Bit_Low_DDR' defined but not used [-Wunused-function]
static void FC_CAL_Bit_Low_DDR (MX_UINT8 PIN)
^~~~~~~~~~~~~~~~~~
C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\ESP\ESP_CAL_IO.c:60:13: warning: 'FC_CAL_Port_Out_DDR' defined but not used [-Wunused-function]
static void FC_CAL_Port_Out_DDR (MX_UINT8 PORT, MX_UINT32 OutMask, MX_UINT32 OutValue)
^~~~~~~~~~~~~~~~~~~
cc1.exe: some warnings being treated as errors
[12/58] Linking CXX static library esp-idf\esp32\libesp32.a
ninja: build stopped: subcommand failed.
Executing action: all (aliases: build)
Running ninja in directory c:\mplab_projects\flowcode\version_9_tests\blinktest1_-_copy\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
Code: Select all
Target folder: C:\MPLAB Projects\FLOWCODE\VERSION 9 TESTS
Source name: C:\MPLAB Projects\FLOWCODE\VERSION 9 TESTS\BlinkTest1 - Copy.fcfx
Title:
Description:
Device: ESP.ESP32.ESP32_WROOM_32
Generated by: Flowcode v9.0.0.23
Date: Monday, December 21, 2020 08:52:40
Users: 1
Registered to: chico (chico)
Licence key: 9 TEST
NOT FOR COMMERCIAL USE
https://www.flowcode.co.uk
Launching the compiler...
C:\ProgramData\MatrixTSL\FlowcodeV9\FCD\ESP\Batch\esp32_build.bat "C:\Users\jduncan\Desktop\esp-idf\" "BlinkTest1 - Copy" "C:\MPLAB Projects\FLOWCODE\VERSION 9 TESTS\" esp32s_sdkconfig
Building BlinkTest1 - Copy ...
Setting IDF_PATH: C:\Users\jduncan\Desktop\esp-idf
Adding ESP-IDF tools to PATH...
C:\Users\jduncan\.espressif\tools\xtensa-esp32-elf\esp-2020r2-8.2.0\xtensa-esp32-elf\bin
C:\Users\jduncan\.espressif\tools\xtensa-esp32s2-elf\esp-2020r2-8.2.0\xtensa-esp32s2-elf\bin
C:\Users\jduncan\.espressif\tools\esp32ulp-elf\2.28.51-esp-20191205\esp32ulp-elf-binutils\bin
C:\Users\jduncan\.espressif\tools\esp32s2ulp-elf\2.28.51-esp-20191205\esp32s2ulp-elf-binutils\bin
C:\Users\jduncan\.espressif\tools\cmake\3.13.4\bin
C:\Users\jduncan\.espressif\tools\openocd-esp32\v0.10.0-esp32-20191114\openocd-esp32\bin
C:\Users\jduncan\.espressif\tools\ninja\1.9.0\
C:\Users\jduncan\.espressif\tools\idf-exe\1.0.1\
C:\Users\jduncan\.espressif\tools\ccache\3.7\
C:\Users\jduncan\.espressif\python_env\idf4.1_py3.7_env\Scripts
C:\Users\jduncan\Desktop\esp-idf\tools
Checking if Python packages are up to date...
Python requirements from C:\Users\jduncan\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/51] Linking CXX static library esp-idf\perfmon\libperfmon.a
[2/51] Linking CXX static library esp-idf\espcoredump\libespcoredump.a
[3/51] cmd.exe /C "cd /D C:\MPLAB_Projects\FLOWCODE\VERSION_9_TESTS\BlinkTest1_-_Copy\build\esp-idf\partition_table && C:\Users\jduncan\.espressif\tools\cmake\3.13.4\bin\cmake.exe -E echo "Partition table binary generated. Contents:" && C:\Users\jduncan\.espressif\tools\cmake\3.13.4\bin\cmake.exe -E echo ******************************************************************************* && C:\Users\jduncan\.espressif\python_env\idf4.1_py3.7_env\Scripts\python.exe C:/Users/jduncan/Desktop/esp-idf/components/partition_table/gen_esp32part.py -q --offset 0x8000 --flash-size 2MB C:/MPLAB_Projects/FLOWCODE/VERSION_9_TESTS/BlinkTest1_-_Copy/build/partition_table/partition-table.bin && C:\Users\jduncan\.espressif\tools\cmake\3.13.4\bin\cmake.exe -E echo *******************************************************************************"
Partition table binary generated. Contents:
*******************************************************************************
# Espressif ESP32 Partition Table
# Name, Type, SubType, Offset, Size, Flags
nvs,data,nvs,0x9000,24K,
phy_init,data,phy,0xf000,4K,
factory,app,factory,0x10000,1M,
*******************************************************************************
[4/51] Linking CXX static library esp-idf\pthread\libpthread.a
[5/51] Performing build step for 'bootloader'
ninja: no work to do.
[6/49] Linking CXX static library esp-idf\nvs_flash\libnvs_flash.a
[7/49] Linking CXX static library esp-idf\driver\libdriver.a
[8/49] Linking CXX static library esp-idf\efuse\libefuse.a
[9/49] Linking CXX static library esp-idf\bootloader_support\libbootloader_support.a
[10/49] Linking CXX static library esp-idf\mbedtls\mbedtls\library\libmbedtls.a
[11/49] Linking CXX static library esp-idf\mbedtls\mbedtls\library\libmbedx509.a
[12/49] Building C object esp-idf/main/CMakeFiles/__idf_main.dir/esp-project.c.obj
In file included from ../main/esp-project.c:40:
C:/Users/jduncan/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:565,
from ../main/esp-project.c:50:
C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\ESP\ESP_CAL_String.c:873: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:812: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:792: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:768: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:698: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:595: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)
^~~~~~~~~~~
In file included from C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\internals.c:563,
from ../main/esp-project.c:50:
C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\ESP\ESP_CAL_IO.c:260:18: warning: 'FC_CAL_Port_In_DDR' defined but not used [-Wunused-function]
static MX_UINT32 FC_CAL_Port_In_DDR (MX_UINT8 PORT, MX_UINT32 OutMask)
^~~~~~~~~~~~~~~~~~
C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\ESP\ESP_CAL_IO.c:152:13: warning: 'FC_CAL_Bit_High_DDR' defined but not used [-Wunused-function]
static void FC_CAL_Bit_High_DDR (MX_UINT8 PIN)
^~~~~~~~~~~~~~~~~~~
C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\ESP\ESP_CAL_IO.c:108:13: warning: 'FC_CAL_Bit_Low_DDR' defined but not used [-Wunused-function]
static void FC_CAL_Bit_Low_DDR (MX_UINT8 PIN)
^~~~~~~~~~~~~~~~~~
C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\ESP\ESP_CAL_IO.c:60:13: warning: 'FC_CAL_Port_Out_DDR' defined but not used [-Wunused-function]
static void FC_CAL_Port_Out_DDR (MX_UINT8 PORT, MX_UINT32 OutMask, MX_UINT32 OutValue)
^~~~~~~~~~~~~~~~~~~
[13/49] Linking CXX static library esp-idf\mbedtls\mbedtls\library\libmbedcrypto.a
[14/49] Linking CXX static library esp-idf\spi_flash\libspi_flash.a
[15/49] Linking CXX static library esp-idf\app_update\libapp_update.a
[16/49] Linking CXX static library esp-idf\esp_ringbuf\libesp_ringbuf.a
[17/49] Linking CXX static library esp-idf\xtensa\libxtensa.a
[18/49] Linking CXX static library esp-idf\console\libconsole.a
[19/49] Linking CXX static library esp-idf\cbor\libcbor.a
[20/49] Linking CXX static library esp-idf\asio\libasio.a
[21/49] Linking CXX static library esp-idf\coap\libcoap.a
[22/49] Linking CXX static library esp-idf\protobuf-c\libprotobuf-c.a
[23/49] Linking CXX static library esp-idf\esp_adc_cal\libesp_adc_cal.a
[24/49] Linking CXX static library esp-idf\esp_https_ota\libesp_https_ota.a
[25/49] Linking CXX static library esp-idf\esp_gdbstub\libesp_gdbstub.a
[26/49] Linking CXX static library esp-idf\mdns\libmdns.a
[27/49] Linking CXX static library esp-idf\sdmmc\libsdmmc.a
[28/49] Linking CXX static library esp-idf\esp_websocket_client\libesp_websocket_client.a
[29/49] Linking CXX static library esp-idf\wear_levelling\libwear_levelling.a
[30/49] Linking CXX static library esp-idf\expat\libexpat.a
[31/49] Linking CXX static library esp-idf\freemodbus\libfreemodbus.a
[32/49] Linking CXX static library esp-idf\bt\libbt.a
[33/49] Linking CXX static library esp-idf\esp_serial_slave_link\libesp_serial_slave_link.a
[34/49] Linking CXX static library esp-idf\jsmn\libjsmn.a
[35/49] Linking CXX static library esp-idf\json\libjson.a
[36/49] Linking CXX static library esp-idf\protocomm\libprotocomm.a
[37/49] Linking CXX static library esp-idf\fatfs\libfatfs.a
[38/49] Linking CXX static library esp-idf\openssl\libopenssl.a
[39/49] Linking CXX static library esp-idf\mqtt\libmqtt.a
[40/49] Linking CXX static library esp-idf\spiffs\libspiffs.a
[41/49] Linking CXX static library esp-idf\libsodium\liblibsodium.a
[42/49] Linking CXX static library esp-idf\unity\libunity.a
[43/49] Linking CXX static library esp-idf\esp_local_ctrl\libesp_local_ctrl.a
[44/49] Linking CXX static library esp-idf\wifi_provisioning\libwifi_provisioning.a
[45/49] Linking CXX static library esp-idf\main\libmain.a
. . .
[46/49] Generating ld/esp32.project.ld
[47/49] Building C object CMakeFiles/esp-project.elf.dir/project_elf_src.c.obj
[48/49] Linking CXX executable esp-project.elf
[49/49] Generating binary image from built executable
esptool.py v2.9-dev
Generated C:/MPLAB_Projects/FLOWCODE/VERSION_9_TESTS/BlinkTest1_-_Copy/build/esp-project.bin
Executing action: all (aliases: build)
Running ninja in directory c:\mplab_projects\flowcode\version_9_tests\blinktest1_-_copy\build
Executing "ninja all"...
Project build complete. To flash, run this command:
C:\Users\jduncan\.espressif\python_env\idf4.1_py3.7_env\Scripts\python.exe ..\..\..\..\Users\jduncan\Desktop\esp-idf\components\esptool_py\esptool\esptool.py -p (PORT) -b 460800 --before default_reset --after hard_reset --chip esp32 write_flash --flash_mode dio --flash_size detect --flash_freq 40m 0x1000 build\bootloader\bootloader.bin 0x8000 build\partition_table\partition-table.bin 0x10000 build\esp-project.bin
or run 'idf.py -p (PORT) flash'
Build completed successfully
.
Launching the linker/assembler...
C:\Program Files (x86)\Flowcode v9\data\tools\DoNothing\DoNothing.exe
FINISHED