Target folder: C:\Users\simie\OneDrive\Documents\Flowcode v10 projects
Source name:   C:\Users\simie\OneDrive\Documents\Flowcode v10 projects\ESP32S_ADC_Fail_and_LCD_SPI.fcfx
Title:         
Description:   
Device:        ESP.ESP32.ESP32S
Generated by:  Flowcode v10.1.2.40
Date:          Saturday, May 31, 2025 23:53:06
https://www.flowcode.co.uk
Using FCD settings for compiler
Launching the compiler...
C:\ProgramData\MatrixTSL\FlowcodeV10\FCD\ESP\Batch\esp32_build.bat  "C:\FC_ESP\" "ESP32S_ADC_Fail_and_LCD_SPI" "C:\Users\simie\OneDrive\Documents\Flowcode v10 projects\" esp32s_sdkconfig esp32 

C:\Users\simie\OneDrive\Documents\Flowcode v10 projects>REM CRC: 0796FC1E6A776AF9156B257209C35258CE7C28B3EC20AEA2C632DB392A0E4BFD5B3F53B21811978F7B21FE4085045A7E774D1D3D69D8A99EE7320EAE740A5DB60228F42835EF5B88138FDEE58A4EE9C3A4BAF1B34E38B68E0C3CAEE8E7DA6987B808018476405B65B199900461C78937B42DEF8219F63A24580137A2F6C8FDB7553324EFF791947E8AB6FFD612B81BAA97C798A8F1CFC189DE5D38517747C774AF2DD6F839BAECF83F7F994C7164CE77868F480396BDEF2F2C3050DA273BE4EE69F15C302679453617F9EA00A6A8712D05E485F25DB02304E4565E63FDA312627DD474674123A97D 

C:\Users\simie\OneDrive\Documents\Flowcode v10 projects>REM REVISION: 15.0 

C:\Users\simie\OneDrive\Documents\Flowcode v10 projects>REM GUID: 955EA920-4961-4C53-BA6B-EF4AF66BB4C2 

C:\Users\simie\OneDrive\Documents\Flowcode v10 projects>REM DATE: 07\04\2025 

C:\Users\simie\OneDrive\Documents\Flowcode v10 projects>REM DIR: FCD\ESP\Batch\esp32_build.bat 
Creating python config file 
Creating menuconfig link file 
.
============================== Toolchain Check ==============================
Python 3.11.2
git version 2.44.0.windows.1
ESP toolchain found at "C:\FC_ESP\frameworks\esp-idf-v5.3.1\"
=============================================================================
.
Building: ESP32S_ADC_Fail_and_LCD_SPI ...
fatal: not a git repository (or any of the parent directories): .git
IDF Version:  ...
Checking Python compatibility
Setting IDF_PATH: C:\FC_ESP\frameworks\esp-idf-v5.3.1

Adding ESP-IDF tools to PATH...
WARNING: The following issue occurred while accessing the ESP-IDF version file in the Python environment: [Errno 2] No such file or directory: 'C:\\FC_ESP\\esp-tools\\python_env\\idf5.3_py3.11_env\\idf_version.txt'. (Diagnostic information. It can be ignored.)
    C:\FC_ESP\esp-tools\tools\xtensa-esp-elf-gdb\14.2_20240403\xtensa-esp-elf-gdb\bin
    C:\FC_ESP\esp-tools\tools\riscv32-esp-elf-gdb\14.2_20240403\riscv32-esp-elf-gdb\bin
    C:\FC_ESP\esp-tools\tools\xtensa-esp-elf\esp-13.2.0_20240530\xtensa-esp-elf\bin
    C:\FC_ESP\esp-tools\tools\riscv32-esp-elf\esp-13.2.0_20240530\riscv32-esp-elf\bin
    C:\FC_ESP\esp-tools\tools\esp32ulp-elf\2.38_20240113\esp32ulp-elf\bin
    C:\FC_ESP\esp-tools\tools\cmake\3.24.0\bin
    C:\FC_ESP\esp-tools\tools\openocd-esp32\v0.12.0-esp32-20240318\openocd-esp32\bin
    C:\FC_ESP\esp-tools\tools\ninja\1.11.1\
    C:\FC_ESP\esp-tools\tools\idf-exe\1.0.3\
    C:\FC_ESP\esp-tools\tools\ccache\4.8\ccache-4.8-windows-x86_64
    C:\FC_ESP\esp-tools\tools\dfu-util\0.11\dfu-util-0.11-win64
    C:\FC_ESP\frameworks\esp-idf-v5.3.1\tools
    
