ESP32 ERROR COMPILER

For general Flowcode discussion that does not belong in the other sections.
Post Reply
max.tisc
Posts: 55
http://meble-kuchenne.info.pl
Joined: Thu Dec 10, 2020 5:40 pm
Been thanked: 5 times

ESP32 ERROR COMPILER

Post by max.tisc »

Hello Team
I have a problem with the compilation of the ESP32, in the compilation phase from error 0x1 and does not program the card, compiling the blink program does not give the error and everything works correctly, looking at the 2 generated reports you see an error at point [2 / 6] what can it depend on? Originally the program was written for arduino 2560 and worked well, I wanted to pass it on ESP32 to use the WIFI part, and that should also be much more performing
thank you

Code: Select all

Using FCD settings for compiler
Launching the compiler...
C:\ProgramData\MatrixTSL\FlowcodeV9\FCD\ESP\Batch\esp32_build.bat  "C:\Users\Max\Desktop\esp-idf-2\" "FC9_ESP32_AS6040" "C:\Users\Max\Dropbox\fc9\" esp32s_sdkconfig 

C:\Users\Max\Dropbox\fc9>REM CRC: 0796FC1E6A776AF9156B257209C35258CE7C28B3EC20AEA2C632DB392A0E4BFD5B3F53B21811978F7B21FE4085045A7E774D1D3D69D8A99EE7320EAE740A5DB6FE0D8D4660AC0314F98C28BCA92AF856EFD1DB5B777140BC4D00059D795899827D9F76D89626FBC8B199900461C78937B42DEF8219F63A24580137A2F6C8FDB7553324EFF791947E8AB6FFD612B81BAA97C798A8F1CFC189DE5D38517747C774AF2DD6F839BAECF83F7F994C7164CE77868F480396BDEF2F2C3050DA273BE4EE6FE0BB589D1229A5E37B217FF86DBD72A01B8FBC49BE02BFA3608A0B0CE69F969622A912E6E6A2FB 

C:\Users\Max\Dropbox\fc9>REM REVISION: 4.0 

C:\Users\Max\Dropbox\fc9>REM GUID: 955EA920-4961-4C53-BA6B-EF4AF66BB4C2 

C:\Users\Max\Dropbox\fc9>REM DATE: 29\03\2021 

C:\Users\Max\Dropbox\fc9>REM DIR: FCD\ESP\Batch\esp32_build.bat 
Building FC9_ESP32_AS6040 ...
Setting IDF_PATH: C:\Users\Max\Desktop\esp-idf-2

Adding ESP-IDF tools to PATH...
    C:\Users\Max\.espressif\tools\xtensa-esp32-elf\esp-2021r1-8.4.0\xtensa-esp32-elf\bin
    C:\Users\Max\.espressif\tools\xtensa-esp32s2-elf\esp-2021r1-8.4.0\xtensa-esp32s2-elf\bin
    C:\Users\Max\.espressif\tools\xtensa-esp32s3-elf\esp-2021r1-8.4.0\xtensa-esp32s3-elf\bin
    C:\Users\Max\.espressif\tools\riscv32-esp-elf\esp-2021r1-8.4.0\riscv32-esp-elf\bin
    C:\Users\Max\.espressif\tools\esp32ulp-elf\2.28.51-esp-20191205\esp32ulp-elf-binutils\bin
    C:\Users\Max\.espressif\tools\esp32s2ulp-elf\2.28.51-esp-20191205\esp32s2ulp-elf-binutils\bin
    C:\Users\Max\.espressif\tools\cmake\3.16.4\bin
    C:\Users\Max\.espressif\tools\openocd-esp32\v0.10.0-esp32-20210401\openocd-esp32\bin
    C:\Users\Max\.espressif\tools\ninja\1.10.2\
    C:\Users\Max\.espressif\tools\idf-exe\1.0.1\
    C:\Users\Max\.espressif\tools\ccache\3.7\
    C:\Users\Max\.espressif\tools\dfu-util\0.9\dfu-util-0.9-win64
    C:\Users\Max\.espressif\python_env\idf4.3_py3.7_env\Scripts
    C:\Users\Max\Desktop\esp-idf-2\tools
    
Checking if Python packages are up to date...
. .

Python requirements from C:\Users\Max\Desktop\esp-idf-2\requirements.txt are satisfied.

Done! You can now compile ESP-IDF projects.
Go to the project directory and run:

  idf.py build

.

