Esp idf projects: Difference between revisions
From Federal Burro of Information
Jump to navigationJump to search
No edit summary |
No edit summary |
||
Line 36: | Line 36: | ||
idf.py -p /dev/ttyUSB0 flash | idf.py -p /dev/ttyUSB0 flash | ||
[[Category: Electronics]] | |||
[[Category: Arduino]] | |||
[[Category: ESP]] |
Latest revision as of 23:03, 26 October 2024
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