Target folder: C:\Users\palan\Downloads
Source name:   C:\Users\palan\Downloads\Stomini.fcfx
Title:         
Description:   
Device:        ESP.ESP32.ESP32-S2_MINI
Generated by:  Flowcode v10.1.2.40
Date:          Thursday, August 14, 2025 20:22:04
Users:         1
Registered to: karthickefy (98483666)
Licence key: 2XERHB
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\\" "Stomini" "C:\Users\palan\Downloads\" esp32_s2_sdkconfig  esp32s2 

C:\Users\palan\Downloads>REM CRC: 0796FC1E6A776AF9156B257209C35258CE7C28B3EC20AEA2C632DB392A0E4BFD5B3F53B21811978F7B21FE4085045A7E774D1D3D69D8A99EE7320EAE740A5DB60228F42835EF5B88138FDEE58A4EE9C3A4BAF1B34E38B68E0C3CAEE8E7DA6987B808018476405B65B199900461C78937B42DEF8219F63A24580137A2F6C8FDB7553324EFF791947E8AB6FFD612B81BAA97C798A8F1CFC189DE5D38517747C774AF2DD6F839BAECF83F7F994C7164CE77868F480396BDEF2F2C3050DA273BE4EE69F15C302679453617F9EA00A6A8712D05E485F25DB02304E4565E63FDA312627DD474674123A97D 

C:\Users\palan\Downloads>REM REVISION: 15.0 

C:\Users\palan\Downloads>REM GUID: 955EA920-4961-4C53-BA6B-EF4AF66BB4C2 

C:\Users\palan\Downloads>REM DATE: 07\04\2025 

C:\Users\palan\Downloads>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: Stomini ...
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: esp32s2 ...
[1/9] Performing build step for 'bootloader'
[1/1] cmd.exe /C "cd /D C:\FC_ESP\mtxesp32_s2_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/mtxesp32_s2_sdkconfig/build/bootloader/bootloader.bin"
Bootloader binary size 0x5600 bytes. 0x1a00 bytes (23%) free.
[2/7] Building C object esp-idf/main/CMakeFiles/__idf_main.dir
. . . . . . . . . . .

