ESP32S WLAN+BLE compiler error

Any bugs you encounter with Flowcode should be discussed here.
Post Reply
celebriums
Posts: 10
http://meble-kuchenne.info.pl
Joined: Fri Dec 18, 2020 7:33 am
Has thanked: 7 times

ESP32S WLAN+BLE compiler error

Post by celebriums »

Hello everyone and warm greetings from Istanbul :)

I hope you are all very well.

I started working with the ESP32S module this morning.

WLAN works, but when I add the bluetooth initialize macro to the code, the compiler gives an error.

Thanks for answers

Code: Select all

Target folder: D:\Freelanche\Projects\ESP32 Wroom Test
Source name:   D:\Freelanche\Projects\ESP32 Wroom Test\ESP32_Config_Wifi Sad.fcfx
Title:         
Description:   
Device:        ESP.ESP32.ESP32S
Generated by:  Flowcode v9.2.0.33
Date:          Wednesday, May 11, 2022 10:44:47
Users:         1
Registered to: celebriums (22011558)
Licence key: Z4N7AF
https://www.flowcode.co.uk
Using FCD settings for compiler
Launching the compiler...
C:\ProgramData\MatrixTSL\FlowcodeV9\FCD\ESP\Batch\esp32_build.bat  "C:\esp-idf\" "ESP32_Config_Wifi Sad" "D:\Freelanche\Projects\ESP32 Wroom Test\" esp32s_sdkconfig 

D:\Freelanche\Projects\ESP32 Wroom Test>REM CRC: 0796FC1E6A776AF9156B257209C35258CE7C28B3EC20AEA2C632DB392A0E4BFD5B3F53B21811978F7B21FE4085045A7E774D1D3D69D8A99EE7320EAE740A5DB6FE0D8D4660AC0314F98C28BCA92AF856EFD1DB5B777140BC4D00059D795899827D9F76D89626FBC8B199900461C78937B42DEF8219F63A24580137A2F6C8FDB7553324EFF791947E8AB6FFD612B81BAA97C798A8F1CFC189DE5D38517747C774AF2DD6F839BAECF83F7F994C7164CE77868F480396BDEF2F2C3050DA273BE4EE6FE0BB589D1229A5E37B217FF86DBD72A01B8FBC49BE02BFA3608A0B0CE69F969622A912E6E6A2FB 

D:\Freelanche\Projects\ESP32 Wroom Test>REM REVISION: 4.0 

D:\Freelanche\Projects\ESP32 Wroom Test>REM GUID: 955EA920-4961-4C53-BA6B-EF4AF66BB4C2 

D:\Freelanche\Projects\ESP32 Wroom Test>REM DATE: 29\03\2021 

D:\Freelanche\Projects\ESP32 Wroom Test>REM DIR: FCD\ESP\Batch\esp32_build.bat 
Building ESP32_Config_Wifi Sad ...
Setting IDF_PATH: C:\esp-idf

Adding ESP-IDF tools to PATH...
    C:\esp-idf-tools\tools\xtensa-esp32-elf\esp-2021r1-8.4.0\xtensa-esp32-elf\bin
    C:\esp-idf-tools\tools\xtensa-esp32s2-elf\esp-2021r1-8.4.0\xtensa-esp32s2-elf\bin
    C:\esp-idf-tools\tools\xtensa-esp32s3-elf\esp-2021r1-8.4.0\xtensa-esp32s3-elf\bin
    C:\esp-idf-tools\tools\riscv32-esp-elf\esp-2021r1-8.4.0\riscv32-esp-elf\bin
    C:\esp-idf-tools\tools\esp32ulp-elf\2.28.51-esp-20191205\esp32ulp-elf-binutils\bin
    C:\esp-idf-tools\tools\esp32s2ulp-elf\2.28.51-esp-20191205\esp32s2ulp-elf-binutils\bin
    C:\esp-idf-tools\tools\cmake\3.16.4\bin
    C:\esp-idf-tools\tools\openocd-esp32\v0.10.0-esp32-20210401\openocd-esp32\bin
    C:\esp-idf-tools\tools\ninja\1.10.2\
    C:\esp-idf-tools\tools\idf-exe\1.0.1\
    C:\esp-idf-tools\tools\ccache\3.7\
    C:\esp-idf-tools\tools\dfu-util\0.9\dfu-util-0.9-win64
    C:\esp-idf-tools\python_env\idf4.3_py3.7_env\Scripts
    C:\esp-idf\tools
    