[1/8] Performing build step for 'bootloader'
ninja: no work to do.
[2/6] 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\Max\.espressif\tools\xtensa-esp32-elf\esp-2021r1-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/Max/Desktop/esp-idf-2/components/newlib/platform_include -IC:/Users/Max/Desktop/esp-idf-2/components/freertos/include -IC:/Users/Max/Desktop/esp-idf-2/components/freertos/port/xtensa/include -IC:/Users/Max/Desktop/esp-idf-2/components/esp_hw_support/include -IC:/Users/Max/Desktop/esp-idf-2/components/esp_hw_support/port/esp32/. -IC:/Users/Max/Desktop/esp-idf-2/components/heap/include -IC:/Users/Max/Desktop/esp-idf-2/components/log/include -IC:/Users/Max/Desktop/esp-idf-2/components/lwip/include/apps -IC:/Users/Max/Desktop/esp-idf-2/components/lwip/include/apps/sntp -IC:/Users/Max/Desktop/esp-idf-2/components/lwip/lwip/src/include -IC:/Users/Max/Desktop/esp-idf-2/components/lwip/port/esp32/include -IC:/Users/Max/Desktop/esp-idf-2/components/lwip/port/esp32/include/arch -IC:/Users/Max/Desktop/esp-idf-2/components/soc/include -IC:/Users/Max/Desktop/esp-idf-2/components/soc/esp32/. -IC:/Users/Max/Desktop/esp-idf-2/components/soc/esp32/include -IC:/Users/Max/Desktop/esp-idf-2/components/hal/esp32/include -IC:/Users/Max/Desktop/esp-idf-2/components/hal/include -IC:/Users/Max/Desktop/esp-idf-2/components/esp_rom/include -IC:/Users/Max/Desktop/esp-idf-2/components/esp_rom/esp32 -IC:/Users/Max/Desktop/esp-idf-2/components/esp_rom/include/esp32 -IC:/Users/Max/Desktop/esp-idf-2/components/esp_common/include -IC:/Users/Max/Desktop/esp-idf-2/components/esp_system/include -IC:/Users/Max/Desktop/esp-idf-2/components/esp32/include -IC:/Users/Max/Desktop/esp-idf-2/components/driver/include -IC:/Users/Max/Desktop/esp-idf-2/components/driver/esp32/include -IC:/Users/Max/Desktop/esp-idf-2/components/esp_ringbuf/include -IC:/Users/Max/Desktop/esp-idf-2/components/efuse/include -IC:/Users/Max/Desktop/esp-idf-2/components/efuse/esp32/include -IC:/Users/Max/Desktop/esp-idf-2/components/xtensa/include -IC:/Users/Max/Desktop/esp-idf-2/components/xtensa/esp32/include -IC:/Users/Max/Desktop/esp-idf-2/components/espcoredump/include -IC:/Users/Max/Desktop/esp-idf-2/components/esp_timer/include -IC:/Users/Max/Desktop/esp-idf-2/components/esp_ipc/include -IC:/Users/Max/Desktop/esp-idf-2/components/esp_pm/include -IC:/Users/Max/Desktop/esp-idf-2/components/vfs/include -IC:/Users/Max/Desktop/esp-idf-2/components/esp_wifi/include -IC:/Users/Max/Desktop/esp-idf-2/components/esp_wifi/esp32/include -IC:/Users/Max/Desktop/esp-idf-2/components/esp_event/include -IC:/Users/Max/Desktop/esp-idf-2/components/esp_netif/include -IC:/Users/Max/Desktop/esp-idf-2/components/esp_eth/include -IC:/Users/Max/Desktop/esp-idf-2/components/tcpip_adapter/include -IC:/Users/Max/Desktop/esp-idf-2/components/app_trace/include -IC:/Users/Max/Desktop/esp-idf-2/components/mbedtls/port/include -IC:/Users/Max/Desktop/esp-idf-2/components/mbedtls/mbedtls/include -IC:/Users/Max/Desktop/esp-idf-2/components/mbedtls/esp_crt_bundle/include -IC:/Users/Max/Desktop/esp-idf-2/components/app_update/include -IC:/Users/Max/Desktop/esp-idf-2/components/spi_flash/include -IC:/Users/Max/Desktop/esp-idf-2/components/bootloader_support/include -IC:/Users/Max/Desktop/esp-idf-2/components/nvs_flash/include -IC:/Users/Max/Desktop/esp-idf-2/components/pthread/include -IC:/Users/Max/Desktop/esp-idf-2/components/esp_gdbstub/include -IC:/Users/Max/Desktop/esp-idf-2/components/esp_gdbstub/xtensa -IC:/Users/Max/Desktop/esp-idf-2/components/esp_gdbstub/esp32 -IC:/Users/Max/Desktop/esp-idf-2/components/wpa_supplicant/include -IC:/Users/Max/Desktop/esp-idf-2/components/wpa_supplicant/port/include -IC:/Users/Max/Desktop/esp-idf-2/components/wpa_supplicant/include/esp_supplicant -IC:/Users/Max/Desktop/esp-idf-2/components/perfmon/include -IC:/Users/Max/Desktop/esp-idf-2/components/asio/asio/asio/include -IC:/Users/Max/Desktop/esp-idf-2/components/asio/port/include -IC:/Users/Max/Desktop/esp-idf-2/components/bt/common/osi/include -IC:/Users/Max/Desktop/esp-idf-2/components/bt/include/esp32/include -IC:/Users/Max/Desktop/esp-idf-2/components/bt/common/api/include/api -IC:/Users/Max/Desktop/esp-idf-2/components/bt/common/btc/profile/esp/blufi/include -IC:/Users/Max/Desktop/esp-idf-2/components/bt/common/btc/profile/esp/include -IC:/Users/Max/Desktop/esp-idf-2/components/bt/host/bluedroid/api/include/api -IC:/Users/Max/Desktop/esp-idf-2/components/cbor/port/include -IC:/Users/Max/Desktop/esp-idf-2/components/unity/include -IC:/Users/Max/Desktop/esp-idf-2/components/unity/unity/src -IC:/Users/Max/Desktop/esp-idf-2/components/cmock/CMock/src -IC:/Users/Max/Desktop/esp-idf-2/components/coap/port/include -IC:/Users/Max/Desktop/esp-idf-2/components/coap/port/include/coap -IC:/Users/Max/Desktop/esp-idf-2/components/coap/libcoap/include -IC:/Users/Max/Desktop/esp-idf-2/components/coap/libcoap/include/coap2 -IC:/Users/Max/Desktop/esp-idf-2/components/console -IC:/Users/Max/Desktop/esp-idf-2/components/nghttp/port/include -IC:/Users/Max/Desktop/esp-idf-2/components/nghttp/nghttp2/lib/includes -IC:
/Users/Max/Desktop/esp-idf-2/components/esp-tls -IC:/Users/Max/Desktop/esp-idf-2/components/esp-tls/esp-tls-crypto -IC:/Users/Max/Desktop/esp-idf-2/components/esp_adc_cal/include -IC:/Users/Max/Desktop/esp-idf-2/components/esp_hid/include -IC:/Users/Max/Desktop/esp-idf-2/components/tcp_transport/include -IC:/Users/Max/Desktop/esp-idf-2/components/esp_http_client/include -IC:/Users/Max/Desktop/esp-idf-2/components/esp_http_server/include -IC:/Users/Max/Desktop/esp-idf-2/components/esp_https_ota/include -IC:/Users/Max/Desktop/esp-idf-2/components/protobuf-c/protobuf-c -IC:/Users/Max/Desktop/esp-idf-2/components/protocomm/include/common -IC:/Users/Max/Desktop/esp-idf-2/components/protocomm/include/security -IC:/Users/Max/Desktop/esp-idf-2/components/protocomm/include/transports -IC:/Users/Max/Desktop/esp-idf-2/components/mdns/include -IC:/Users/Max/Desktop/esp-idf-2/components/esp_local_ctrl/include -IC:/Users/Max/Desktop/esp-idf-2/components/sdmmc/include -IC:/Users/Max/Desktop/esp-idf-2/components/esp_serial_slave_link/include -IC:/Users/Max/Desktop/esp-idf-2/components/esp_websocket_client/include -IC:/Users/Max/Desktop/esp-idf-2/components/expat/expat/expat/lib -IC:/Users/Max/Desktop/esp-idf-2/components/expat/port/include -IC:/Users/Max/Desktop/esp-idf-2/components/wear_levelling/include -IC:/Users/Max/Desktop/esp-idf-2/components/fatfs/diskio -IC:/Users/Max/Desktop/esp-idf-2/components/fatfs/vfs -IC:/Users/Max/Desktop/esp-idf-2/components/fatfs/src -IC:/Users/Max/Desktop/esp-idf-2/components/freemodbus/common/include -IC:/Users/Max/Desktop/esp-idf-2/components/idf_test/include -IC:/Users/Max/Desktop/esp-idf-2/components/idf_test/include/esp32 -IC:/Users/Max/Desktop/esp-idf-2/components/jsmn/include -IC:/Users/Max/Desktop/esp-idf-2/components/json/cJSON -IC:/Users/Max/Desktop/esp-idf-2/components/libsodium/libsodium/src/libsodium/include -IC:/Users/Max/Desktop/esp-idf-2/components/libsodium/port_include -IC:/Users/Max/Desktop/esp-idf-2/components/mqtt/esp-mqtt/include -IC:/Users/Max/Desktop/esp-idf-2/components/openssl/include -IC:/Users/Max/Desktop/esp-idf-2/components/spiffs/include -IC:/Users/Max/Desktop/esp-idf-2/components/ulp/include -IC:/Users/Max/Desktop/esp-idf-2/components/wifi_provisioning/include -mlongcalls -Wno-frame-address   -ffunction-sections -fdata-sections -Wall -Werror=all -Wno-error=unused-function -Wno-error=unused-variable -Wno-error=deprecated-declarations -Wextra -Wno-unused-parameter -Wno-sign-compare -ggdb -Og -fstrict-volatile-bitfields -Wno-error=unused-but-set-variable -std=gnu99 -Wno-old-style-declaration -D_GNU_SOURCE -DIDF_VER=\"v4.3.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:38:
C:/Users/Max/Desktop/esp-idf-2/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:48:
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\includes.c:1512,
                 from ../main/esp-project.c:679:
C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\ESP\ESP_CAL_UART.c: In function 'FC_CAL_UART_Init_1':
C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\ESP\ESP_CAL_UART.c:263:4: warning: #warning "UART channel 1 is used for the debug output, it might be better to use the debug output component or another UART channel." [-Wcpp]
   #warning "UART channel 1 is used for the debug output, it might be better to use the debug output component or another UART channel."
    ^~~~~~~
In file included from C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\includes.c:1512,
                 from ../main/esp-project.c:679:
C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\ESP\ESP_CAL_UART.c:279:4: warning: #warning "UART channel 1 has remappable functionality but can break programming functionality! Disabled by default in the Flowcode ESP CAL." [-Wcpp]
   #warning "UART channel 1 has remappable functionality but can break programming functionality! Disabled by default in the Flowcode ESP CAL."
    ^~~~~~~
../main/esp-project.c: In function 'FCD_07da1_cal_i2c1__Prv_TextConsole':
../main/esp-project.c:698:10: warning: unused variable 'FCL_TSTR' [-Wunused-variable]
  MX_CHAR FCL_TSTR[FCLsz_TSTR];
          ^~~~~~~~
../main/esp-project.c: In function 'FCD_01211_CircularBuffer1__PeekByte':
../main/esp-project.c:1293:12: warning: unused variable 'FCL_TEMP' [-Wunused-variable]
  {
            ^       
../main/esp-project.c: In function 'FCD_05261_switch_base__ReadState':
../main/esp-project.c:1518:11: warning: variable 'FCL_OLD_SWITCHVAL' set but not used [-Wunused-but-set-variable]
    // .Return = 1
           ^~~~~~~          
../main/esp-project.c:1517:12: warning: variable 'FCL_DEL_COUNT' set but not used [-Wunused-but-set-variable]
 
            ^            
../main/esp-project.c: In function 'FCD_05261_switch_base__WaitUntilHigh':
../main/esp-project.c:1568:11: warning: variable 'FCL_OLD_SWITCHVAL' set but not used [-Wunused-but-set-variable]
 
           ^                
../main/esp-project.c:1567:12: warning: variable 'FCL_DEL_COUNT' set but not used [-Wunused-but-set-variable]
    FCL_SWITCHVAL = GET_PORT_PIN(A, 4);
            ^~~~~~~~~~~~~
../main/esp-project.c: In function 'FCD_05261_switch_base__WaitUntilLow':
../main/esp-project.c:1619:11: warning: variable 'FCL_OLD_SWITCHVAL' set but not used [-Wunused-but-set-variable]
    #if (0) // 0 == 1
           ^~~~~~~~~~       
../main/esp-project.c:1618:12: warning: variable 'FCL_DEL_COUNT' set but not used [-Wunused-but-set-variable]
 
            ^            
../main/esp-project.c: In function 'FCD_01531_cal_spi__Master_Enable_CS':
../main/esp-project.c:1847:10: warning: unused variable 'FCL_STR' [-Wunused-variable]
 
          ^      
../main/esp-project.c: In function 'FCD_01531_cal_spi__Prv_TextConsole':
../main/esp-project.c:1899:10: warning: unused variable 'FCL_TSTR' [-Wunused-variable]
        :  RXData : MX_UINT8
          ^~~~~~~~
../main/esp-project.c: In function 'FCD_01531_cal_spi__Master_Disable_CS':
../main/esp-project.c:2033:10: warning: unused variable 'FCL_STR' [-Wunused-variable]
     // SS = 1 - CSPolarity
          ^~~~~~~
../main/esp-project.c: In function 'FCD_05482_cal_uart__ReceiveByteArray':
../main/esp-project.c:2746:11: warning: unused variable 'FCL_IDX' [-Wunused-variable]
   {
           ^      
../main/esp-project.c: In function 'FCD_05482_cal_uart__ReceiveString':
../main/esp-project.c:2808:11: warning: unused variable 'FCL_IDX' [-Wunused-variable]
   {
           ^      
../main/esp-project.c: In function 'FCD_047b2_NEXTION__SendString':
../main/esp-project.c:2875:12: warning: unused variable 'FCL_IDX' [-Wunused-variable]
 
            ^      
../main/esp-project.c:2874:12: warning: unused variable 'FCL_LEN' [-Wunused-variable]
  MX_UINT8 FCR_RETVAL;
            ^~~~~~~
../main/esp-project.c: In function 'FCD_047b2_NEXTION__ReceiveString':
../main/esp-project.c:4195:12: warning: unused variable 'FCL_RETVAL' [-Wunused-variable]
 
            ^         
../main/esp-project.c: In function 'FCD_05481_cal_uart__ReceiveByteArray':
../main/esp-project.c:4990:11: warning: unused variable 'FCL_IDX' [-Wunused-variable]
    goto FCC_ReceiveByteArray_A;
           ^~~~~~~
../main/esp-project.c: In function 'FCD_05481_cal_uart__ReceiveString':
../main/esp-project.c:5052:11: warning: unused variable 'FCL_IDX' [-Wunused-variable]
    goto FCC_ReceiveString_A;
           ^~~~~~~
../main/esp-project.c: In function 'FCD_047b1_PC__SendString':
../main/esp-project.c:5119:12: warning: unused variable 'FCL_IDX' [-Wunused-variable]
 
            ^      
../main/esp-project.c:5118:12: warning: unused variable 'FCL_LEN' [-Wunused-variable]
   {
            ^      
../main/esp-project.c: In function 'FCD_047b1_PC__ReceiveString':
../main/esp-project.c:6439:12: warning: unused variable 'FCL_RETVAL' [-Wunused-variable]
 {
            ^         
../main/esp-project.c: In function 'FCM_calc_VM_16bit_time':
../main/esp-project.c:8060:47: warning: passing argument 3 of 'FCI_FLOAT_TO_STRING' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers]
 
                                               ^          
In file included from C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\internals.c:568,
                 from ../main/esp-project.c:48:
C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\ESP\ESP_CAL_String.c:531:85: note: expected 'MX_STRING' {aka 'char *'} but argument is of type 'volatile MX_CHAR *' {aka 'volatile char *'}
 static MX_STRING FCI_FLOAT_TO_STRING(MX_FLOAT Number, MX_UINT8 Precision, MX_STRING String, MX_UINT16 MSZ_String)
                                                                           ~~~~~~~~~~^~~~~~
../main/esp-project.c: In function 'FCM_CAL':
../main/esp-project.c:8310:29: warning: passing argument 2 of 'FCI_TOSTRING' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers]
 
                             ^          
In file included from C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\internals.c:568,
                 from ../main/esp-project.c:48:
C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\ESP\ESP_CAL_String.c:366:57: note: expected 'MX_STRING' {aka 'char *'} but argument is of type 'volatile MX_CHAR *' {aka 'volatile char *'}
 static MX_STRING FCI_TOSTRING(MX_SLONG iSrc1, MX_STRING sDst, MX_UINT16 iDst_len)
                                               ~~~~~~~~~~^~~~
../main/esp-project.c:8316:32: warning: passing argument 1 of 'FCD_047b2_NEXTION__SendString' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers]
  if (FCV_FLAG1 == 0)
                                ^          
../main/esp-project.c:2871:45: note: expected 'MX_CHAR *' {aka 'char *'} but argument is of type 'volatile MX_CHAR *' {aka 'volatile char *'}
 {
                                             ^       
../main/esp-project.c: In function 'FCM_materiale_tubo':
../main/esp-project.c:8399:31: warning: passing argument 2 of 'FCI_TOSTRING' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers]
    {
                               ^          
In file included from C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\internals.c:568,
                 from ../main/esp-project.c:48:
C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\ESP\ESP_CAL_String.c:366:57: note: expected 'MX_STRING' {aka 'char *'} but argument is of type 'volatile MX_CHAR *' {aka 'volatile char *'}
 static MX_STRING FCI_TOSTRING(MX_SLONG iSrc1, MX_STRING sDst, MX_UINT16 iDst_len)
                                               ~~~~~~~~~~^~~~
../main/esp-project.c:8405:35: warning: passing argument 1 of 'FCD_047b2_NEXTION__SendString' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers]
 
                                   ^          
../main/esp-project.c:2871:45: note: expected 'MX_CHAR *' {aka 'char *'} but argument is of type 'volatile MX_CHAR *' {aka 'volatile char *'}
 {
                                             ^       
../main/esp-project.c: In function 'FCM_diagnostica':
../main/esp-project.c:8861:41: warning: passing argument 3 of 'FCI_FLOAT_TO_STRING' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers]
   // STRINGA = FloatToString$ (D_TOF_VM,2)
                                         ^~         
In file included from C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\internals.c:568,
                 from ../main/esp-project.c:48:
C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\ESP\ESP_CAL_String.c:531:85: note: expected 'MX_STRING' {aka 'char *'} but argument is of type 'volatile MX_CHAR *' {aka 'volatile char *'}
 static MX_STRING FCI_FLOAT_TO_STRING(MX_FLOAT Number, MX_UINT8 Precision, MX_STRING String, MX_UINT16 MSZ_String)
                                                                           ~~~~~~~~~~^~~~~~
../main/esp-project.c:8867:33: warning: passing argument 1 of 'FCD_047b2_NEXTION__SendString' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers]
   // Name: Call Component Macro, Type: Component Macro: NEXTION::SendString(STRINGA)
                                 ^~~~~~~~~~~
../main/esp-project.c:2871:45: note: expected 'MX_CHAR *' {aka 'char *'} but argument is of type 'volatile MX_CHAR *' {aka 'volatile char *'}
 {
                                             ^       
../main/esp-project.c:8877:41: warning: passing argument 3 of 'FCI_FLOAT_TO_STRING' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers]
   //CALCOLO PULSE WIDTH RATIO VALORE OK SE COMPRESO TRA 0,5 E 0,7
                                         ^~~~~~~~~~~
In file included from C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\internals.c:568,
                 from ../main/esp-project.c:48:
C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\ESP\ESP_CAL_String.c:531:85: note: expected 'MX_STRING' {aka 'char *'} but argument is of type 'volatile MX_CHAR *' {aka 'volatile char *'}
 static MX_STRING FCI_FLOAT_TO_STRING(MX_FLOAT Number, MX_UINT8 Precision, MX_STRING String, MX_UINT16 MSZ_String)
                                                                           ~~~~~~~~~~^~~~~~
../main/esp-project.c:8883:33: warning: passing argument 1 of 'FCD_047b2_NEXTION__SendString' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers]
   //CALCOLO PWR UP
                                 ^          
