Hello everyone,
after strugeling for the last two weeks. I’ve finaly given in and i am seeking for help.
After trying the tutorial many times and looking up other peopls post on this forum, i don’t have anything working.
I have been following this tutorial:
Getting started with the Espressif ESP32-DevKitC and the ESP-WROVER-KIT on AWS
First i tried it on my windows computer and later with a linux (with which i didn’t came much further with)
The tutorial seems reasonable but without much experience with setting up programming enviroments, it is easy to get lost.
On the windows side it breaks when i use this line:
idf.py -DVENDOR=espressif -DBOARD=esp32_wrover_kit -DCOMPILER=xtensa-esp32 build
I get a lot of not used and undeclared.
if you wanna see the errors, ask and i’ll post
On the linux side
i get “idf.py: command not found”
And if i use it this manner : sudo python ./vendors/espressif/esp-idf/tools/idf.py -DVENDOR=espressif -DBOARD=esp32_devkitc -DCOMPILER=xtensa-esp32 build
I get a importerror : no module name click.
Furthermore, i have tried cmake gui. which gave a bit more hope but also gave me a lot of errors with but after changing some stuff. It gives me that ‘the following Python requirements are not satisfied’.
I know what i wrote is a bit all over the place. I have some questions ask and wondering if anyone can give a hand with this. Either by helping or giving some kind of advice. Right now i am bit confused by it all.
Questions:
Following the tutorial you need to install the toolchain of ESP so you get esp-idf installed. But when you install the amazon freertos it already comes with esp-idf. so what is the point to have both and which one are you supposed to use?
From what folder do you need to run it all from ?
from /FreeRTOS or do you need to inside of the demos ?
What cmd prompt are you supposed to use?
I’ve tried to use the mingw32, but I get all sorts of problems. Like not able to find idf.py or instead of running it. It just opens it in VS code.
So I’ve been using the esp-idf prompt cmd which fixed a lot.
What would be easier to use?
In the end i want to use either vscode or eclipse for this all But first i need to get this running.
I was wondering what would be easier to do ? the Cmake way or the Idf way?
I’ve tried both and both times i didn’t get it to work. But i would like to choose one to put my focus on