Checking if Python packages are up to date...
Python requirements from C:\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/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:\esp-idf-tools\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:/esp-idf/components/newlib/platform_include -IC:/esp-idf/components/freertos/include -IC:/esp-idf/components/freertos/port/xtensa/include -IC:/esp-idf/components/esp_hw_support/include -IC:/esp-idf/components/esp_hw_support/port/esp32/. -IC:/esp-idf/components/heap/include -IC:/esp-idf/components/log/include -IC:/esp-idf/components/lwip/include/apps -IC:/esp-idf/components/lwip/include/apps/sntp -IC:/esp-idf/components/lwip/lwip/src/include -IC:/esp-idf/components/lwip/port/esp32/include -IC:/esp-idf/components/lwip/port/esp32/include/arch -IC:/esp-idf/components/soc/include -IC:/esp-idf/components/soc/esp32/. -IC:/esp-idf/components/soc/esp32/include -IC:/esp-idf/components/hal/esp32/include -IC:/esp-idf/components/hal/include -IC:/esp-idf/components/esp_rom/include -IC:/esp-idf/components/esp_rom/esp32 -IC:/esp-idf/components/esp_rom/include/esp32 -IC:/esp-idf/components/esp_common/include -IC:/esp-idf/components/esp_system/include -IC:/esp-idf/components/esp32/include -IC:/esp-idf/components/driver/include -IC:/esp-idf/components/driver/esp32/include -IC:/esp-idf/components/esp_ringbuf/include -IC:/esp-idf/components/efuse/include -IC:/esp-idf/components/efuse/esp32/include -IC:/esp-idf/components/xtensa/include -IC:/esp-idf/components/xtensa/esp32/include -IC:/esp-idf/components/espcoredump/include -IC:/esp-idf/components/esp_timer/include -IC:/esp-idf/components/esp_ipc/include -IC:/esp-idf/components/esp_pm/include -IC:/esp-idf/components/vfs/include -IC:/esp-idf/components/esp_wifi/include -IC:/esp-idf/components/esp_wifi/esp32/include -IC:/esp-idf/components/esp_event/include -IC:/esp-idf/components/esp_netif/include -IC:/esp-idf/components/esp_eth/include -IC:/esp-idf/components/tcpip_adapter/include -IC:/esp-idf/components/app_trace/include -IC:/esp-idf/components/mbedtls/port/include -IC:/esp-idf/components/mbedtls/mbedtls/include -IC:/esp-idf/components/mbedtls/esp_crt_bundle/include -IC:/esp-idf/components/app_update/include -IC:/esp-idf/components/spi_flash/include -IC:/esp-idf/components/bootloader_support/include -IC:/esp-idf/components/nvs_flash/include -IC:/esp-idf/components/pthread/include -IC:/esp-idf/components/esp_gdbstub/include -IC:/esp-idf/components/esp_gdbstub/xtensa -IC:/esp-idf/components/esp_gdbstub/esp32 -IC:/esp-idf/components/wpa_supplicant/include -IC:/esp-idf/components/wpa_supplicant/port/include -IC:/esp-idf/components/wpa_supplicant/include/esp_supplicant -IC:/esp-idf/components/perfmon/include -IC:/esp-idf/components/asio/asio/asio/include -IC:/esp-idf/components/asio/port/include -IC:/esp-idf/components/bt/common/osi/include -IC:/esp-idf/components/bt/include/esp32/include -IC:/esp-idf/components/bt/common/api/include/api -IC:/esp-idf/components/bt/common/btc/profile/esp/blufi/include -IC:/esp-idf/components/bt/common/btc/profile/esp/include -IC:/esp-idf/components/bt/host/bluedroid/api/include/api -IC:/esp-idf/components/cbor/port/include -IC:/esp-idf/components/unity/include -IC:/esp-idf/components/unity/unity/src -IC:/esp-idf/components/cmock/CMock/src -IC:/esp-idf/components/coap/port/include -IC:/esp-idf/components/coap/port/include/coap -IC:/esp-idf/components/coap/libcoap/include -IC:/esp-idf/components/coap/libcoap/include/coap2 -IC:/esp-idf/components/console -IC:/esp-idf/components/nghttp/port/include -IC:/esp-idf/components/nghttp/nghttp2/lib/includes -IC:/esp-idf/components/esp-tls -IC:/esp-idf/components/esp-tls/esp-tls-crypto -IC:/esp-idf/components/esp_adc_cal/include -IC:/esp-idf/components/esp_hid/include -IC:/esp-idf/components/tcp_transport/include -IC:/esp-idf/components/esp_http_client/include -IC:/esp-idf/components/esp_http_server/include -IC:/esp-idf/components/esp_https_ota/include -IC:/esp-idf/components/protobuf-c/protobuf-c -IC:/esp-idf/components/protocomm/include/common -IC:/esp-idf/components/protocomm/include/security -IC:/esp-idf/components/protocomm/include/transports -IC:/esp-idf/components/mdns/include -IC:/esp-idf/components/esp_local_ctrl/include -IC:/esp-idf/components/sdmmc/include -IC:/esp-idf/components/esp_serial_slave_link/include -IC:/esp-idf/components/esp_websocket_client/include -IC:/esp-idf/components/expat/expat/expat/lib -IC:/esp-idf/components/expat/port/include -IC:/esp-idf/components/wear_levelling/include -IC:/esp-idf/components/fatfs/diskio -IC:/esp-idf/components/fatfs/vfs -IC:/esp-idf/components/fatfs/src -IC:/esp-idf/components/freemodbus/common/include -IC:/esp-idf/components/idf_test/include -IC:/esp-idf/components/idf_test/include/esp32 -IC:/esp-idf/components/jsmn/include -IC:/esp-idf/components/json/cJSON -IC:/esp-idf/components/libsodium/libsodium/src/libsodium/include -IC:/esp-idf/components/libsodium/port_include -IC:/esp-idf/components/mqtt/esp-mqtt/include -IC:/esp-idf/components/openssl/include -IC:/esp-idf/components/spiffs/include -IC:/esp-idf/components/ulp/include -IC:/esp-idf/components/wif
i_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:/esp-idf/components/esp_event/include/esp_event_loop.h:2:2: warning: #warning "esp_event_loop.h is deprecated, please include esp_event.h instead" [-Wcpp]
 #warning "esp_event_loop.h is deprecated, please include esp_event.h instead"
  ^~~~~~~
In file included from C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\ESP\ESP_CAL_String.c:110,
                 from C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\internals.c:568,
                 from ../main/esp-project.c: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\ESP\ESP_CAL_WIFI.c:48,
                 from C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\includes.c:53,
                 from ../main/esp-project.c:528:
C:/esp-idf/components/tcpip_adapter/include/tcpip_adapter.h:15:2: warning: #warning "This header is deprecated, please use new network related API in esp_netif.h" [-Wcpp]
 #warning "This header is deprecated, please use new network related API in esp_netif.h"
  ^~~~~~~
In file included from C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\includes.c:53,
                 from ../main/esp-project.c:528:
C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\ESP\ESP_CAL_WIFI.c: In function 'wifi_initialise':
C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\ESP\ESP_CAL_WIFI.c:243:2: warning: 'tcpip_adapter_init' is deprecated [-Wdeprecated-declarations]
  tcpip_adapter_init();
  ^~~~~~~~~~~~~~~~~~
In file included from C:/esp-idf/components/esp_netif/include/esp_netif.h:35,
                 from C:/esp-idf/components/esp_event/include/esp_event_legacy.h:22,
                 from C:/esp-idf/components/esp_event/include/esp_event.h:26,
                 from C:/esp-idf/components/esp_wifi/include/esp_wifi.h:64,
                 from ../main/esp-project.c:36:
C:/esp-idf/components/tcpip_adapter/include/tcpip_adapter.h:34:6: note: declared here
 void tcpip_adapter_init(void)  __attribute__ ((deprecated));
      ^~~~~~~~~~~~~~~~~~
In file included from C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\includes.c:407,
                 from ../main/esp-project.c:528:
C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\ESP\ESP_CAL_EEPROM.c: In function 'FC_CAL_EE_Read':
C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\ESP\ESP_CAL_EEPROM.c:83:24: warning: passing argument 2 of 'FCI_TOSTRU16' from incompatible pointer type [-Wincompatible-pointer-types]
  FCI_TOSTRU16(Address, EEaddrStr, 8);
                        ^~~~~~~~~
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:297:50: note: expected 'MX_STRING' {aka 'char *'} but argument is of type 'char **'
 MX_UINT8 FCI_TOSTRU16(MX_UINT16 iSrc1, MX_STRING sDst, MX_UINT16 iDst_len)
                                        ~~~~~~~~~~^~~~
In file included from C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\includes.c:407,
                 from ../main/esp-project.c:528:
C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\ESP\ESP_CAL_EEPROM.c:85:34: warning: passing argument 2 of 'nvs_get_u16' from incompatible pointer type [-Wincompatible-pointer-types]
     err = nvs_get_u16(my_handle, EEaddrStr, &EEdata);
                                  ^~~~~~~~~
In file included from C:/esp-idf/components/nvs_flash/include/nvs_flash.h:21,
                 from ../main/esp-project.c:39:
C:/esp-idf/components/nvs_flash/include/nvs.h:362:57: note: expected 'const char *' but argument is of type 'char **'
 esp_err_t nvs_get_u16 (nvs_handle_t handle, const char* key, uint16_t* out_value);
                                             ~~~~~~~~~~~~^~~
In file included from C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\includes.c:407,
                 from ../main/esp-project.c:528:
C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\ESP\ESP_CAL_EEPROM.c: In function 'FC_CAL_EE_Write':
C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\ESP\ESP_CAL_EEPROM.c:95:24: warning: passing argument 2 of 'FCI_TOSTRU16' from incompatible pointer type [-Wincompatible-pointer-types]
  FCI_TOSTRU16(Address, EEaddrStr, 8);
                        ^~~~~~~~~
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:297:50: note: expected 'MX_STRING' {aka 'char *'} but argument is of type 'char **'
 MX_UINT8 FCI_TOSTRU16(MX_UINT16 iSrc1, MX_STRING sDst, MX_UINT16 iDst_len)
                                        ~~~~~~~~~~^~~~
In file included from C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\includes.c:407,
                 from ../main/esp-project.c:528:
C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\ESP\ESP_CAL_EEPROM.c:97:34: warning: passing argument 2 of 'nvs_set_u16' from incompatible pointer type [-Wincompatible-pointer-types]
     err = nvs_set_u16(my_handle, EEaddrStr, Data);
                                  ^~~~~~~~~
In file included from C:/esp-idf/components/nvs_flash/include/nvs_flash.h:21,
                 from ../main/esp-project.c:39:
C:/esp-idf/components/nvs_flash/include/nvs.h:217:57: note: expected 'const char *' but argument is of type 'char **'
 esp_err_t nvs_set_u16 (nvs_handle_t handle, const char* key, uint16_t value);
                                             ~~~~~~~~~~~~^~~