../main/esp-project.c:2871:45: note: expected 'MX_CHAR *' {aka 'char *'} but argument is of type 'volatile MX_CHAR *' {aka 'volatile char *'}
 {
                                             ^       
../main/esp-project.c:8897:40: warning: passing argument 3 of 'FCI_FLOAT_TO_STRING' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers]
   FCD_047b2_NEXTION__SendString(FCV_STRINGA, FCVsz_STRINGA);
                                        ^~~~~~~~~~~
In file included from C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\internals.c:568,
                 from ../main/esp-project.c:48:
C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\ESP\ESP_CAL_String.c:531:85: note: expected 'MX_STRING' {aka 'char *'} but argument is of type 'volatile MX_CHAR *' {aka 'volatile char *'}
 static MX_STRING FCI_FLOAT_TO_STRING(MX_FLOAT Number, MX_UINT8 Precision, MX_STRING String, MX_UINT16 MSZ_String)
                                                                           ~~~~~~~~~~^~~~~~
../main/esp-project.c:8903:33: warning: passing argument 1 of 'FCD_047b2_NEXTION__SendString' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers]
   FCD_047b2_NEXTION__SendString("\0xFF\0xFF\0xFF", 1);
                                 ^~~~~~~~~~~
../main/esp-project.c:2871:45: note: expected 'MX_CHAR *' {aka 'char *'} but argument is of type 'volatile MX_CHAR *' {aka 'volatile char *'}
 {
                                             ^       
../main/esp-project.c:8926:37: warning: passing argument 3 of 'FCI_FLOAT_TO_STRING' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers]
   FCD_047b2_NEXTION__SendString("\"", 2);
                                     ^~~~~      
