Esp idf projects
From Federal Burro of Information
Jump to navigationJump to search
I was having trouble "doing" arduino on an ESP32 C3 Dev board.
So I went to the vendor and asked: how do?
https://docs.espressif.com/projects/esp-idf/en/stable/esp32/get-started/linux-macos-setup.html
the code is here:
https://github.com/espressif/esp-idf
including examples and support for all their chips.
I learned some stuff.
not in the docs
for ubuntu add your user to ddialout group so that it can read/write to /devUSB0
set flash mode to DIO , not QIO
For every example project
. $HOME/esp/esp-idf/export.sh
alias get_idf='. $HOME/esp/esp-idf/export.sh'
cd ~/esp cp -r $IDF_PATH/examples/get-started/hello_world .
idf.py set-target esp32c3 idf.py menuconfig
idf.py build
idf.py -p /dev/ttyUSB0 flash