../main/esp-project.c: In function 'FCD_0c321_Bluetooth_SPP_ESP32__SendString':
../main/esp-project.c:783:2: error: this 'while' clause does not guard... [-Werror=misleading-indentation]
 /*=----------------------------------------------------------------------=*\
  ^~~~~
../main/esp-project.c:785:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while'
        :Returns 1 if connected.
  ^     ~~~~~~~~~~~~~~~~~~
../main/esp-project.c:778:12: warning: unused variable 'FCL_LEN' [-Wunused-variable]
 
            ^      
../main/esp-project.c: In function 'FCD_06651_eeprom1__ReadInt':
../main/esp-project.c:1258:11: warning: unused variable 'FCL_IDX' [-Wunused-variable]
 
           ^      
../main/esp-project.c:1257:12: warning: unused variable 'FCL_VAL' [-Wunused-variable]
  return (FCR_RETVAL);
            ^~~~~~~
../main/esp-project.c: In function 'FCD_06651_eeprom1__WriteByte':
../main/esp-project.c:1339:11: warning: unused variable 'FCL_IDX' [-Wunused-variable]
    FCL_VAL = FCL_VAL | (FCL_VALUE << 8);
           ^~~~~~~
../main/esp-project.c: In function 'FCD_06651_eeprom1__WriteInt':
../main/esp-project.c:1386:11: warning: unused variable 'FCL_IDX' [-Wunused-variable]
        :16-bit EE memory stores two characters into each memory location.
           ^~~~~~~
../main/esp-project.c:1385:12: warning: unused variable 'FCL_VAL' [-Wunused-variable]
        :8-bit EE memory stores a character into each memory location.
            ^~~~~~~
../main/esp-project.c: In function 'FCD_03f61_NetworkComms1__Receive':
../main/esp-project.c:1865:12: warning: unused variable 'FCL_PRESETTIMEOUT' [-Wunused-variable]
  return (FCR_RETVAL);
            ^~~~~~~~~~       
../main/esp-project.c:1864:12: warning: unused variable 'FCL_IDX' [-Wunused-variable]
 
            ^      
../main/esp-project.c:1863:11: warning: unused variable 'FCL_DATAAVAILABLE' [-Wunused-variable]
  FCR_RETVAL = 0;
           ^~~~~~           
../main/esp-project.c: In function 'FCD_03f61_NetworkComms1__Send':
../main/esp-project.c:1890:12: warning: unused variable 'FCL_IDX' [-Wunused-variable]
 
            ^      
../main/esp-project.c: In function 'FCD_02371_FAT1__ReadByteFromFile':
../main/esp-project.c:2063:12: warning: unused variable 'FCL_SECTOR_SIZE' [-Wunused-variable]
        :  Filename[13] : MX_CHAR (by-ref)
            ^~~~~~~~~~~~~~~
../main/esp-project.c:2062:11: warning: unused variable 'FCL_DATA_BYTE' [-Wunused-variable]
    Use :Parameters for macro DeleteFile:
           ^~~~~~~~~~~~~
../main/esp-project.c:2061:12: warning: unused variable 'FCL_IDX' [-Wunused-variable]
 /*=----------------------------------------------------------------------=*\
            ^~~~~~~
../main/esp-project.c: In function 'FCD_02371_FAT1__ReadFileLength':
../main/esp-project.c:2163:12: warning: unused variable 'FCL_TEMP' [-Wunused-variable]
  // .Return = 0
            ^~~~    
../main/esp-project.c: In function 'FCD_02371_FAT1__OpenFile':
../main/esp-project.c:2194:12: warning: unused variable 'FCL_TEMP' [-Wunused-variable]
 MX_UINT8 FCD_02371_FAT1__AppendStringToFile(MX_CHAR *FCL_DATA_STRING, MX_UINT16 FCLsz_DATA_STRING)
            ^~~~~~~~
../main/esp-project.c:2193:11: warning: unused variable 'FCL_J' [-Wunused-variable]
 \*=----------------------------------------------------------------------=*/
           ^~~~~
../main/esp-project.c:2192:12: warning: unused variable 'FCL_FAT_ADDRESS' [-Wunused-variable]
        :Returns : MX_UINT8
            ^~~~~~~~~~~~~~~
../main/esp-project.c:2191:12: warning: unused variable 'FCL_FAT_POINTER' [-Wunused-variable]
        :
            ^              
../main/esp-project.c:2190:12: warning: unused variable 'FCL_IDX' [-Wunused-variable]
        :  Data_String[20] : MX_CHAR (by-ref)
            ^~~~~~~
../main/esp-project.c:2189:12: warning: unused variable 'FCL_IDX_FAT' [-Wunused-variable]
    Use :Parameters for macro AppendStringToFile:
            ^~~~~~~~~~~