In file included from C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\internals.c:568,
                 from ../main/esp-project.c:48:
C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\ESP\ESP_CAL_String.c:531:85: note: expected 'MX_STRING' {aka 'char *'} but argument is of type 'volatile MX_CHAR *' {aka 'volatile char *'}
 static MX_STRING FCI_FLOAT_TO_STRING(MX_FLOAT Number, MX_UINT8 Precision, MX_STRING String, MX_UINT16 MSZ_String)
                                                                           ~~~~~~~~~~^~~~~~
../main/esp-project.c:8932:33: warning: passing argument 1 of 'FCD_047b2_NEXTION__SendString' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers]
   //CALCOLO AMPIEZZA SEGNALE RICEVUTO
                                 ^~~~~      
../main/esp-project.c:2871:45: note: expected 'MX_CHAR *' {aka 'char *'} but argument is of type 'volatile MX_CHAR *' {aka 'volatile char *'}
 {
                                             ^       
../main/esp-project.c:8952:37: warning: passing argument 3 of 'FCI_FLOAT_TO_STRING' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers]
 
                                     ^          
In file included from C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\internals.c:568,
                 from ../main/esp-project.c:48:
C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\ESP\ESP_CAL_String.c:531:85: note: expected 'MX_STRING' {aka 'char *'} but argument is of type 'volatile MX_CHAR *' {aka 'volatile char *'}
 static MX_STRING FCI_FLOAT_TO_STRING(MX_FLOAT Number, MX_UINT8 Precision, MX_STRING String, MX_UINT16 MSZ_String)
                                                                           ~~~~~~~~~~^~~~~~
../main/esp-project.c:8958:33: warning: passing argument 1 of 'FCD_047b2_NEXTION__SendString' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers]
   FCI_FLOAT_TO_STRING(FCV_VDW, 0, FCV_STRINGA, FCVsz_STRINGA);
                                 ^~~~~~~~~~~
../main/esp-project.c:2871:45: note: expected 'MX_CHAR *' {aka 'char *'} but argument is of type 'volatile MX_CHAR *' {aka 'volatile char *'}
 {
                                             ^       
../main/esp-project.c:8977:35: warning: passing argument 3 of 'FCI_FLOAT_TO_STRING' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers]
   // STRINGA = FloatToString$ (T_TOT)
                                   ^~~        
In file included from C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\internals.c:568,
                 from ../main/esp-project.c:48:
C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\ESP\ESP_CAL_String.c:531:85: note: expected 'MX_STRING' {aka 'char *'} but argument is of type 'volatile MX_CHAR *' {aka 'volatile char *'}
 static MX_STRING FCI_FLOAT_TO_STRING(MX_FLOAT Number, MX_UINT8 Precision, MX_STRING String, MX_UINT16 MSZ_String)
                                                                           ~~~~~~~~~~^~~~~~
../main/esp-project.c:8983:33: warning: passing argument 1 of 'FCD_047b2_NEXTION__SendString' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers]
 
                                 ^          
../main/esp-project.c:2871:45: note: expected 'MX_CHAR *' {aka 'char *'} but argument is of type 'volatile MX_CHAR *' {aka 'volatile char *'}
 {
                                             ^       
../main/esp-project.c:8993:35: warning: passing argument 3 of 'FCI_FLOAT_TO_STRING' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers]
   // Name: Call Component Macro, Type: Component Macro: PC::SendString("\n")
                                   ^~~~~~~~~~~
In file included from C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\internals.c:568,
                 from ../main/esp-project.c:48:
C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\ESP\ESP_CAL_String.c:531:85: note: expected 'MX_STRING' {aka 'char *'} but argument is of type 'volatile MX_CHAR *' {aka 'volatile char *'}
 static MX_STRING FCI_FLOAT_TO_STRING(MX_FLOAT Number, MX_UINT8 Precision, MX_STRING String, MX_UINT16 MSZ_String)
                                                                           ~~~~~~~~~~^~~~~~
