Problems with compiling, flashing and serial monitor
Posted: Sun Oct 24, 2021 8:25 am
Hello,
I am trying to set up the ESP IDF with Ecclipse. I followed the tutorial from here https://github.com/espressif/idf-eclips ... /README.md
Now if I try to compile, I get this error:
If I clean the code I get this error:
If I try to launch the code I get this error:
I configured everything according to the tutorial. And also entered the correct comport. So what is missing in my config to compile it correctly?
Thank you
Kind regards
I am trying to set up the ESP IDF with Ecclipse. I followed the tutorial from here https://github.com/espressif/idf-eclips ... /README.md
Now if I try to compile, I get this error:
Code: Select all
[1/307] cmd.exe /C "cd /D D:\EclipseWorkspace\hello_world\build\bootloader && C:\.espressif\tools\cmake\3.16.4\bin\cmake.exe --build ."
ninja: no work to do.
[2/305] cmd.exe /C "cd /D D:\EclipseWorkspace\hello_world\build\esp-idf\mbedtls && python D:/EclipseWorkspace/esp-idf-v4.3.1/components/mbedtls/esp_crt_bundle/gen_crt_bundle.py --input D:/EclipseWorkspace/esp-idf-v4.3.1/components/mbedtls/esp_crt_bundle/cacrt_all.pem -q"
FAILED: esp-idf/mbedtls/x509_crt_bundle
cmd.exe /C "cd /D D:\EclipseWorkspace\hello_world\build\esp-idf\mbedtls && python D:/EclipseWorkspace/esp-idf-v4.3.1/components/mbedtls/esp_crt_bundle/gen_crt_bundle.py --input D:/EclipseWorkspace/esp-idf-v4.3.1/components/mbedtls/esp_crt_bundle/cacrt_all.pem -q"
gen_crt_bundle.py: Invalid certificate in D:/EclipseWorkspace/esp-idf-v4.3.1/components/mbedtls/esp_crt_bundle/cacrt_all.pem
Invalid certificate
ninja: build stopped: subcommand failed.
Code: Select all
FAILED: esp-idf/mbedtls/x509_crt_bundle
cmd.exe /C "cd /D D:\EclipseWorkspace\hello_world\build\esp-idf\mbedtls && python D:/EclipseWorkspace/esp-idf-v4.3.1/components/mbedtls/esp_crt_bundle/gen_crt_bundle.py --input D:/EclipseWorkspace/esp-idf-v4.3.1/components/mbedtls/esp_crt_bundle/cacrt_all.pem -q"
gen_crt_bundle.py: Invalid certificate in D:/EclipseWorkspace/esp-idf-v4.3.1/components/mbedtls/esp_crt_bundle/cacrt_all.pem
Invalid certificate
ninja: build stopped: subcommand failed.
Code: Select all
ninja: no work to do.
[2/306] Generating x509_crt_bundle
FAILED: esp-idf/mbedtls/x509_crt_bundle
cmd.exe /C "cd /D D:\EclipseWorkspace\hello_world\build\esp-idf\mbedtls && python D:/EclipseWorkspace/esp-idf-v4.3.1/components/mbedtls/esp_crt_bundle/gen_crt_bundle.py --input D:/EclipseWorkspace/esp-idf-v4.3.1/components/mbedtls/esp_crt_bundle/cacrt_all.pem -q"
gen_crt_bundle.py: Invalid certificate in D:/EclipseWorkspace/esp-idf-v4.3.1/components/mbedtls/esp_crt_bundle/cacrt_all.pem
Invalid certificate
ninja: build stopped: subcommand failed.
ninja failed with exit code 1
Executing action: flash
Running ninja in directory d:\eclipseworkspace\hello_world\build
Executing "ninja flash"...
Thank you
Kind regards