Target folder: C:\Users\chara\Desktop\Newfolder\smarthomeesp32
Source name:   C:\Users\chara\Desktop\Newfolder\smarthomeesp32\smarthome.fcfx
Title:         smarthome
Description:   
Device:        ESP.ESP32.ESP32_WROOM_32
Generated by:  Flowcode v10.1.2.40
Date:          Friday, September 13, 2024 00:33:08
Users:         1
Registered to: charafi_hassan (FREE_VERSION)
Licence key: DF7JCQ
   NOT FOR COMMERCIAL USE
https://www.flowcode.co.uk
Using FCD settings for compiler
Launching the compiler...
C:\ProgramData\MatrixTSL\FlowcodeV10\FCD\ESP\Batch\esp32_build.bat  "C:\Espressif\frameworks\esp-idf-v4.4.8\" "smarthome" "C:\Users\chara\Desktop\Newfolder\smarthomeesp32\" esp32s_sdkconfig esp32 

C:\Users\chara\Desktop\Newfolder\smarthomeesp32>REM CRC: 0796FC1E6A776AF9156B257209C35258CE7C28B3EC20AEA2C632DB392A0E4BFD5B3F53B21811978F7B21FE4085045A7E774D1D3D69D8A99EE7320EAE740A5DB6CB88D63C2D6E3613A41BF517A6FEAF3A3307584D5060F214711B8143522C2B69DED9A8239BD70B72B199900461C78937B42DEF8219F63A24580137A2F6C8FDB7553324EFF791947E8AB6FFD612B81BAA97C798A8F1CFC189DE5D38517747C774AF2DD6F839BAECF83F7F994C7164CE77868F480396BDEF2F2C3050DA273BE4EE1A93B7F4BABD60587FC07671DDE8C8B7571E128FEF13BA27 

C:\Users\chara\Desktop\Newfolder\smarthomeesp32>REM REVISION: 8.0 

C:\Users\chara\Desktop\Newfolder\smarthomeesp32>REM GUID: 955EA920-4961-4C53-BA6B-EF4AF66BB4C2 

C:\Users\chara\Desktop\Newfolder\smarthomeesp32>REM DATE: 09\08\2023 

C:\Users\chara\Desktop\Newfolder\smarthomeesp32>REM DIR: FCD\ESP\Batch\esp32_build.bat 
.
============================== Toolchain Check ==============================
Python 3.11.2
git version 2.46.0.windows.1
ESP toolchain found at "C:\Espressif\frameworks\esp-idf-v4.4.8\"
=============================================================================
.
Building: smarthome ...
IDF Version: v4.4.8 ...
Setting IDF_PATH: C:\Espressif\frameworks\esp-idf-v4.4.8

Adding ESP-IDF tools to PATH...
    C:\Espressif\tools\xtensa-esp-elf-gdb\11.2_20220823\xtensa-esp-elf-gdb\bin
    C:\Espressif\tools\riscv32-esp-elf-gdb\11.2_20220823\riscv32-esp-elf-gdb\bin
    C:\Espressif\tools\xtensa-esp32-elf\esp-2021r2-patch5-8.4.0\xtensa-esp32-elf\bin
    C:\Espressif\tools\xtensa-esp32s2-elf\esp-2021r2-patch5-8.4.0\xtensa-esp32s2-elf\bin
    C:\Espressif\tools\xtensa-esp32s3-elf\esp-2021r2-patch5-8.4.0\xtensa-esp32s3-elf\bin
    C:\Espressif\tools\riscv32-esp-elf\esp-2021r2-patch5-8.4.0\riscv32-esp-elf\bin
    C:\Espressif\tools\esp32ulp-elf\2.35_20220830\esp32ulp-elf\bin
    C:\Espressif\tools\ccache\4.3\ccache-4.3-windows-64
    C:\Espressif\tools\dfu-util\0.9\dfu-util-0.9-win64
    C:\Espressif\frameworks\esp-idf-v4.4.8\tools
    
Checking if Python packages are up to date...
Python requirements from C:\Espressif\frameworks\esp-idf-v4.4.8\requirements.txt are satisfied.