Checking if Python packages are up to date...
Python requirements are satisfied.
Constraint file: C:\FC_ESP\esp-tools\espidf.constraints.v5.3.txt
Requirement files:
 - C:\FC_ESP\frameworks\esp-idf-v5.3.1\tools\requirements\requirements.core.txt
Python being checked: C:\FC_ESP\esp-tools\python_env\idf5.3_py3.11_env\Scripts\python.exe

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:\FC_ESP\mtxesp32s_sdkconfig\build\bootloader\esp-idf\esptool_py && C:\FC_ESP\esp-tools\python_env\idf5.3_py3.11_env\Scripts\python.exe C:/FC_ESP/frameworks/esp-idf-v5.3.1/components/partition_table/check_sizes.py --offset 0x8000 bootloader 0x1000 C:/FC_ESP/mtxesp32s_sdkconfig/build/bootloader/bootloader.bin"
Bootloader binary size 0x6880 bytes. 0x780 bytes (7%) free.
[2/7] Building C object esp-idf/main/CMakeFiles/__idf_main.dir/esp-project.c.obj
In file included from C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\includes.c:93,
                 from C:\Users\simie\OneDrive\Documents\Flowcode v10 projects\ESP32S_ADC_Fail_and_LCD_SPI.h:297,
                 from C:/FC_ESP/mtxesp32s_sdkconfig/main/esp-project.c:20:
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\ESP\ESP_CAL_ADC.c: In function 'FC_CAL_ADC_Enable_1':
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\ESP\ESP_CAL_ADC.c:108:25: warning: 'ADC_ATTEN_DB_11' is deprecated [-Wdeprecated-declarations]
  108 |                         };
      |                         ^
In file included from C:/FC_ESP/frameworks/esp-idf-v5.3.1/components/esp_adc/include/esp_adc/adc_oneshot.h:12,
                 from C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\ESP\ESP_CAL_ADC.c:68:
C:/FC_ESP/frameworks/esp-idf-v5.3.1/components/hal/include/hal/adc_types.h:51:5: note: declared here
   51 |     ADC_ATTEN_DB_11 __attribute__((deprecated)) = ADC_ATTEN_DB_12,  ///<This is deprecated, it behaves the same as `ADC_ATTEN_DB_12`
      |
. . . . . . . . . . . . . . . . . . . . . . . . .

     ^~~~~~~~~~~~~~~
