Hello I am using ESP32 Devkit-C trying to compile the demo with Freertos package that i have downloaded from the AWS Console.
When i run the command : freertos\Vendors\espressif\esp-idf\export.bat
i get following errors :
Adding ESP-IDF tools to PATH...
Not using an unsupported version of tool cmake found in PATH: 3.20.0.
Not using an unsupported version of tool ninja found in PATH: 1.10.2.
fatal: not a git repository (or any of the parent directories): .git
Traceback (most recent call last):
File "C:\Users\Naitik\Desktop\AFR_Project\FreeRTOS\vendors\espressif\esp-idf\tools\idf_tools.py", line 1358, in <module>
main(sys.argv[1:])
File "C:\Users\Naitik\Desktop\AFR_Project\FreeRTOS\vendors\espressif\esp-idf\tools\idf_tools.py", line 1354, in main
action_func(args)
File "C:\Users\Naitik\Desktop\AFR_Project\FreeRTOS\vendors\espressif\esp-idf\tools\idf_tools.py", line 980, in action_export
idf_python_env_path, idf_python_export_path, virtualenv_python = get_python_env_path()
File "C:\Users\Naitik\Desktop\AFR_Project\FreeRTOS\vendors\espressif\esp-idf\tools\idf_tools.py", line 840, in get_python_env_path
idf_version_str = subprocess.check_output(['git', '--work-tree=' + global_idf_path, 'describe', '--tags'], cwd=global_idf_path, env=os.environ).decode()
File "C:\Program Files\Python38\lib\subprocess.py", line 415, in check_output
return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
File "C:\Program Files\Python38\lib\subprocess.py", line 516, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['git', '--work-tree=C:\\Users\\Naitik\\Desktop\\AFR_Project\\FreeRTOS\\vendors\\espressif\\esp-idf', 'describe', '--tags']' returned non-zero exit status 128
Can anyone please Point out Why these errors are happening ?