ESP32-S3-DevKitC-1 and ESP-IDF
Posted: Thu Nov 24, 2022 12:32 pm
I have virtually no experience working with ESP32. I have installed VS Code and then PlatformIO and ESP-IDF within VS Code. ESP-IDF appears to be version 1.5.1 (which seem to either be hopelessly obsolete or not matching the ESP-IDF version numbers distributed on github and elsewhere). When I attempt to create a new project on my ESP32-S3-DevKitC-1 it gives me a framework option of Arduino, and nothing else. How do I use the Espressif IoT Development Framework instead of Arduino?
As a side note, I was able to "get it to work" by selecting a different board however I attempted to use xTaskDelayUntil, which didn't work. It appears I need to add "#define INCLUDE_xTaskDelayUntil 1" to FreeRTOSConfig.h, but according to this website:
https://docs.espressif.com/projects/esp ... ertos.html
You should use "menuconfig" (idf.py menuconfig) but there is no clear explanation as to where this should be run. However, I tried running "idf.py" as well as "idf.py menuconfig", and in both cases I get:
"Traceback (most recent call last):
File "C:\Espressif\frameworks\esp-idf-v4.4.3\tools\idf.py", line 36, in <module>
from idf_py_actions.tools import executable_exists, idf_version, merge_action_lists, realpath # noqa: E402
File "C:\Espressif\frameworks\esp-idf-v4.4.3\tools\idf_py_actions\tools.py", line 7, in <module>
import click
ModuleNotFoundError: No module named 'click'"
As a side note, I was able to "get it to work" by selecting a different board however I attempted to use xTaskDelayUntil, which didn't work. It appears I need to add "#define INCLUDE_xTaskDelayUntil 1" to FreeRTOSConfig.h, but according to this website:
https://docs.espressif.com/projects/esp ... ertos.html
You should use "menuconfig" (idf.py menuconfig) but there is no clear explanation as to where this should be run. However, I tried running "idf.py" as well as "idf.py menuconfig", and in both cases I get:
"Traceback (most recent call last):
File "C:\Espressif\frameworks\esp-idf-v4.4.3\tools\idf.py", line 36, in <module>
from idf_py_actions.tools import executable_exists, idf_version, merge_action_lists, realpath # noqa: E402
File "C:\Espressif\frameworks\esp-idf-v4.4.3\tools\idf_py_actions\tools.py", line 7, in <module>
import click
ModuleNotFoundError: No module named 'click'"