[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 v4.8.dev5
Creating esp32 image...
Merged 2 ELF sections
Successfully created esp32 image.
Generated C:/FC_ESP/mtxesp32s_sdkconfig/build/esp-project.bin
[7/7] cmd.exe /C "cd /D C:\FC_ESP\mtxesp32s_sdkconfig\build\esp-idf\esptool_py && C:\FC_ESP\esp-tools\python_env\idf5.3_py3.11_env\Scripts\python.exe C:/FC_ESP/frameworks/esp-idf-v5.3.1/components/partition_table/check_sizes.py --offset 0x8000 partition --type app C:/FC_ESP/mtxesp32s_sdkconfig/build/partition_table/partition-table.bin C:/FC_ESP/mtxesp32s_sdkconfig/build/esp-project.bin"
esp-project.bin binary size 0x3e0e0 bytes. Smallest app partition is 0x100000 bytes. 0xc1f20 bytes (76%) free.
Executing action: all (aliases: build)
Running ninja in directory C:\FC_ESP\mtxesp32s_sdkconfig\build
Executing "ninja all"...

Project build complete. To flash, run:
 idf.py flash
or
 idf.py -p PORT flash
or
 python -m esptool --chip esp32 -b 460800 --before default_reset --after hard_reset write_flash --flash_mode dio --flash_size 2MB --flash_freq 40m 0x1000 build\bootloader\bootloader.bin 0x8000 build\partition_table\partition-table.bin 0x10000 build\esp-project.bin
or from the "C:\FC_ESP\mtxesp32s_sdkconfig\build" directory
 python -m esptool --chip esp32 -b 460800 --before default_reset --after hard_reset write_flash "@flash_args"

Get Project Build Statistics
[1/4] cmd.exe /C "cd /D C:\FC_ESP\mtxesp32s_sdkconfig\build\esp-idf\esptool_py && C:\FC_ESP\esp-tools\python_env\idf5.3_py3.11_env\Scripts\python.exe C:/FC_ESP/frameworks/esp-idf-v5.3.1/components/partition_table/check_sizes.py --offset 0x8000 partition --type app C:/FC_ESP/mtxesp32s_sdkconfig/build/partition_table/partition-table.bin C:/FC_ESP/mtxesp32s_sdkconfig/build/esp-project.bin"
esp-project.bin binary size 0x3e0e0 bytes. Smallest app partition is 0x100000 bytes. 0xc1f20 bytes (76%) free.
[2/4] Performing build step for 'bootloader'
[1/1] cmd.exe /C "cd /D C:\FC_ESP\mtxesp32s_sdkconfig\build\bootloader\esp-idf\esptool_py && C:\FC_ESP\esp-tools\python_env\idf5.3_py3.11_env\Scripts\python.exe C:/FC_ESP/frameworks/esp-idf-v5.3.1/components/partition_table/check_sizes.py --offset 0x8000 bootloader 0x1000 C:/FC_ESP/mtxesp32s_sdkconfig/build/bootloader/bootloader.bin"
Bootloader binary size 0x6880 bytes. 0x780 bytes (7%) free.
.

                             Memory Type Usage Summary                              
+----------------------------------------------------------------------------------+
| Memory Type/Section   | Used [bytes] | Used [%] | Remain [bytes] | Total [bytes] |
|-----------------------+--------------+----------+----------------+---------------|
| Flash Code            |       124938 |     3.74 |        3217366 |       3342304 |
|    .text              |       124938 |     3.74 |                |               |
| IRAM                  |        64119 |    48.92 |          66953 |        131072 |
|    .text              |        63091 |    48.13 |                |               |
|    .vectors           |         1027 |     0.78 |                |               |
| Flash Data            |        50584 |     1.21 |        4143688 |       4194272 |
|    .rodata            |        50328 |      1.2 |                |               |
|    .appdesc           |          256 |     0.01 |                |               |
| DRAM                  |        16868 |    13.54 |         107712 |        124580 |
|    .data              |        14420 |    11.57 |                |               |
|    .bss               |         2448 |     1.97 |                |               |
| RTC SLOW              |           24 |     0.29 |           8168 |          8192 |
|    .rtc_slow_reserved |           24 |     0.29 |                |               |
| RTC FAST              |            4 |     0.05 |           8188 |          8192 |
|    .force_fast        |            4 |     0.05 |                |               |
+----------------------------------------------------------------------------------+
Total image size: 254064 bytes (.bin may be padded larger)
[0/1] cmd.exe /C "cd /D C:\FC_ESP\mtxesp32s_sdkconfig\build && C:\FC_ESP\esp-tools\tools\cmake\3.24.0\bin\cmake.exe -D IDF_SIZE_TOOL=C:/FC_ESP/esp-tools/python_env/idf5.3_py3.11_env/Scripts/python.exe;-m;esp_idf_size -D MAP_FILE=C:/FC_ESP/mtxesp32s_sdkconfig/build/esp-project.map -D OUTPUT_JSON= -P C:/FC_ESP/frameworks/esp-idf-v5.3.1/tools/cmake/run_size_tool.cmake"
Executing action: size
Running ninja in directory C:\FC_ESP\mtxesp32s_sdkconfig\build
Executing "ninja all"...
Running ninja in directory C:\FC_ESP\mtxesp32s_sdkconfig\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:\FC_ESP\" "ESP32S_ADC_Fail_and_LCD_SPI" "C:\Users\simie\OneDrive\Documents\Flowcode v10 projects\" COM8 115200 esp32s_sdkconfig esp32

C:\Users\simie\OneDrive\Documents\Flowcode v10 projects>REM CRC: 0796FC1E6A776AF9156B257209C35258CE7C28B3EC20AEA2C632DB392A0E4BFD51BCA0B0BE9D29A6967C85454D48D34EF6A4CCB7873802B223E4F4A1008A35919CE852FCC2E76CD08880CFFD18B90BBB3A0DDF873040DD7BD8DA408700E5719BF06422213D4689B236704C7C6C9A47105E07F5A3DAE9F727EBE89217067498807D244771FDC991670F5FFC06582E728E4759676487E14245E7CE4E83DB1D25714B4A4F3814D91BF78F4943FF2251F1F8F8986F778F588E992C3050DA273BE4EED69D378A7502D658A41674B02394C7C399AE4FB97F2182026F5155CB06B551640B4EDED414B02673 

C:\Users\simie\OneDrive\Documents\Flowcode v10 projects>REM REVISION: 9.0 

C:\Users\simie\OneDrive\Documents\Flowcode v10 projects>REM GUID: 23F1E3A0-C4DC-4746-B4FD-05C4AFBA61E9 

C:\Users\simie\OneDrive\Documents\Flowcode v10 projects>REM DATE: 15\10\2024 

C:\Users\simie\OneDrive\Documents\Flowcode v10 projects>REM DIR: FCD\ESP\Batch\esp32_prog.bat 
Programming: ESP32S_ADC_Fail_and_LCD_SPI ...
fatal: not a git repository (or any of the parent directories): .git
IDF Version:  ...
Checking Python compatibility
Setting IDF_PATH: C:\FC_ESP\frameworks\esp-idf-v5.3.1

Adding ESP-IDF tools to PATH...
WARNING: The following issue occurred while accessing the ESP-IDF version file in the Python environment: [Errno 2] No such file or directory: 'C:\\FC_ESP\\esp-tools\\python_env\\idf5.3_py3.11_env\\idf_version.txt'. (Diagnostic information. It can be ignored.)
    C:\FC_ESP\esp-tools\tools\xtensa-esp-elf-gdb\14.2_20240403\xtensa-esp-elf-gdb\bin
    C:\FC_ESP\esp-tools\tools\riscv32-esp-elf-gdb\14.2_20240403\riscv32-esp-elf-gdb\bin
    C:\FC_ESP\esp-tools\tools\xtensa-esp-elf\esp-13.2.0_20240530\xtensa-esp-elf\bin
    C:\FC_ESP\esp-tools\tools\riscv32-esp-elf\esp-13.2.0_20240530\riscv32-esp-elf\bin
    C:\FC_ESP\esp-tools\tools\esp32ulp-elf\2.38_20240113\esp32ulp-elf\bin
    C:\FC_ESP\esp-tools\tools\cmake\3.24.0\bin
    C:\FC_ESP\esp-tools\tools\openocd-esp32\v0.12.0-esp32-20240318\openocd-esp32\bin
    C:\FC_ESP\esp-tools\tools\ninja\1.11.1\
    C:\FC_ESP\esp-tools\tools\idf-exe\1.0.3\
    C:\FC_ESP\esp-tools\tools\ccache\4.8\ccache-4.8-windows-x86_64
    C:\FC_ESP\esp-tools\tools\dfu-util\0.11\dfu-util-0.11-win64
    C:\FC_ESP\frameworks\esp-idf-v5.3.1\tools
    
Checking if Python packages are up to date...
Python requirements are satisfied.
Constraint file: C:\FC_ESP\esp-tools\espidf.constraints.v5.3.txt
Requirement files:
 - C:\FC_ESP\frameworks\esp-idf-v5.3.1\tools\requirements\requirements.core.txt
Python being checked: C:\FC_ESP\esp-tools\python_env\idf5.3_py3.11_env\Scripts\python.exe

Done! You can now compile ESP-IDF projects.
Go to the project directory and run:

  idf.py build

. . .

[1/5] cmd.exe /C "cd /D C:\FC_ESP\mtxesp32s_sdkconfig\build\esp-idf\esptool_py && C:\FC_ESP\esp-tools\python_env\idf5.3_py3.11_env\Scripts\python.exe C:/FC_ESP/frameworks/esp-idf-v5.3.1/components/partition_table/check_sizes.py --offset 0x8000 partition --type app C:/FC_ESP/mtxesp32s_sdkconfig/build/partition_table/partition-table.bin C:/FC_ESP/mtxesp32s_sdkconfig/build/esp-project.bin"
esp-project.bin binary size 0x3e0e0 bytes. Smallest app partition is 0x100000 bytes. 0xc1f20 bytes (76%) free.
[2/5] Performing build step for 'bootloader'
[1/1] cmd.exe /C "cd /D C:\FC_ESP\mtxesp32s_sdkconfig\build\bootloader\esp-idf\esptool_py && C:\FC_ESP\esp-tools\python_env\idf5.3_py3.11_env\Scripts\python.exe C:/FC_ESP/frameworks/esp-idf-v5.3.1/components/partition_table/check_sizes.py --offset 0x8000 bootloader 0x1000 C:/FC_ESP/mtxesp32s_sdkconfig/build/bootloader/bootloader.bin"
Bootloader binary size 0x6880 bytes. 0x780 bytes (7%) free.
[2/3] cmd.exe /C "cd /D C:\FC_ESP\frameworks\esp-idf-v5.3.1\components\esptool
esptool.py --chip esp32 -p COM8 -b 115200 --before=default_reset --after=hard_reset write_flash --flash_mode dio --flash_freq 40m --flash_size 2MB 0x1000 bootloader/bootloader.bin 0x10000 esp-project.bin 0x8000 partition_table/partition-table.bin
esptool.py v4.8.dev5
Serial port COM8
Connecting...
.
.
.
.

Chip is ESP32-D0WD-V3 (revision v3.1)
Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None
Crystal is 40MHz
MAC: f4:65:0b:56:e8:a0
Uploading stub...
Running stub...
Stub running...
Configuring flash size...
Flash will be erased from 0x00001000 to 0x00007fff...
Flash will be erased from 0x00010000 to 0x0004efff...
Flash will be erased from 0x00008000 to 0x00008fff...
SHA digest in image updated
Compressed 26752 bytes to 16368...
Writing at 0x00001000... (100 %)
. .

Wrote 26752 bytes (16368 compressed) at 0x00001000 in 1.8 seconds (effective 121.2 kbit/s)...
Hash of data verified.
Compressed 254176 bytes to 131287...
Writing at 0x00010000... (11 %)
Writing at 0x0001c044... (22 %)
Writing at 0x00024600... (33 %)
. . .

Writing at 0x0002a63d... (44 %)
Writing at 0x00030300... (55 %)
Writing at 0x0003a048... (66 %)
. . .

Writing at 0x0004198a... (77 %)
Writing at 0x00047821... (88 %)
Writing at 0x0004dfd5... (100 %)
. .

Wrote 254176 bytes (131287 compressed) at 0x00010000 in 11.9 seconds (effective 171.1 kbit/s)...
Hash of data verified.
Compressed 3072 bytes to 103...
Writing at 0x00008000... (100 %)
Wrote 3072 bytes (103 compressed) at 0x00008000 in 0.0 seconds (effective 511.8 kbit/s)...
Hash of data verified.

Leaving...
Hard resetting via RTS pin...
_py && C:\FC_ESP\esp-tools\tools\cmake\3.24.0\bin\cmake.exe -D IDF_PATH=C:/FC_ESP/frameworks/esp-idf-v5.3.1 -D SERIAL_TOOL=C:/FC_ESP/esp-tools/python_env/idf5.3_py3.11_env/Scripts/python.exe;;C:/FC_ESP/frameworks/esp-idf-v5.3.1/components/esptool_py/esptool/esptool.py;--chip;esp32 -D SERIAL_TOOL_ARGS=--before=default_reset;--after=hard_reset;write_flash;@flash_args -D WORKING_DIRECTORY=C:/FC_ESP/mtxesp32s_sdkconfig/build -P C:/FC_ESP/frameworks/esp-idf-v5.3.1/components/esptool_py/run_serial_tool.cmake"
Executing action: flash
Running ninja in directory C:\FC_ESP\mtxesp32s_sdkconfig\build
Executing "ninja flash"...
Done


FINISHED