../main/esp-project.c:8999:33: warning: passing argument 1 of 'FCD_047b2_NEXTION__SendString' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers]
   // T_TEO = ((L_VM / V_F) * 2.0) * 1000000.0
                                 ^~~~~~~~~~~
../main/esp-project.c:2871:45: note: expected 'MX_CHAR *' {aka 'char *'} but argument is of type 'volatile MX_CHAR *' {aka 'volatile char *'}
 {
                                             ^       
../main/esp-project.c:9013:49: warning: passing argument 3 of 'FCI_FLOAT_TO_STRING' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers]
   // Name: Call Component Macro, Type: Component Macro: PC::SendString(STRINGA)
                                                 ^~~~~~~~~~~
In file included from C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\internals.c:568,
                 from ../main/esp-project.c:48:
C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\ESP\ESP_CAL_String.c:531:85: note: expected 'MX_STRING' {aka 'char *'} but argument is of type 'volatile MX_CHAR *' {aka 'volatile char *'}
 static MX_STRING FCI_FLOAT_TO_STRING(MX_FLOAT Number, MX_UINT8 Precision, MX_STRING String, MX_UINT16 MSZ_String)
                                                                           ~~~~~~~~~~^~~~~~
../main/esp-project.c:9039:49: warning: passing argument 3 of 'FCI_FLOAT_TO_STRING' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers]
   FCD_047b2_NEXTION__SendString("\"", 2);
                                                 ^          
In file included from C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\internals.c:568,
                 from ../main/esp-project.c:48:
C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\ESP\ESP_CAL_String.c:531:85: note: expected 'MX_STRING' {aka 'char *'} but argument is of type 'volatile MX_CHAR *' {aka 'volatile char *'}
 static MX_STRING FCI_FLOAT_TO_STRING(MX_FLOAT Number, MX_UINT8 Precision, MX_STRING String, MX_UINT16 MSZ_String)
                                                                           ~~~~~~~~~~^~~~~~
../main/esp-project.c:9065:38: warning: passing argument 3 of 'FCI_FLOAT_TO_STRING' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers]
  } else {
                                      ^          
In file included from C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\internals.c:568,
                 from ../main/esp-project.c:48:
C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\ESP\ESP_CAL_String.c:531:85: note: expected 'MX_STRING' {aka 'char *'} but argument is of type 'volatile MX_CHAR *' {aka 'volatile char *'}
 static MX_STRING FCI_FLOAT_TO_STRING(MX_FLOAT Number, MX_UINT8 Precision, MX_STRING String, MX_UINT16 MSZ_String)
                                                                           ~~~~~~~~~~^~~~~~
../main/esp-project.c:9071:33: warning: passing argument 1 of 'FCD_047b2_NEXTION__SendString' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers]
 
                                 ^          
../main/esp-project.c:2871:45: note: expected 'MX_CHAR *' {aka 'char *'} but argument is of type 'volatile MX_CHAR *' {aka 'volatile char *'}
 {
                                             ^       
../main/esp-project.c: In function 'FCM_CALCOLO_PORTATA':
../main/esp-project.c:9214:46: warning: passing argument 3 of 'FCI_FLOAT_TO_STRING' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers]
  // Name: Call Component Macro, Type: Component Macro: PC::SendString(STRINGA)
                                              ^~~~~~~~~~~
In file included from C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\internals.c:568,
                 from ../main/esp-project.c:48:
C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\ESP\ESP_CAL_String.c:531:85: note: expected 'MX_STRING' {aka 'char *'} but argument is of type 'volatile MX_CHAR *' {aka 'volatile char *'}
 static MX_STRING FCI_FLOAT_TO_STRING(MX_FLOAT Number, MX_UINT8 Precision, MX_STRING String, MX_UINT16 MSZ_String)
                                                                           ~~~~~~~~~~^~~~~~
../main/esp-project.c:9217:27: warning: passing argument 1 of 'FCD_047b1_PC__SendString' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers]
 #endif // Disabled code
                           ^          
../main/esp-project.c:5115:40: note: expected 'MX_CHAR *' {aka 'char *'} but argument is of type 'volatile MX_CHAR *' {aka 'volatile char *'}
  {
                                        ^       
../main/esp-project.c:9227:47: warning: passing argument 3 of 'FCI_FLOAT_TO_STRING' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers]
 
                                               ^          
In file included from C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\internals.c:568,
                 from ../main/esp-project.c:48:
C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\ESP\ESP_CAL_String.c:531:85: note: expected 'MX_STRING' {aka 'char *'} but argument is of type 'volatile MX_CHAR *' {aka 'volatile char *'}
 static MX_STRING FCI_FLOAT_TO_STRING(MX_FLOAT Number, MX_UINT8 Precision, MX_STRING String, MX_UINT16 MSZ_String)
                                                                           ~~~~~~~~~~^~~~~~
../main/esp-project.c:9230:27: warning: passing argument 1 of 'FCD_047b1_PC__SendString' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers]
  // //V_VM = (L_VM / 1.414213) * (D_TOF_VM / (TOF_DW_VM * TOF_UP_VM)) * 1000
                           ^~~~~~~~~~~
../main/esp-project.c:5115:40: note: expected 'MX_CHAR *' {aka 'char *'} but argument is of type 'volatile MX_CHAR *' {aka 'volatile char *'}
  {
                                        ^       
../main/esp-project.c:9287:51: warning: passing argument 3 of 'FCI_FLOAT_TO_STRING' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers]
  // Name: Call Component Macro, Type: Component Macro: NEXTION::SendString(STRINGA)
                                                   ^~~~~~~~~~~
In file included from C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\internals.c:568,
                 from ../main/esp-project.c:48:
C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\ESP\ESP_CAL_String.c:531:85: note: expected 'MX_STRING' {aka 'char *'} but argument is of type 'volatile MX_CHAR *' {aka 'volatile char *'}
 static MX_STRING FCI_FLOAT_TO_STRING(MX_FLOAT Number, MX_UINT8 Precision, MX_STRING String, MX_UINT16 MSZ_String)
                                                                           ~~~~~~~~~~^~~~~~
../main/esp-project.c:9290:27: warning: passing argument 1 of 'FCD_047b1_PC__SendString' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers]
  // Name: Call Component Macro, Type: Component Macro: NEXTION::SendString("\"")
                           ^~~~~~~~~~~
