1- The following is the error when I try to flash the board with MinGW64.
C:\FreeRTOS\vendors\espressif\esp-idf\tools>idf.py flash -B C:\FreeRTOS\Builds
Note: You are using Python 3.8.2. Python 3 support is new, please report any problems you encounter. Search for ‘Setting the Python Interpreter’ in the ESP-IDF docs if you want to use Python 2.7.
Setting IDF_PATH environment variable: C:\FreeRTOS\vendors\espressif\esp-idf
Checking Python dependencies…
Python requirements from C:\FreeRTOS\vendors\espressif\esp-idf\requirements.txt are satisfied.
CMakeLists.txt not found in project directory C:\FreeRTOS\vendors\espressif\esp-idf\tools
2- I am getting a CMakeLists.txt error because apparently there is no CMakeLists.txt in the folder C:\FreeRTOS\vendors\espressif\esp-idf\tools
I have downloaded the ESP32 DevKit C from the official AWS SDK resources. The CMakeLists.txt is available in FreeRTOS folder but it is not present in the C:\FreeRTOS\vendors\espressif\esp-idf\tools folder. Due to this reason, I am not able to flash the code.
3- However the ESP flashing part: ./vendors/espressif/esp-idf/tools/idf.py erase_flash -B build-directory works and the ESP is able to reset successfully.
4- Also the monitoring part: ./vendors/espressif/esp-idf/tools/idf.py monitor -p /dev/ttyUSB1 -B build-directory does work partially too, It does not ask for a CMakeLists.
A Solution to this issue would be highly appreciated.