Done! You can now compile ESP-IDF projects.
Go to the project directory and run:

  idf.py build

Target: esp32 ...
. . . . .

[1/9] Performing build step for 'bootloader'
[1/1] cmd.exe /C "cd /D C:\Users\chara\Desktop\Newfolder\smarthomeesp32\smarthome\build\bootloader\esp-idf\esptool_py && C:\Espressif\python_env\idf4.4_py3.11_env\Scripts\python.exe C:/Espressif/frameworks/esp-idf-v4.4.8/components/partition_table/check_sizes.py --offset 0x8000 bootloader 0x1000 C:/Users/chara/Desktop/Newfolder/smarthomeesp32/smarthome/build/bootloader/bootloader.bin"
Bootloader binary size 0x6420 bytes. 0xbe0 bytes (11%) free.
[2/7] Building C object esp-idf/main/CMakeFiles/__idf_main.dir/esp-project.c.obj
In file included from C:/Users/chara/Desktop/Newfolder/smarthomeesp32/smarthome/main/esp-project.c:40:
C:/Espressif/frameworks/esp-idf-v4.4.8/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\FlowcodeV10\CAL\ESP\ESP_CAL_String.c:110,
                 from C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\internals.c:568,
                 from C:/Users/chara/Desktop/Newfolder/smarthomeesp32/smarthome/main/esp-project.c:49:
C:\ProgramData\MatrixTSL\FlowcodeV10\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\FlowcodeV10\CAL\ESP\ESP_CAL_WIFI.c:52,
                 from C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\includes.c:53,
                 from C:/Users/chara/Desktop/Newfolder/smarthomeesp32/smarthome/main/esp-project.c:292:
C:/Espressif/frameworks/esp-idf-v4.4.8/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\FlowcodeV10\CAL\includes.c:53,
                 from C:/Users/chara/Desktop/Newfolder/smarthomeesp32/smarthome/main/esp-project.c:292:
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\ESP\ESP_CAL_WIFI.c: In function 'wifi_initialise':
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\ESP\ESP_CAL_WIFI.c:369:3: warning: 'tcpip_adapter_init' is deprecated [-Wdeprecated-declarations]
   tcpip_adapter_init();
   ^~~~~~~~~~~~~~~~~~
In file included from C:/Espressif/frameworks/esp-idf-v4.4.8/components/esp_netif/include/esp_netif.h:35,
                 from C:/Espressif/frameworks/esp-idf-v4.4.8/components/esp_event/include/esp_event_legacy.h:22,
                 from C:/Espressif/frameworks/esp-idf-v4.4.8/components/esp_event/include/esp_event.h:28,
                 from C:/Espressif/frameworks/esp-idf-v4.4.8/components/esp_wifi/include/esp_wifi.h:55,
                 from C:/Users/chara/Desktop/Newfolder/smarthomeesp32/smarthome/main/esp-project.c:38:
C:/Espressif/frameworks/esp-idf-v4.4.8/components/tcpip_adapter/include/tcpip_adapter.h:34:6: note: declared here
 void tcpip_adapter_init(void)  __attribute__ ((deprecated));
      ^~~~~~~~~~~~~~~~~~
C:/Users/chara/Desktop/Newfolder/smarthomeesp32/smarthome/main/esp-project.c: In function 'FCD_01571_TCP_IP_EB023_00_2_Dummy1__RxReadArray':
C:/Users/chara/Desktop/Newfolder/smarthomeesp32/smarthome/main/esp-project.c:2013:13: warning: unused variable 'FCL_IDX' [-Wunused-variable]
        :Returns : MX_UINT8
             ^~~~~~~
C:/Users/chara/Desktop/Newfolder/smarthomeesp32/smarthome/main/esp-project.c: In function 'FCD_05061_NetworkComms1__Receive':
C:/Users/chara/Desktop/Newfolder/smarthomeesp32/smarthome/main/esp-project.c:3027:13: warning: unused variable 'FCL_IDX' [-Wunused-variable]
     //Code has been optimised out by the pre-processor
             ^~~~~~~