../main/esp-project.c:5115:40: note: expected 'MX_CHAR *' {aka 'char *'} but argument is of type 'volatile MX_CHAR *' {aka 'volatile char *'}
  {
                                        ^       
../main/esp-project.c:9304:47: warning: passing argument 3 of 'FCI_FLOAT_TO_STRING' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers]
  //Comment:
                                               ^          
In file included from C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\internals.c:568,
                 from ../main/esp-project.c:48:
C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\ESP\ESP_CAL_String.c:531:85: note: expected 'MX_STRING' {aka 'char *'} but argument is of type 'volatile MX_CHAR *' {aka 'volatile char *'}
 static MX_STRING FCI_FLOAT_TO_STRING(MX_FLOAT Number, MX_UINT8 Precision, MX_STRING String, MX_UINT16 MSZ_String)
                                                                           ~~~~~~~~~~^~~~~~
../main/esp-project.c:9307:27: warning: passing argument 1 of 'FCD_047b1_PC__SendString' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers]
 
                           ^          
../main/esp-project.c:5115:40: note: expected 'MX_CHAR *' {aka 'char *'} but argument is of type 'volatile MX_CHAR *' {aka 'volatile char *'}
  {
                                        ^       
../main/esp-project.c:9317:35: warning: passing argument 3 of 'FCI_FLOAT_TO_STRING' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers]
  FCI_FLOAT_TO_STRING(FCV_Q_VM, 4, FCV_STRINGA, FCVsz_STRINGA);
                                   ^~~~~~~~~~~
In file included from C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\internals.c:568,
                 from ../main/esp-project.c:48:
C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\ESP\ESP_CAL_String.c:531:85: note: expected 'MX_STRING' {aka 'char *'} but argument is of type 'volatile MX_CHAR *' {aka 'volatile char *'}
 static MX_STRING FCI_FLOAT_TO_STRING(MX_FLOAT Number, MX_UINT8 Precision, MX_STRING String, MX_UINT16 MSZ_String)
                                                                           ~~~~~~~~~~^~~~~~
../main/esp-project.c:9323:32: warning: passing argument 1 of 'FCD_047b2_NEXTION__SendString' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers]
  FCD_047b2_NEXTION__SendString(FCV_STRINGA, FCVsz_STRINGA);
                                ^~~~~~~~~~~
../main/esp-project.c:2871:45: note: expected 'MX_CHAR *' {aka 'char *'} but argument is of type 'volatile MX_CHAR *' {aka 'volatile char *'}
 {
                                             ^       
../main/esp-project.c:9352:35: warning: passing argument 3 of 'FCI_FLOAT_TO_STRING' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers]
    Use :richiama la pagina di service
                                   ^~~        
In file included from C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\internals.c:568,
                 from ../main/esp-project.c:48:
C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\ESP\ESP_CAL_String.c:531:85: note: expected 'MX_STRING' {aka 'char *'} but argument is of type 'volatile MX_CHAR *' {aka 'volatile char *'}
 static MX_STRING FCI_FLOAT_TO_STRING(MX_FLOAT Number, MX_UINT8 Precision, MX_STRING String, MX_UINT16 MSZ_String)
                                                                           ~~~~~~~~~~^~~~~~
../main/esp-project.c:9358:32: warning: passing argument 1 of 'FCD_047b2_NEXTION__SendString' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers]
  FCD_047b2_NEXTION__SendString("page service\0xFF\0xFF\0xFF", 13);
                                ^~~~~~~~~~~
../main/esp-project.c:2871:45: note: expected 'MX_CHAR *' {aka 'char *'} but argument is of type 'volatile MX_CHAR *' {aka 'volatile char *'}
 {
                                             ^       
../main/esp-project.c: In function 'FCM_configura_P3':
../main/esp-project.c:10299:36: warning: passing argument 3 of 'FCI_FLOAT_TO_STRING' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers]
 
                                    ^          
In file included from C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\internals.c:568,
                 from ../main/esp-project.c:48:
C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\ESP\ESP_CAL_String.c:531:85: note: expected 'MX_STRING' {aka 'char *'} but argument is of type 'volatile MX_CHAR *' {aka 'volatile char *'}
 static MX_STRING FCI_FLOAT_TO_STRING(MX_FLOAT Number, MX_UINT8 Precision, MX_STRING String, MX_UINT16 MSZ_String)
                                                                           ~~~~~~~~~~^~~~~~
../main/esp-project.c:10330:33: warning: passing argument 1 of 'FCD_047b2_NEXTION__SendString' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers]
  // Name: Punto di connessione, Type: Declare Connection Point: [B]: B
                                 ^~~~~~~~~~~
../main/esp-project.c:2871:45: note: expected 'MX_CHAR *' {aka 'char *'} but argument is of type 'volatile MX_CHAR *' {aka 'volatile char *'}
 {
                                             ^       
../main/esp-project.c:10340:36: warning: passing argument 3 of 'FCI_FLOAT_TO_STRING' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers]
 {
                                    ^          
In file included from C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\internals.c:568,
                 from ../main/esp-project.c:48:
C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\ESP\ESP_CAL_String.c:531:85: note: expected 'MX_STRING' {aka 'char *'} but argument is of type 'volatile MX_CHAR *' {aka 'volatile char *'}
 static MX_STRING FCI_FLOAT_TO_STRING(MX_FLOAT Number, MX_UINT8 Precision, MX_STRING String, MX_UINT16 MSZ_String)
                                                                           ~~~~~~~~~~^~~~~~
../main/esp-project.c:10346:33: warning: passing argument 1 of 'FCD_047b2_NEXTION__SendString' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers]
  // Name: Punto di connessione, Type: Declare Connection Point: [A]: A
                                 ^~~~~~~~~~~
../main/esp-project.c:2871:45: note: expected 'MX_CHAR *' {aka 'char *'} but argument is of type 'volatile MX_CHAR *' {aka 'volatile char *'}
 {
                                             ^       
../main/esp-project.c: In function 'FCM_configura_P2':
../main/esp-project.c:10400:43: warning: passing argument 3 of 'FCI_FLOAT_TO_STRING' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers]
 
                                           ^          
In file included from C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\internals.c:568,
                 from ../main/esp-project.c:48:
C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\ESP\ESP_CAL_String.c:531:85: note: expected 'MX_STRING' {aka 'char *'} but argument is of type 'volatile MX_CHAR *' {aka 'volatile char *'}
 static MX_STRING FCI_FLOAT_TO_STRING(MX_FLOAT Number, MX_UINT8 Precision, MX_STRING String, MX_UINT16 MSZ_String)
                                                                           ~~~~~~~~~~^~~~~~
../main/esp-project.c:10406:33: warning: passing argument 1 of 'FCD_047b2_NEXTION__SendString' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers]
     FCD_047b2_NEXTION__SendString("configura_P2.t0.txt=\"Inserzione\"\0xFF\0xFF\0xFF", 33);
                                 ^~~~~~~~~~~
../main/esp-project.c:2871:45: note: expected 'MX_CHAR *' {aka 'char *'} but argument is of type 'volatile MX_CHAR *' {aka 'volatile char *'}
 {
                                             ^       
../main/esp-project.c: In function 'FCM_configura_P1':
../main/esp-project.c:10663:36: warning: passing argument 3 of 'FCI_FLOAT_TO_STRING' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers]
   // Name: Calculation, Type: Calculation:
                                    ^~~~~~~    
In file included from C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\internals.c:568,
                 from ../main/esp-project.c:48:
C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\ESP\ESP_CAL_String.c:531:85: note: expected 'MX_STRING' {aka 'char *'} but argument is of type 'volatile MX_CHAR *' {aka 'volatile char *'}
 static MX_STRING FCI_FLOAT_TO_STRING(MX_FLOAT Number, MX_UINT8 Precision, MX_STRING String, MX_UINT16 MSZ_String)
                                                                           ~~~~~~~~~~^~~~~~
../main/esp-project.c:10669:33: warning: passing argument 1 of 'FCD_047b2_NEXTION__SendString' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers]
 
                                 ^          
../main/esp-project.c:2871:45: note: expected 'MX_CHAR *' {aka 'char *'} but argument is of type 'volatile MX_CHAR *' {aka 'volatile char *'}
 {
                                             ^       
../main/esp-project.c:10700:39: warning: passing argument 3 of 'FCI_FLOAT_TO_STRING' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers]
   {
                                       ^          
In file included from C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\internals.c:568,
                 from ../main/esp-project.c:48:
C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\ESP\ESP_CAL_String.c:531:85: note: expected 'MX_STRING' {aka 'char *'} but argument is of type 'volatile MX_CHAR *' {aka 'volatile char *'}
 static MX_STRING FCI_FLOAT_TO_STRING(MX_FLOAT Number, MX_UINT8 Precision, MX_STRING String, MX_UINT16 MSZ_String)
                                                                           ~~~~~~~~~~^~~~~~
../main/esp-project.c:10706:33: warning: passing argument 1 of 'FCD_047b2_NEXTION__SendString' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers]
     break;
                                 ^          
../main/esp-project.c:2871:45: note: expected 'MX_CHAR *' {aka 'char *'} but argument is of type 'volatile MX_CHAR *' {aka 'volatile char *'}
 {
                                             ^       
../main/esp-project.c:10716:38: warning: passing argument 3 of 'FCI_FLOAT_TO_STRING' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers]
    {
                                      ^          
In file included from C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\internals.c:568,
                 from ../main/esp-project.c:48:
C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\ESP\ESP_CAL_String.c:531:85: note: expected 'MX_STRING' {aka 'char *'} but argument is of type 'volatile MX_CHAR *' {aka 'volatile char *'}
 static MX_STRING FCI_FLOAT_TO_STRING(MX_FLOAT Number, MX_UINT8 Precision, MX_STRING String, MX_UINT16 MSZ_String)
                                                                           ~~~~~~~~~~^~~~~~
../main/esp-project.c:10722:33: warning: passing argument 1 of 'FCD_047b2_NEXTION__SendString' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers]
    case 4:
                                 ^          
../main/esp-project.c:2871:45: note: expected 'MX_CHAR *' {aka 'char *'} but argument is of type 'volatile MX_CHAR *' {aka 'volatile char *'}
 {
                                             ^       
../main/esp-project.c: In function 'app_main':
../main/esp-project.c:11301:2: error: 'uart1_interrupt_enabled' undeclared (first use in this function); did you mean '_xtos_interrupt_enable'?
 #if 0 // Disabled code
  ^~~~~~~~~~~~~~~~~~~~~  
  _xtos_interrupt_enable
../main/esp-project.c:11301:2: note: each undeclared identifier is reported only once for each function it appears in
In file included from C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\internals.c:568,
                 from ../main/esp-project.c:48:
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: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: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:48:
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: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.
ninja failed with exit code 1
Executing action: all (aliases: build)
Running ninja in directory c:\users\max\dropbox\fc9\fc9_esp32_as6040\build
Executing "ninja all"...

Build Failed
.

C:\ProgramData\MatrixTSL\FlowcodeV9\FCD\ESP\Batch\esp32_build.bat reported error code 0x1

Autoclose turned off


FINISHED

Steve-Matrix
Matrix Staff
Posts: 1276
Joined: Sat Dec 05, 2020 10:32 am
Has thanked: 169 times
Been thanked: 285 times

Re: ESP32 ERROR COMPILER

Post by Steve-Matrix »

The actual error is probably these lines in the output:

Code: Select all

                                             ^       
../main/esp-project.c: In function 'app_main':
../main/esp-project.c:11301:2: error: 'uart1_interrupt_enabled' undeclared (first use in this function); did you mean '_xtos_interrupt_enable'?
 #if 0 // Disabled code
  ^~~~~~~~~~~~~~~~~~~~~  
  _xtos_interrupt_enable
Without seeing your program or the C code generated, it is difficult to know what the error is. But it appears to be related to an interrupt icon somewhere in your code that seems to be disabled.

max.tisc
Posts: 55
Joined: Thu Dec 10, 2020 5:40 pm
Been thanked: 5 times

Re: ESP32 ERROR COMPILER

Post by max.tisc »

Hi Steve
thanks for the answer, following the compiler message I also found other errors, now it works, importing the macros from the FC8 project does not import all the parameters set in the old project
Thank you so much

Post Reply