Esp idf projects: Difference between revisions

From Federal Burro of Information
Jump to navigationJump to search
(Created page with "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. == For every example project == . $HOME/esp/esp-idf/export.sh alias get_idf='. $HOME/esp/esp-idf/export.sh'")
 
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 12: Line 12:


I learned some stuff.
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 ==
== For every example project ==
Line 20: Line 26:


  alias get_idf='. $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
[[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