C:/Users/chara/Desktop/Newfolder/smarthomeesp32/smarthome/main/esp-project.c:3026:12: warning: unused variable 'FCL_DATAAVAILABLE' [-Wunused-variable]
     #if (0) // 22 == 21
            ^~~~~~~~~~~~     
C:/Users/chara/Desktop/Newfolder/smarthomeesp32/smarthome/main/esp-project.c: In function 'FCD_05061_NetworkComms1__Send':
C:/Users/chara/Desktop/Newfolder/smarthomeesp32/smarthome/main/esp-project.c:3112:13: warning: unused variable 'FCL_IDX' [-Wunused-variable]
     #if (0) // 22 == 21
             ^~~~~~~
C:/Users/chara/Desktop/Newfolder/smarthomeesp32/smarthome/main/esp-project.c: In function 'FCD_03f61_NetworkCommsDummy__Receive':
C:/Users/chara/Desktop/Newfolder/smarthomeesp32/smarthome/main/esp-project.c:3588:13: warning: unused variable 'FCL_PRESETTIMEOUT' [-Wunused-variable]
   MX_BOOL FCR_RETVAL;
             ^~~~~~~~~        
C:/Users/chara/Desktop/Newfolder/smarthomeesp32/smarthome/main/esp-project.c:3587:13: warning: unused variable 'FCL_IDX' [-Wunused-variable]
   //Local variable definitions
             ^~~~~~~
C:/Users/chara/Desktop/Newfolder/smarthomeesp32/smarthome/main/esp-project.c:3586:12: warning: unused variable 'FCL_DATAAVAILABLE' [-Wunused-variable]
 {
            ^                
C:/Users/chara/Desktop/Newfolder/smarthomeesp32/smarthome/main/esp-project.c: In function 'FCD_03f61_NetworkCommsDummy__Send':
C:/Users/chara/Desktop/Newfolder/smarthomeesp32/smarthome/main/esp-project.c:3612:13: warning: unused variable 'FCL_IDX' [-Wunused-variable]
   return (FCR_RETVAL);
             ^~~~~~~
C:/Users/chara/Desktop/Newfolder/smarthomeesp32/smarthome/main/esp-project.c: In function 'FCD_08f31_IoTMadeEasy1__MQTT_Read':
C:/Users/chara/Desktop/Newfolder/smarthomeesp32/smarthome/main/esp-project.c:4048:49: warning: passing argument 1 of 'FCD_05061_NetworkComms1__Receive' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers]
     FCV_08f31_IoTMadeEasy1__PACKET[1] = FCL_TOPICLENGTH + 5;
                                                 ^~~~~~~~~~~~                  
C:/Users/chara/Desktop/Newfolder/smarthomeesp32/smarthome/main/esp-project.c:3023:53: note: expected 'MX_CHAR *' {aka 'char *'} but argument is of type 'volatile MX_UINT8 *' {aka 'volatile unsigned char *'}
     // #else
                                                     ^       
C:/Users/chara/Desktop/Newfolder/smarthomeesp32/smarthome/main/esp-project.c: In function 'FCD_08f31_IoTMadeEasy1__MQTT_Connect':
C:/Users/chara/Desktop/Newfolder/smarthomeesp32/smarthome/main/esp-project.c:4367:11: warning: unused variable 'FCL_AUTHPASSWORD' [-Wunused-variable]
         FCI_SCOPY("Flowcode_IoT",13, FCL_CLIENTID,FCLsz_CLIENTID);
           ^~~~~~~~~~~~~~~~
C:/Users/chara/Desktop/Newfolder/smarthomeesp32/smarthome/main/esp-project.c:4365:12: warning: variable 'FCL_AUTHPASSWORDLENGTH' set but not used [-Wunused-but-set-variable]
         //Insert the Client ID
            ^~~~~~~~~~~~~~~~~~~   
C:/Users/chara/Desktop/Newfolder/smarthomeesp32/smarthome/main/esp-project.c:4364:11: warning: unused variable 'FCL_AUTHNAME' [-Wunused-variable]
         //Comment:
           ^~~~~~~~    