../main/esp-project.c:2188:10: warning: unused variable 'FCL_NAME_COMP' [-Wunused-variable]
 /*=----------------------------------------------------------------------=*\
          ^~~~~~~~~~~~~
../main/esp-project.c:2186:11: warning: unused variable 'FCL_I' [-Wunused-variable]
 }
           ^    
../main/esp-project.c: In function 'FCD_01212_CircularBuffer1__PeekByte':
../main/esp-project.c:2652:12: warning: unused variable 'FCL_TEMP' [-Wunused-variable]
 
            ^       
../main/esp-project.c: In function 'FCD_01212_CircularBuffer1__PutByte':
../main/esp-project.c:2725:12: warning: unused variable 'FCL_TEMP2' [-Wunused-variable]
 
            ^        
../main/esp-project.c: In function 'FCD_0fa21_Config_Webserver__Prv_ResetInValues':
../main/esp-project.c:3716:19: warning: passing argument 3 of 'FCI_SCOPY' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers]
  #endif
                   ^                              
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:876:69: note: expected 'MX_STRING' {aka 'char *'} but argument is of type 'volatile MX_CHAR *' {aka 'volatile char *'}
 static void FCI_SCOPY(MX_STRING sSrc, MX_UINT16 iSrc_len, MX_STRING sDst, MX_UINT16 iDst_len)
                                                           ~~~~~~~~~~^~~~
../main/esp-project.c:3726:19: warning: passing argument 3 of 'FCI_SCOPY' 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:876:69: note: expected 'MX_STRING' {aka 'char *'} but argument is of type 'volatile MX_CHAR *' {aka 'volatile char *'}
 static void FCI_SCOPY(MX_STRING sSrc, MX_UINT16 iSrc_len, MX_STRING sDst, MX_UINT16 iDst_len)
                                                           ~~~~~~~~~~^~~~
../main/esp-project.c: In function 'FCD_0fa21_Config_Webserver__GetInValue':
../main/esp-project.c:4299:15: warning: passing argument 1 of 'FCI_SCOPY' 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:876:33: note: expected 'MX_STRING' {aka 'char *'} but argument is of type 'volatile MX_CHAR *' {aka 'volatile char *'}
 static void FCI_SCOPY(MX_STRING sSrc, MX_UINT16 iSrc_len, MX_STRING sDst, MX_UINT16 iDst_len)
                       ~~~~~~~~~~^~~~
../main/esp-project.c:4401:15: warning: passing argument 1 of 'FCI_SCOPY' 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:876:33: note: expected 'MX_STRING' {aka 'char *'} but argument is of type 'volatile MX_CHAR *' {aka 'volatile char *'}
 static void FCI_SCOPY(MX_STRING sSrc, MX_UINT16 iSrc_len, MX_STRING sDst, MX_UINT16 iDst_len)
                       ~~~~~~~~~~^~~~
../main/esp-project.c: In function 'FCD_0fa21_Config_Webserver__Prv_SendMIMEHeader':
../main/esp-project.c:4435:19: warning: passing argument 1 of 'FCI_COMPARE' 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:476:39: note: expected 'MX_STRING' {aka 'char *'} but argument is of type 'volatile MX_CHAR *' {aka 'volatile char *'}
 static MX_UINT8 FCI_COMPARE(MX_STRING sSrc1, MX_UINT16 iSrc1_len, MX_STRING sSrc2, MX_UINT16 iSrc2_len, MX_UINT8 iNoCase)
                             ~~~~~~~~~~^~~~~
../main/esp-project.c:4435:132: warning: passing argument 1 of 'FCI_COMPARE' 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:476:39: note: expected 'MX_STRING' {aka 'char *'} but argument is of type 'volatile MX_CHAR *' {aka 'volatile char *'}
 static MX_UINT8 FCI_COMPARE(MX_STRING sSrc1, MX_UINT16 iSrc1_len, MX_STRING sSrc2, MX_UINT16 iSrc2_len, MX_UINT8 iNoCase)
                             ~~~~~~~~~~^~~~~
../main/esp-project.c:4451:19: warning: passing argument 1 of 'FCI_COMPARE' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers]
    // FileMIMEType = 1
                   ^~~~                                
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:476:39: note: expected 'MX_STRING' {aka 'char *'} but argument is of type 'volatile MX_CHAR *' {aka 'volatile char *'}
 static MX_UINT8 FCI_COMPARE(MX_STRING sSrc1, MX_UINT16 iSrc1_len, MX_STRING sSrc2, MX_UINT16 iSrc2_len, MX_UINT8 iNoCase)
                             ~~~~~~~~~~^~~~~
../main/esp-project.c:4470:19: warning: passing argument 1 of 'FCI_COMPARE' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers]
    // FileMIMEType = 1
                   ^~~~                                
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:476:39: note: expected 'MX_STRING' {aka 'char *'} but argument is of type 'volatile MX_CHAR *' {aka 'volatile char *'}
 static MX_UINT8 FCI_COMPARE(MX_STRING sSrc1, MX_UINT16 iSrc1_len, MX_STRING sSrc2, MX_UINT16 iSrc2_len, MX_UINT8 iNoCase)
                             ~~~~~~~~~~^~~~~
../main/esp-project.c:4489:19: warning: passing argument 1 of 'FCI_COMPARE' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers]
    // FileMIMEType = 1
                   ^~~~                                
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:476:39: note: expected 'MX_STRING' {aka 'char *'} but argument is of type 'volatile MX_CHAR *' {aka 'volatile char *'}
 static MX_UINT8 FCI_COMPARE(MX_STRING sSrc1, MX_UINT16 iSrc1_len, MX_STRING sSrc2, MX_UINT16 iSrc2_len, MX_UINT8 iNoCase)
                             ~~~~~~~~~~^~~~~
../main/esp-project.c:4508:19: warning: passing argument 1 of 'FCI_COMPARE' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers]
    // FileMIMEType = 1
                   ^~~~                                
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:476:39: note: expected 'MX_STRING' {aka 'char *'} but argument is of type 'volatile MX_CHAR *' {aka 'volatile char *'}
 static MX_UINT8 FCI_COMPARE(MX_STRING sSrc1, MX_UINT16 iSrc1_len, MX_STRING sSrc2, MX_UINT16 iSrc2_len, MX_UINT8 iNoCase)
                             ~~~~~~~~~~^~~~~
../main/esp-project.c:4527:19: warning: passing argument 1 of 'FCI_COMPARE' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers]
    // FileMIMEType = 1
                   ^~~~                                
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:476:39: note: expected 'MX_STRING' {aka 'char *'} but argument is of type 'volatile MX_CHAR *' {aka 'volatile char *'}
 static MX_UINT8 FCI_COMPARE(MX_STRING sSrc1, MX_UINT16 iSrc1_len, MX_STRING sSrc2, MX_UINT16 iSrc2_len, MX_UINT8 iNoCase)
                             ~~~~~~~~~~^~~~~
../main/esp-project.c:4546:19: warning: passing argument 1 of 'FCI_COMPARE' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers]
    // FileMIMEType = 1
                   ^~~~                                
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:476:39: note: expected 'MX_STRING' {aka 'char *'} but argument is of type 'volatile MX_CHAR *' {aka 'volatile char *'}
 static MX_UINT8 FCI_COMPARE(MX_STRING sSrc1, MX_UINT16 iSrc1_len, MX_STRING sSrc2, MX_UINT16 iSrc2_len, MX_UINT8 iNoCase)
                             ~~~~~~~~~~^~~~~
../main/esp-project.c:4565:19: warning: passing argument 1 of 'FCI_COMPARE' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers]
    // FileMIMEType = 1
                   ^~~~                                
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:476:39: note: expected 'MX_STRING' {aka 'char *'} but argument is of type 'volatile MX_CHAR *' {aka 'volatile char *'}
 static MX_UINT8 FCI_COMPARE(MX_STRING sSrc1, MX_UINT16 iSrc1_len, MX_STRING sSrc2, MX_UINT16 iSrc2_len, MX_UINT8 iNoCase)
                             ~~~~~~~~~~^~~~~
../main/esp-project.c:4584:19: warning: passing argument 1 of 'FCI_COMPARE' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers]
    // FileMIMEType = 1
                   ^~~~                                
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:476:39: note: expected 'MX_STRING' {aka 'char *'} but argument is of type 'volatile MX_CHAR *' {aka 'volatile char *'}
 static MX_UINT8 FCI_COMPARE(MX_STRING sSrc1, MX_UINT16 iSrc1_len, MX_STRING sSrc2, MX_UINT16 iSrc2_len, MX_UINT8 iNoCase)
                             ~~~~~~~~~~^~~~~
../main/esp-project.c:4603:19: warning: passing argument 1 of 'FCI_COMPARE' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers]
    // FileMIMEType = 1
                   ^~~~                                
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:476:39: note: expected 'MX_STRING' {aka 'char *'} but argument is of type 'volatile MX_CHAR *' {aka 'volatile char *'}
 static MX_UINT8 FCI_COMPARE(MX_STRING sSrc1, MX_UINT16 iSrc1_len, MX_STRING sSrc2, MX_UINT16 iSrc2_len, MX_UINT8 iNoCase)
                             ~~~~~~~~~~^~~~~
../main/esp-project.c:4622:19: warning: passing argument 1 of 'FCI_COMPARE' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers]
    // FileMIMEType = 1
                   ^~~~                                
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:476:39: note: expected 'MX_STRING' {aka 'char *'} but argument is of type 'volatile MX_CHAR *' {aka 'volatile char *'}
 static MX_UINT8 FCI_COMPARE(MX_STRING sSrc1, MX_UINT16 iSrc1_len, MX_STRING sSrc2, MX_UINT16 iSrc2_len, MX_UINT8 iNoCase)
                             ~~~~~~~~~~^~~~~
../main/esp-project.c:4641:19: warning: passing argument 1 of 'FCI_COMPARE' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers]
    // FileMIMEType = 1
                   ^~~~                                
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:476:39: note: expected 'MX_STRING' {aka 'char *'} but argument is of type 'volatile MX_CHAR *' {aka 'volatile char *'}
 static MX_UINT8 FCI_COMPARE(MX_STRING sSrc1, MX_UINT16 iSrc1_len, MX_STRING sSrc2, MX_UINT16 iSrc2_len, MX_UINT8 iNoCase)
                             ~~~~~~~~~~^~~~~
../main/esp-project.c:4660:19: warning: passing argument 1 of 'FCI_COMPARE' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers]
    // FileMIMEType = 1
                   ^~~~                                
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:476:39: note: expected 'MX_STRING' {aka 'char *'} but argument is of type 'volatile MX_CHAR *' {aka 'volatile char *'}
 static MX_UINT8 FCI_COMPARE(MX_STRING sSrc1, MX_UINT16 iSrc1_len, MX_STRING sSrc2, MX_UINT16 iSrc2_len, MX_UINT8 iNoCase)
                             ~~~~~~~~~~^~~~~
../main/esp-project.c:4679:19: warning: passing argument 1 of 'FCI_COMPARE' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers]
    // FileMIMEType = 1
                   ^~~~                                
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:476:39: note: expected 'MX_STRING' {aka 'char *'} but argument is of type 'volatile MX_CHAR *' {aka 'volatile char *'}
 static MX_UINT8 FCI_COMPARE(MX_STRING sSrc1, MX_UINT16 iSrc1_len, MX_STRING sSrc2, MX_UINT16 iSrc2_len, MX_UINT8 iNoCase)
                             ~~~~~~~~~~^~~~~
../main/esp-project.c:4698:19: warning: passing argument 1 of 'FCI_COMPARE' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers]
    // FileMIMEType = 1
                   ^~~~                                
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:476:39: note: expected 'MX_STRING' {aka 'char *'} but argument is of type 'volatile MX_CHAR *' {aka 'volatile char *'}
 static MX_UINT8 FCI_COMPARE(MX_STRING sSrc1, MX_UINT16 iSrc1_len, MX_STRING sSrc2, MX_UINT16 iSrc2_len, MX_UINT8 iNoCase)
                             ~~~~~~~~~~^~~~~
../main/esp-project.c:4717:19: warning: passing argument 1 of 'FCI_COMPARE' 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:476:39: note: expected 'MX_STRING' {aka 'char *'} but argument is of type 'volatile MX_CHAR *' {aka 'volatile char *'}
 static MX_UINT8 FCI_COMPARE(MX_STRING sSrc1, MX_UINT16 iSrc1_len, MX_STRING sSrc2, MX_UINT16 iSrc2_len, MX_UINT8 iNoCase)
                             ~~~~~~~~~~^~~~~
../main/esp-project.c:4736:19: warning: passing argument 1 of 'FCI_COMPARE' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers]
  MX_UINT16 FCL_N = (0x0);
                   ^~~~~~~                             
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:476:39: note: expected 'MX_STRING' {aka 'char *'} but argument is of type 'volatile MX_CHAR *' {aka 'volatile char *'}
 static MX_UINT8 FCI_COMPARE(MX_STRING sSrc1, MX_UINT16 iSrc1_len, MX_STRING sSrc2, MX_UINT16 iSrc2_len, MX_UINT8 iNoCase)
                             ~~~~~~~~~~^~~~~
../main/esp-project.c:4426:12: warning: unused variable 'FCL_FILESIZE' [-Wunused-variable]
 
            ^           
../main/esp-project.c: In function 'FCD_0fa21_Config_Webserver__Prv_ParseParams':
../main/esp-project.c:4869:25: warning: passing argument 3 of 'FCI_SCOPY' 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:876:69: note: expected 'MX_STRING' {aka 'char *'} but argument is of type 'volatile MX_CHAR *' {aka 'volatile char *'}
 static void FCI_SCOPY(MX_STRING sSrc, MX_UINT16 iSrc_len, MX_STRING sDst, MX_UINT16 iDst_len)
                                                           ~~~~~~~~~~^~~~
../main/esp-project.c:5148:25: warning: passing argument 3 of 'FCI_SCOPY' 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:876:69: note: expected 'MX_STRING' {aka 'char *'} but argument is of type 'volatile MX_CHAR *' {aka 'volatile char *'}
 static void FCI_SCOPY(MX_STRING sSrc, MX_UINT16 iSrc_len, MX_STRING sDst, MX_UINT16 iDst_len)
                                                           ~~~~~~~~~~^~~~
../main/esp-project.c:4783:10: warning: unused variable 'FCL_VALUE' [-Wunused-variable]
    // } else {
          ^~~~~    
../main/esp-project.c: In function 'FCD_0fa21_Config_Webserver__CreateServerSocket':
../main/esp-project.c:5702:11: warning: unused variable 'FCL_SPR' [-Wunused-variable]
  MX_UINT16 FCL_TEST;
           ^~~~~~~
../main/esp-project.c:5701:11: warning: unused variable 'FCL_SOPR' [-Wunused-variable]
  //Local variable definitions
           ^~~~~~~~
../main/esp-project.c: In function 'FCD_0fa21_Config_Webserver__CheckSocketActivity':
../main/esp-project.c:5828:24: warning: passing argument 3 of 'FCI_SCOPY' 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:876:69: note: expected 'MX_STRING' {aka 'char *'} but argument is of type 'volatile MX_CHAR *' {aka 'volatile char *'}
 static void FCI_SCOPY(MX_STRING sSrc, MX_UINT16 iSrc_len, MX_STRING sDst, MX_UINT16 iDst_len)
                                                           ~~~~~~~~~~^~~~
../main/esp-project.c:5752:10: warning: unused variable 'FCL_S' [-Wunused-variable]
     // .test = 0
          ^~~~~
../main/esp-project.c: In function 'FCD_0fa21_Config_Webserver__Prv_SendFile':
../main/esp-project.c:5969:12: warning: unused variable 'FCL_N' [-Wunused-variable]
     if (FCL_CHAR != '%')
            ^~~~~
../main/esp-project.c: In function 'FCD_0fa21_Config_Webserver__Initialise':
../main/esp-project.c:6501:11: warning: unused variable 'FCL_TEMP' [-Wunused-variable]
 {
           ^       
../main/esp-project.c: In function 'FCD_05061_NetworkComms1__Receive':
../main/esp-project.c:9086:12: warning: unused variable 'FCL_IDX' [-Wunused-variable]
 
            ^      
../main/esp-project.c:9085:11: warning: unused variable 'FCL_DATAAVAILABLE' [-Wunused-variable]
  {
           ^                
../main/esp-project.c: In function 'FCD_05061_NetworkComms1__Send':
../main/esp-project.c:9191:12: warning: unused variable 'FCL_IDX' [-Wunused-variable]
 {
            ^      
../main/esp-project.c: In function 'FCD_01211_CircularBuffer1__PeekByte':
../main/esp-project.c:10329:12: warning: unused variable 'FCL_TEMP' [-Wunused-variable]
   FCV_01211_CircularBuffer1__DATAEND = FCL_TEMP;
            ^~~~~~~~
../main/esp-project.c: In function 'FCD_01211_CircularBuffer1__PutByte':
../main/esp-project.c:10402:12: warning: unused variable 'FCL_TEMP2' [-Wunused-variable]
 
            ^        
../main/esp-project.c: In function 'app_main':
../main/esp-project.c:10735:47: warning: passing argument 1 of 'FCD_05061_NetworkComms1__Receive' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers]
../main/esp-project.c:9082:53: note: expected 'MX_CHAR *' {aka 'char *'} but argument is of type 'volatile MX_CHAR *' {aka 'volatile char *'}
  #endif
                                                     ^       
../main/esp-project.c:10763:35: warning: passing argument 1 of 'FCD_05061_NetworkComms1__Send' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers]
../main/esp-project.c:9188:50: note: expected 'MX_CHAR *' {aka 'char *'} but argument is of type 'volatile MX_UINT8 *' {aka 'volatile unsigned char *'}
        :Returns : MX_BOOL
                                                  ^       
In file included from C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\includes.c:53,
                 from ../main/esp-project.c:528:
At top level:
C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\ESP\ESP_CAL_WIFI.c:114:14: warning: 'wifi_scan_ssid' defined but not used [-Wunused-function]
 static void* wifi_scan_ssid(MX_UINT16 index)
              ^~~~~~~~~~~~~~
C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\ESP\ESP_CAL_WIFI.c:97:13: warning: 'wifi_sta_disconnected' defined but not used [-Wunused-function]
 static void wifi_sta_disconnected(void *arg, esp_event_base_t event_base, int32_t event_id, void *event_data)
             ^~~~~~~~~~~~~~~~~~~~~
C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\ESP\ESP_CAL_WIFI.c:62:20: warning: 'TAG' defined but not used [-Wunused-variable]
 static const char *TAG = "wifi";
                    ^~~
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:795:18: warning: 'FCI_STRMOV' defined but not used [-Wunused-function]
 static MX_UINT16 FCI_STRMOV(MX_STRING sSrc, MX_UINT16 iSrc_len, MX_STRING sDst, MX_UINT16 iDst_len)
                  ^~~~~~~~~~
C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\ESP\ESP_CAL_String.c:771:18: warning: 'FCI_STRREV' defined but not used [-Wunused-function]
 static MX_UINT16 FCI_STRREV(MX_STRING sSrc, MX_UINT16 iSrc_len, MX_STRING sDst, MX_UINT16 iDst_len)
                  ^~~~~~~~~~
C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\ESP\ESP_CAL_String.c:701:17: warning: 'FCI_STRING_TO_FLOAT' defined but not used [-Wunused-function]
 static MX_FLOAT FCI_STRING_TO_FLOAT(MX_STRING String, MX_UINT16 MSZ_String)
                 ^~~~~~~~~~~~~~~~~~~
C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\ESP\ESP_CAL_String.c:598:18: warning: 'FCI_NUMBER_TO_HEX' defined but not used [-Wunused-function]
 static MX_STRING FCI_NUMBER_TO_HEX(MX_ULONG Number, MX_STRING String, MX_UINT16 MSZ_String)
                  ^~~~~~~~~~~~~~~~~
C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\ESP\ESP_CAL_String.c:531:18: warning: 'FCI_FLOAT_TO_STRING' defined but not used [-Wunused-function]
 static MX_STRING FCI_FLOAT_TO_STRING(MX_FLOAT Number, MX_UINT8 Precision, MX_STRING String, MX_UINT16 MSZ_String)
                  ^~~~~~~~~~~~~~~~~~~
C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\ESP\ESP_CAL_String.c: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: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)
                  ^~~~~~~~~~~~~~~
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)
                 ^~~~~~~~~~~
cc1.exe: some warnings being treated as errors
ninja: build stopped: subcommand failed.
ninja failed with exit code 1
Executing action: all (aliases: build)
Running ninja in directory d:\freelanche\projects\esp32_wroom_test\esp32_config_wifi_sad\build
Executing "ninja all"...

Build Failed
.

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

Autoclose turned off


FINISHED
Attachments
ESP32_Config_Wifi Sad.fcfx
(31.43 KiB) Downloaded 68 times

medelec35
Matrix Staff
Posts: 1432
Joined: Wed Dec 02, 2020 11:07 pm
Has thanked: 506 times
Been thanked: 469 times

Re: ESP32S WLAN+BLE compiler error

Post by medelec35 »

Hello.
Thank you for the spot.
I have fixed the issue and the updated component should be available now.
Just run the library updates, then reload your flowchart and you should be good to go.
Martin

celebriums
Posts: 10
Joined: Fri Dec 18, 2020 7:33 am
Has thanked: 7 times

Re: ESP32S WLAN+BLE compiler error

Post by celebriums »

Dear Medelec thanks for answer


Compiler error resolved. But there is an error.
When I add the Bluetooth macros, the WIFI connection disappears.
WIFI is normal after deleting the bluetooth macros.

Additional information: I turn the power of the module on and off and after turning it on; I waited about 5 minutes but the WIFI name does not appear.

Device: NODEMCU-32 V1.3 ESP32 S

BenR
Matrix Staff
Posts: 1707
Joined: Mon Dec 07, 2020 10:06 am
Has thanked: 435 times
Been thanked: 598 times

Re: ESP32S WLAN+BLE compiler error

Post by BenR »

Hmm looks like using both together can be tricky, even when it works you have to do a lot of jumping around and if the data rate is high then all bets are off and data will likely be missed.

One way around might be to use the ESP32 wifi and use an external low cost Bluetooth module such as the HC03-HC06. Not ideal but then you are guarenteed to have reliable comms on both mediums.

stefan.erni
Valued Contributor
Posts: 738
Joined: Wed Dec 02, 2020 10:53 am
Has thanked: 149 times
Been thanked: 170 times

Re: ESP32S WLAN+BLE compiler error

Post by stefan.erni »

Hi Sadik

I have small comment.
BLE is bluetooth low energy. Flowcode does not support this for the ESP32.
But Bluetooth classic with the SPP is very well supported by Flowcode.
Even with the App Developper, only Bluetooth classic SPP is supported.
So ESP32 Bluetooth classic SPP works great but needs more power. And like Ben says. There are problems with the wifi und Bluetooth together.

regards to Istanbul

Stefan

LeighM
Valued Contributor
Posts: 394
Joined: Mon Dec 07, 2020 1:00 pm
Has thanked: 69 times
Been thanked: 208 times

Re: ESP32S WLAN+BLE compiler error

Post by LeighM »

Hi Martin,
That change to SendString to keep the compiler happy, I think it should rather be this ...

Code: Select all

while(FCL_DATA[len]) ++len;

medelec35
Matrix Staff
Posts: 1432
Joined: Wed Dec 02, 2020 11:07 pm
Has thanked: 506 times
Been thanked: 469 times

Re: ESP32S WLAN+BLE compiler error

Post by medelec35 »

Thank you, Leigh
I will look into it.
Martin

medelec35
Matrix Staff
Posts: 1432
Joined: Wed Dec 02, 2020 11:07 pm
Has thanked: 506 times
Been thanked: 469 times

Re: ESP32S WLAN+BLE compiler error

Post by medelec35 »

Hi Leigh.
The component has been changed to your suggestion.
Many thanks, it's appreciated. :)
Martin

Post Reply