/esp-project.c.obj
[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 esp32s2 image...
Merged 2 ELF sections
Successfully created esp32s2 image.
Generated C:/FC_ESP/mtxesp32_s2_sdkconfig/build/esp-project.bin
[7/7] cmd.exe /C "cd /D C:\FC_ESP\mtxesp32_s2_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/mtxesp32_s2_sdkconfig/build/partition_table/partition-table.bin C:/FC_ESP/mtxesp32_s2_sdkconfig/build/esp-project.bin"
esp-project.bin binary size 0x33b80 bytes. Smallest app partition is 0x100000 bytes. 0xcc480 bytes (80%) free.
Executing action: all (aliases: build)
Running ninja in directory C:\FC_ESP\mtxesp32_s2_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 esp32s2 -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\mtxesp32_s2_sdkconfig\build" directory
 python -m esptool --chip esp32s2 -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\mtxesp32_s2_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/mtxesp32_s2_sdkconfig/build/partition_table/partition-table.bin C:/FC_ESP/mtxesp32_s2_sdkconfig/build/esp-project.bin"
esp-project.bin binary size 0x33b80 bytes. Smallest app partition is 0x100000 bytes. 0xcc480 bytes (80%) free.
[2/4] Performing build step for 'bootloader'
[1/1] cmd.exe /C "cd /D C:\FC_ESP\mtxesp32_s2_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/mtxesp32_s2_sdkconfig/build/bootloader/bootloader.bin"
Bootloader binary size 0x5600 bytes. 0x1a00 bytes (23%) free.
                            Memory Type Usage Summary                             
+--------------------------------------------------------------------------------+
| Memory Type/Section | Used [bytes] | Used [%] | Remain [bytes] | Total [bytes] |
|---------------------+--------------+----------+----------------+---------------|
| Flash Code          |       110314 |      1.4 |        7753974 |       7864288 |
|    .text            |       110314 |      1.4 |                |               |
| DIRAM               |        62707 |    36.45 |         109325 |        172032 |
|    .text            |        51836 |    30.13 |                |               |
|    .data            |         7716 |     4.49 |                |               |
|    .bss             |         2128 |     1.24 |                |               |
|    .vectors         |         1027 |      0.6 |                |               |
| Flash Data          |        40844 |     0.99 |        4087892 |       4128736 |
|    .rodata          |        40588 |     0.98 |                |               |
|    .appdesc         |          256 |     0.01 |                |               |
| RTC FAST            |           40 |     0.49 |           8152 |          8192 |
|    .rtc_reserved    |           24 |     0.29 |                |               |
+--------------------------------------------------------------------------------+
Total image size: 211737 bytes (.bin may be padded larger)
[0/1] cmd.exe /C "cd /D C:\FC_ESP\mtxesp32_s2_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/mtxesp32_s2_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\mtxesp32_s2_sdkconfig\build
Executing "ninja all"...
Running ninja in directory C:\FC_ESP\mtxesp32_s2_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\\" "Stomini" "C:\Users\palan\Downloads\" COM10 115200 esp32_s2_sdkconfig  esp32s2 

C:\Users\palan\Downloads>REM CRC: 0796FC1E6A776AF9156B257209C35258CE7C28B3EC20AEA2C632DB392A0E4BFD51BCA0B0BE9D29A6967C85454D48D34EF6A4CCB7873802B223E4F4A1008A35919CE852FCC2E76CD08880CFFD18B90BBB3A0DDF873040DD7BD8DA408700E5719BF06422213D4689B236704C7C6C9A47105E07F5A3DAE9F727EBE89217067498807D244771FDC991670F5FFC06582E728E4759676487E14245E7CE4E83DB1D25714B4A4F3814D91BF78F4943FF2251F1F8F8986F778F588E992C3050DA273BE4EED69D378A7502D658A41674B02394C7C399AE4FB97F2182026F5155CB06B551640B4EDED414B02673 

C:\Users\palan\Downloads>REM REVISION: 9.0 

C:\Users\palan\Downloads>REM GUID: 23F1E3A0-C4DC-4746-B4FD-05C4AFBA61E9 

C:\Users\palan\Downloads>REM DATE: 15\10\2024 

C:\Users\palan\Downloads>REM DIR: FCD\ESP\Batch\esp32_prog.bat 
Programming: Stomini ...
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\mtxesp32_s2_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/mtxesp32_s2_sdkconfig/build/partition_table/partition-table.bin C:/FC_ESP/mtxesp32_s2_sdkconfig/build/esp-project.bin"
esp-project.bin binary size 0x33b80 bytes. Smallest app partition is 0x100000 bytes. 0xcc480 bytes (80%) free.
[2/5] Performing build step for 'bootloader'
[1/1] cmd.exe /C "cd /D C:\FC_ESP\mtxesp32_s2_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/mtxesp32_s2_sdkconfig/build/bootloader/bootloader.bin"
Bootloader binary size 0x5600 bytes. 0x1a00 bytes (23%) free.
[2/3] cmd.exe /C "cd /D C:\FC_ESP\frameworks\esp-idf-v5.3.1\components\esptool_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;esp32s2 -D SERIAL_TOOL_ARGS=--before=default_reset;--after=hard_reset;write_flash;@flash_args -D WORKING_DIRECTORY=C:/FC_ESP/mtxesp32_s2_sdkconfig/build -P C:/FC_ESP/frameworks/esp-idf-v5.3.1/components/esptool_py/run_serial
esptool.py --chip esp32s2 -p COM10 -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 COM10
Connecting...
.

Chip is ESP32-S2FNR2 (revision v1.0)
Features: WiFi, Embedded Flash 4MB, Embedded PSRAM 2MB, ADC and temperature sensor calibration in BLK2 of efuse V2
Crystal is 40MHz
MAC: cc:8d:a2:89:59:d4
Uploading stub...
Running stub...
Stub running...
Configuring flash size...
Flash will be erased from 0x00001000 to 0x00006fff...
Flash will be erased from 0x00010000 to 0x00043fff...
Flash will be erased from 0x00008000 to 0x00008fff...
SHA digest in image updated
Compressed 22016 bytes to 13524...
Writing at 0x00001000... (14 %)
Writing at 0x00002555... (28 %)
Writing at 0x000031ed... (42 %)
Writing at 0x00003d8d... (57 %)
Writing at 0x000048a8... (71 %)
Writing at 0x00005299... (85 %)
Writing at 0x00005e51... (100 %)
Wrote 22016 bytes (13524 compressed) at 0x00001000 in 0.3 seconds (effective 508.3 kbit/s)...
Hash of data verified.
Compressed 211840 bytes to 109801...
Writing at 0x00010000... (1 %)
Writing at 0x000112b4... (3 %)
Writing at 0x00012ce1... (5 %)
Writing at 0x000144e8... (7 %)
Writing at 0x00015d30... (9 %)
Writing at 0x0001729c... (11 %)
Writing at 0x00018bcd... (12 %)
.

Writing at 0x0001a268... (14 %)
Writing at 0x0001c126... (16 %)
Writing at 0x0001cdbf... (18 %)
Writing at 0x0001d7a2... (20 %)
Writing at 0x0001e1d1... (22 %)
Writing at 0x0001ee2e... (24 %)
Writing at 0x0001f9b4... (25 %)
Writing at 0x000205f1... (27 %)
Writing at 0x000211d7... (29 %)
Writing at 0x00021cba... (31 %)
Writing at 0x00022786... (33 %)
Writing at 0x000231f6... (35 %)
Writing at 0x0002400b... (37 %)
Writing at 0x00024a93... (38 %)
Writing at 0x00025554... (40 %)
Writing at 0x00026120... (42 %)
Writing at 0x00027010... (44 %)
Writing at 0x00027a5d... (46 %)
Writing at 0x00028562... (48 %)
Writing at 0x000290be... (50 %)
Writing at 0x00029c34... (51 %)
Writing at 0x0002a771... (53 %)
Writing at 0x0002b271... (55 %)
Writing at 0x0002be06... (57 %)
Writing at 0x0002c8fd... (59 %)
Writing at 0x0002d584... (61 %)
Writing at 0x0002e9d4... (62 %)
Writing at 0x0002f867... (64 %)
Writing at 0x00032610... (66 %)
Writing at 0x00033c7f... (68 %)
Writing at 0x00035276... (70 %)
Writing at 0x00035c95... (72 %)
Writing at 0x00036677... (74 %)
Writing at 0x00038cbf... (75 %)
Writing at 0x00039a85... (77 %)
Writing at 0x0003a6ff... (79 %)
Writing at 0x0003b139... (81 %)
Writing at 0x0003befc... (83 %)
Writing at 0x0003c996... (85 %)
Writing at 0x0003d560... (87 %)
Writing at 0x0003e390... (88 %)
Writing at 0x0003f05f... (90 %)
Writing at 0x0003fdc9... (92 %)
Writing at 0x00040f3a... (94 %)
Writing at 0x0004196e... (96 %)
Writing at 0x00042501... (98 %)
Writing at 0x00043171... (100 %)
Wrote 211840 bytes (109801 compressed) at 0x00010000 in 1.7 seconds (effective 991.0 kbit/s)...
Hash of data verified.
Compressed 3072 bytes to 103...
Writing at 0x00008000... (100 %)
Wrote 3072 bytes (103 compressed) at 0x00008000 in 0.1 seconds (effective 464.2 kbit/s)...
Hash of data verified.

Leaving...
WARNING: ESP32-S2FNR2 (revision v1.0) chip was placed into download mode using GPIO0.
esptool.py can not exit the download mode over USB. To run the app, reset the chip manually.
To suppress this note, set --after option to 'no_reset'.
CMake Error at run_serial_tool.cmake:66 (message):
  
  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;esp32s2
  failed.
_tool.cmake"
FAILED: CMakeFiles/flash C:/FC_ESP/mtxesp32_s2_sdkconfig/build/CMakeFiles/flash 
cmd.exe /C "cd /D C:\FC_ESP\frameworks\esp-idf-v5.3.1\components\esptool_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;esp32s2 -D SERIAL_TOOL_ARGS=--before=default_reset;--after=hard_reset;write_flash;@flash_args -D WORKING_DIRECTORY=C:/FC_ESP/mtxesp32_s2_sdkconfig/build -P C:/FC_ESP/frameworks/esp-idf-v5.3.1/components/esptool_py/run_serial_tool.cmake"
ninja: build stopped: subcommand failed.
ninja failed with exit code 1
Executing action: flash
Running ninja in directory C:\FC_ESP\mtxesp32_s2_sdkconfig\build
Executing "ninja flash"...
Programming Failed.

C:\ProgramData\MatrixTSL\FlowcodeV10\FCD\ESP\Batch\esp32_prog.bat reported error code 0x1

Autoclose turned off


FINISHED