C:/Users/chara/Desktop/Newfolder/smarthomeesp32/smarthome/main/esp-project.c:4362:12: warning: variable 'FCL_AUTHNAMELENGTH' set but not used [-Wunused-but-set-variable]
         //Get the payload fields
            ^~~~~~~~~~~~~~~~~~
C:/Users/chara/Desktop/Newfolder/smarthomeesp32/smarthome/main/esp-project.c: In function 'FCD_08f31_IoTMadeEasy1__MQTT_PacketTransfer':
C:/Users/chara/Desktop/Newfolder/smarthomeesp32/smarthome/main/esp-project.c:5059:70: warning: passing argument 1 of 'FCD_05061_NetworkComms1__Send' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers]
   MX_FLOAT FCR_RETVAL;
                                                                      ^                             
C:/Users/chara/Desktop/Newfolder/smarthomeesp32/smarthome/main/esp-project.c:3109:50: note: expected 'MX_CHAR *' {aka 'char *'} but argument is of type 'volatile MX_UINT8 *' {aka 'volatile unsigned char *'}
     // #else
                                                  ^       
C:/Users/chara/Desktop/Newfolder/smarthomeesp32/smarthome/main/esp-project.c:5069:77: warning: passing argument 1 of 'FCD_05061_NetworkComms1__Receive' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers]
   #undef FCLsz_DATASTR
                                                                             ^                             
C:/Users/chara/Desktop/Newfolder/smarthomeesp32/smarthome/main/esp-project.c:3023:53: note: expected 'MX_CHAR *' {aka 'char *'} but argument is of type 'volatile MX_UINT8 *' {aka 'volatile unsigned char *'}
     // #else
                                                     ^       
C:/Users/chara/Desktop/Newfolder/smarthomeesp32/smarthome/main/esp-project.c:5055:13: warning: unused variable 'FCL_TIMER' [-Wunused-variable]
 {
             ^        
C:/Users/chara/Desktop/Newfolder/smarthomeesp32/smarthome/main/esp-project.c: In function 'app_main':
C:/Users/chara/Desktop/Newfolder/smarthomeesp32/smarthome/main/esp-project.c:5508:52: warning: passing argument 1 of 'FCD_08f31_IoTMadeEasy1__GetPayloadString' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers]
 
                                                    ^           
C:/Users/chara/Desktop/Newfolder/smarthomeesp32/smarthome/main/esp-project.c:5174:60: note: expected 'MX_CHAR *' {aka 'char *'} but argument is of type 'volatile MX_CHAR *' {aka 'volatile char *'}
        :Returns : MX_CHAR*
                                                            ^          
C:/Users/chara/Desktop/Newfolder/smarthomeesp32/smarthome/main/esp-project.c:5511:45: warning: passing argument 1 of 'FCI_STRING_TO_INT' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers]
 
                                             ^           
In file included from C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\internals.c:568,
                 from C:/Users/chara/Desktop/Newfolder/smarthomeesp32/smarthome/main/esp-project.c:49:
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\ESP\ESP_CAL_String.c:665:46: note: expected 'MX_STRING' {aka 'char *'} but argument is of type 'volatile MX_CHAR *' {aka 'volatile char *'}
 static MX_SINT32 FCI_STRING_TO_INT(MX_STRING String, MX_UINT16 MSZ_String)
                                    ~~~~~~~~~~^~~~~~
C:/Users/chara/Desktop/Newfolder/smarthomeesp32/smarthome/main/esp-project.c:5533:52: warning: passing argument 1 of 'FCD_08f31_IoTMadeEasy1__GetPayloadString' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers]
 
                                                    ^           
C:/Users/chara/Desktop/Newfolder/smarthomeesp32/smarthome/main/esp-project.c:5174:60: note: expected 'MX_CHAR *' {aka 'char *'} but argument is of type 'volatile MX_CHAR *' {aka 'volatile char *'}
        :Returns : MX_CHAR*
                                                            ^          
C:/Users/chara/Desktop/Newfolder/smarthomeesp32/smarthome/main/esp-project.c:5536:45: warning: passing argument 1 of 'FCI_STRING_TO_INT' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers]
 
                                             ^           
