esp-idf
The vscode config file
{
"configurations": [
{
"includePath": [
"${config:idf.espIdfPath}/components/**",
"${workspaceFolder}/**"
],
"browse": {
"path": [
"${config:idf.espIdfPath}/components"
],
"limitSymbolsToIncludedHeaders": false
}
}
],
"version": 4
}
Getting started / set up
Was considering using Platform.io, but I’d rather just have the full control. And esp32 has some good documentation / examples.
Ctrl+]
to exit, not Ctrl + c
With a new project
idf.py set-target esp32
You have a menu-config if you want
idf.py menuconfig
Then
idf.py build
And then flash
idf.py flash
You can monitor by doing this:
idf.py flash monitor
You can specify the port
idf.py -p PORT monitor
If you’re not sure about the port, do ls /dev/cu.*