In file included from C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\internals.c:568,
                 from C:/Users/chara/Desktop/Newfolder/smarthomeesp32/smarthome/main/esp-project.c:49:
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\ESP\ESP_CAL_String.c:665:46: note: expected 'MX_STRING' {aka 'char *'} but argument is of type 'volatile MX_CHAR *' {aka 'volatile char *'}
 static MX_SINT32 FCI_STRING_TO_INT(MX_STRING String, MX_UINT16 MSZ_String)
                                    ~~~~~~~~~~^~~~~~
C:/Users/chara/Desktop/Newfolder/smarthomeesp32/smarthome/main/esp-project.c:5558:52: warning: passing argument 1 of 'FCD_08f31_IoTMadeEasy1__GetPayloadString' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers]
 
                                                    ^           
C:/Users/chara/Desktop/Newfolder/smarthomeesp32/smarthome/main/esp-project.c:5174:60: note: expected 'MX_CHAR *' {aka 'char *'} but argument is of type 'volatile MX_CHAR *' {aka 'volatile char *'}
        :Returns : MX_CHAR*
                                                            ^          
C:/Users/chara/Desktop/Newfolder/smarthomeesp32/smarthome/main/esp-project.c:5561:45: warning: passing argument 1 of 'FCI_STRING_TO_INT' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers]
 
                                             ^           
In file included from C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\internals.c:568,
                 from C:/Users/chara/Desktop/Newfolder/smarthomeesp32/smarthome/main/esp-project.c:49:
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\ESP\ESP_CAL_String.c:665:46: note: expected 'MX_STRING' {aka 'char *'} but argument is of type 'volatile MX_CHAR *' {aka 'volatile char *'}
 static MX_SINT32 FCI_STRING_TO_INT(MX_STRING String, MX_UINT16 MSZ_String)
                                    ~~~~~~~~~~^~~~~~
C:/Users/chara/Desktop/Newfolder/smarthomeesp32/smarthome/main/esp-project.c:5583:52: warning: passing argument 1 of 'FCD_08f31_IoTMadeEasy1__GetPayloadString' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers]
 
                                                    ^           
C:/Users/chara/Desktop/Newfolder/smarthomeesp32/smarthome/main/esp-project.c:5174:60: note: expected 'MX_CHAR *' {aka 'char *'} but argument is of type 'volatile MX_CHAR *' {aka 'volatile char *'}
        :Returns : MX_CHAR*
                                                            ^          
C:/Users/chara/Desktop/Newfolder/smarthomeesp32/smarthome/main/esp-project.c:5586:45: warning: passing argument 1 of 'FCI_STRING_TO_INT' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers]
 
                                             ^           
In file included from C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\internals.c:568,
                 from C:/Users/chara/Desktop/Newfolder/smarthomeesp32/smarthome/main/esp-project.c:49:
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\ESP\ESP_CAL_String.c:665:46: note: expected 'MX_STRING' {aka 'char *'} but argument is of type 'volatile MX_CHAR *' {aka 'volatile char *'}
 static MX_SINT32 FCI_STRING_TO_INT(MX_STRING String, MX_UINT16 MSZ_String)
                                    ~~~~~~~~~~^~~~~~
C:/Users/chara/Desktop/Newfolder/smarthomeesp32/smarthome/main/esp-project.c:5608:52: warning: passing argument 1 of 'FCD_08f31_IoTMadeEasy1__GetPayloadString' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers]
 
                                                    ^           
C:/Users/chara/Desktop/Newfolder/smarthomeesp32/smarthome/main/esp-project.c:5174:60: note: expected 'MX_CHAR *' {aka 'char *'} but argument is of type 'volatile MX_CHAR *' {aka 'volatile char *'}
        :Returns : MX_CHAR*
                                                            ^          
C:/Users/chara/Desktop/Newfolder/smarthomeesp32/smarthome/main/esp-project.c:5611:45: warning: passing argument 1 of 'FCI_STRING_TO_INT' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers]
 /*========================================================================*\
                                             ^~~~~~~~~~~~
In file included from C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\internals.c:568,
                 from C:/Users/chara/Desktop/Newfolder/smarthomeesp32/smarthome/main/esp-project.c:49:
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\ESP\ESP_CAL_String.c:665:46: note: expected 'MX_STRING' {aka 'char *'} but argument is of type 'volatile MX_CHAR *' {aka 'volatile char *'}
 static MX_SINT32 FCI_STRING_TO_INT(MX_STRING String, MX_UINT16 MSZ_String)
                                    ~~~~~~~~~~^~~~~~
C:/Users/chara/Desktop/Newfolder/smarthomeesp32/smarthome/main/esp-project.c:5633:52: warning: passing argument 1 of 'FCD_08f31_IoTMadeEasy1__GetPayloadString' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers]
C:/Users/chara/Desktop/Newfolder/smarthomeesp32/smarthome/main/esp-project.c:5174:60: note: expected 'MX_CHAR *' {aka 'char *'} but argument is of type 'volatile MX_CHAR *' {aka 'volatile char *'}
        :Returns : MX_CHAR*
                                                            ^          
C:/Users/chara/Desktop/Newfolder/smarthomeesp32/smarthome/main/esp-project.c:5636:45: warning: passing argument 1 of 'FCI_STRING_TO_INT' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers]
In file included from C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\internals.c:568,
                 from C:/Users/chara/Desktop/Newfolder/smarthomeesp32/smarthome/main/esp-project.c:49:
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\ESP\ESP_CAL_String.c:665:46: note: expected 'MX_STRING' {aka 'char *'} but argument is of type 'volatile MX_CHAR *' {aka 'volatile char *'}
 static MX_SINT32 FCI_STRING_TO_INT(MX_STRING String, MX_UINT16 MSZ_String)
                                    ~~~~~~~~~~^~~~~~
In file included from C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\includes.c:53,
                 from C:/Users/chara/Desktop/Newfolder/smarthomeesp32/smarthome/main/esp-project.c:292:
At top level:
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\ESP\ESP_CAL_WIFI.c:386:17: warning: 'wifi_uninitialise' defined but not used [-Wunused-function]
 static MX_UINT8 wifi_uninitialise(void)
                 ^~~~~~~~~~~~~~~~~
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\ESP\ESP_CAL_WIFI.c:324:17: warning: 'wifi_disconnect' defined but not used [-Wunused-function]
 static MX_UINT8 wifi_disconnect()
                 ^~~~~~~~~~~~~~~
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\ESP\ESP_CAL_WIFI.c:165:14: warning: 'wifi_scan_ssid' defined but not used [-Wunused-function]
 static void* wifi_scan_ssid(MX_UINT16 index)
              ^~~~~~~~~~~~~~
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\ESP\ESP_CAL_WIFI.c:148: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\FlowcodeV10\CAL\ESP\ESP_CAL_WIFI.c:68:20: warning: 'TAG' defined but not used [-Wunused-variable]
 static const char *TAG = "wifi";
                    ^~~
In file included from C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\internals.c:568,
                 from C:/Users/chara/Desktop/Newfolder/smarthomeesp32/smarthome/main/esp-project.c:49:
C:\ProgramData\MatrixTSL\FlowcodeV10\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\FlowcodeV10\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\FlowcodeV10\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\FlowcodeV10\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\FlowcodeV10\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\FlowcodeV10\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\FlowcodeV10\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\FlowcodeV10\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\FlowcodeV10\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\FlowcodeV10\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\FlowcodeV10\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\FlowcodeV10\CAL\internals.c:568,
                 from C:/Users/chara/Desktop/Newfolder/smarthomeesp32/smarthome/main/esp-project.c:49:
C:\ProgramData\MatrixTSL\FlowcodeV10\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\FlowcodeV10\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)
                 ^~~~~~~~~~~
[3/7] Linking C static library esp-idf\main\libmain.a
. . . . .

[4/7] Generating ld/sections.ld
. . . . . . . .

[5/7] Linking CXX executable esp-project.elf
[6/7] Generating binary image from built executable
esptool.py v3.3.4-dev
Creating esp32 image...
Merged 27 ELF sections
Successfully created esp32 image.
Generated C:/Users/chara/Desktop/Newfolder/smarthomeesp32/smarthome/build/esp-project.bin
[7/7] cmd.exe /C "cd /D C:\Users\chara\Desktop\Newfolder\smarthomeesp32\smarthome\build\esp-idf\esptool_py && C:\Espressif\python_env\idf4.4_py3.11_env\Scripts\python.exe C:/Espressif/frameworks/esp-idf-v4.4.8/components/partition_table/check_sizes.py --offset 0x8000 partition --type app C:/Users/chara/Desktop/Newfolder/smarthomeesp32/smarthome/build/partition_table/partition-table.bin C:/Users/chara/Desktop/Newfolder/smarthomeesp32/smarthome/build/esp-project.bin"
esp-project.bin binary size 0xa6a80 bytes. Smallest app partition is 0x100000 bytes. 0x59580 bytes (35%) free.
Executing action: all (aliases: build)
Running ninja in directory C:\Users\chara\Desktop\Newfolder\smarthomeesp32\smarthome\build
Executing "ninja all"...

Project build complete. To flash, run this command:
C:\Espressif\python_env\idf4.4_py3.11_env\Scripts\python.exe ..\..\..\..\..\..\Espressif\frameworks\esp-idf-v4.4.8\components\esptool_py\esptool\esptool.py -p (PORT) -b 460800 --before default_reset --after hard_reset --chip esp32  write_flash --flash_mode dio --flash_size detect --flash_freq 40m 0x1000 build\bootloader\bootloader.bin 0x8000 build\partition_table\partition-table.bin 0x10000 build\esp-project.bin
or run 'idf.py -p (PORT) flash'

Get Project Build Statistics
. .

[1/4] cmd.exe /C "cd /D C:\Users\chara\Desktop\Newfolder\smarthomeesp32\smarthome\build\esp-idf\esptool_py && C:\Espressif\python_env\idf4.4_py3.11_env\Scripts\python.exe C:/Espressif/frameworks/esp-idf-v4.4.8/components/partition_table/check_sizes.py --offset 0x8000 partition --type app C:/Users/chara/Desktop/Newfolder/smarthomeesp32/smarthome/build/partition_table/partition-table.bin C:/Users/chara/Desktop/Newfolder/smarthomeesp32/smarthome/build/esp-project.bin"
esp-project.bin binary size 0xa6a80 bytes. Smallest app partition is 0x100000 bytes. 0x59580 bytes (35%) free.
[2/4] Performing build step for 'bootloader'
[1/1] cmd.exe /C "cd /D C:\Users\chara\Desktop\Newfolder\smarthomeesp32\smarthome\build\bootloader\esp-idf\esptool_py && C:\Espressif\python_env\idf4.4_py3.11_env\Scripts\python.exe C:/Espressif/frameworks/esp-idf-v4.4.8/components/partition_table/check_sizes.py --offset 0x8000 bootloader 0x1000 C:/Users/chara/Desktop/Newfolder/smarthomeesp32/smarthome/build/bootloader/bootloader.bin"
Bootloader binary size 0x6420 bytes. 0xbe0 bytes (11%) free.
[1/1] cmd.exe /C "cd /D C:\Users\chara\Desktop\Newfolder\smarthomeesp32\smarthome\build && C:\Espressif\python_env\idf4.4_py3.11_env\Scripts\python.exe C:/Espressif/frameworks/esp-idf-v4.4.8/tools/idf_size.py C:/Users/chara/Desktop/Newfolder/smarthomeesp32/smarthome/build/esp-project.map"
Total sizes:
Used static DRAM:   38844 bytes (  85736 remain, 31.2% used)
      .data size:   19652 bytes
      .bss  size:   19192 bytes
Used static IRAM:   91466 bytes (  39606 remain, 69.8% used)
      .text size:   90439 bytes
   .vectors size:    1027 bytes
Used Flash size :  573015 bytes
      .text     :  480935 bytes
      .rodata   :   91824 bytes
Total image size:  684133 bytes (.bin may be padded larger)
Executing action: size
Running ninja in directory C:\Users\chara\Desktop\Newfolder\smarthomeesp32\smarthome\build
Executing "ninja all"...
Running ninja in directory C:\Users\chara\Desktop\Newfolder\smarthomeesp32\smarthome\build
Executing "ninja size"...
Build completed successfully 

Using FCD settings for linker
Launching the linker/assembler...
C:\Program Files (x86)\Flowcode v10\tools\DoNothing\DoNothing.exe  

Using FCD settings for programmer
Launching the programmer...
C:\ProgramData\MatrixTSL\FlowcodeV10\FCD\ESP\Batch\esp32_prog.bat  "C:\Espressif\frameworks\esp-idf-v4.4.8\" "smarthome" "C:\Users\chara\Desktop\Newfolder\smarthomeesp32\" COM3 921600

C:\Users\chara\Desktop\Newfolder\smarthomeesp32>REM CRC: 0796FC1E6A776AF9156B257209C35258CE7C28B3EC20AEA2C632DB392A0E4BFD51BCA0B0BE9D29A6967C85454D48D34EF6A4CCB7873802B223E4F4A1008A3591CB88D63C2D6E3613A41BF517A6FEAF3A3307584D5060F214711B8143522C2B69D44FB9B25551796A36704C7C6C9A47105E07F5A3DAE9F727EBE89217067498807D244771FDC991670F5FFC06582E728E4759676487E14245E7CE4E83DB1D25714B4A4F3814D91BF78F4943FF2251F1F8F8986F778F588E992C3050DA273BE4EEF423AA7709CE3E8A47DDCAC5F36756B1B094C14625D12B4EA44501DE8C4E8A8748A9453D8E52754C 

C:\Users\chara\Desktop\Newfolder\smarthomeesp32>REM REVISION: 4.0 

C:\Users\chara\Desktop\Newfolder\smarthomeesp32>REM GUID: 23F1E3A0-C4DC-4746-B4FD-05C4AFBA61E9 

C:\Users\chara\Desktop\Newfolder\smarthomeesp32>REM DATE: 09\08\2023 

C:\Users\chara\Desktop\Newfolder\smarthomeesp32>REM DIR: FCD\ESP\Batch\esp32_prog.bat 
Programming: smarthome ...
IDF Version: v4.4.8 ...
Setting IDF_PATH: C:\Espressif\frameworks\esp-idf-v4.4.8

Adding ESP-IDF tools to PATH...
    C:\Espressif\tools\xtensa-esp-elf-gdb\11.2_20220823\xtensa-esp-elf-gdb\bin
    C:\Espressif\tools\riscv32-esp-elf-gdb\11.2_20220823\riscv32-esp-elf-gdb\bin
    C:\Espressif\tools\xtensa-esp32-elf\esp-2021r2-patch5-8.4.0\xtensa-esp32-elf\bin
    C:\Espressif\tools\xtensa-esp32s2-elf\esp-2021r2-patch5-8.4.0\xtensa-esp32s2-elf\bin
    C:\Espressif\tools\xtensa-esp32s3-elf\esp-2021r2-patch5-8.4.0\xtensa-esp32s3-elf\bin
    C:\Espressif\tools\riscv32-esp-elf\esp-2021r2-patch5-8.4.0\riscv32-esp-elf\bin
    C:\Espressif\tools\esp32ulp-elf\2.35_20220830\esp32ulp-elf\bin
    C:\Espressif\tools\ccache\4.3\ccache-4.3-windows-64
    C:\Espressif\tools\dfu-util\0.9\dfu-util-0.9-win64
    C:\Espressif\frameworks\esp-idf-v4.4.8\tools
    
Checking if Python packages are up to date...
Python requirements from C:\Espressif\frameworks\esp-idf-v4.4.8\requirements.txt are satisfied.

Done! You can now compile ESP-IDF projects.
Go to the project directory and run:

  idf.py build

. . .

Usage: idf.py [OPTIONS] COMMAND1 [ARGS]... [COMMAND2 [ARGS]...]...
Try 'idf.py --help' for help.

Error: No such option: --no-hints Did you mean --no-warnings?
Programming Failed

C:\ProgramData\MatrixTSL\FlowcodeV10\FCD\ESP\Batch\esp32_prog.bat reported error code 0x1

Autoclose turned off


FINISHED
