Esp idf projects: Difference between revisions
From Federal Burro of Information
Jump to navigationJump to search
No edit summary |
No edit summary |
||
Line 24: | Line 24: | ||
cp -r $IDF_PATH/examples/get-started/hello_world . | cp -r $IDF_PATH/examples/get-started/hello_world . | ||
idf.py set-target | idf.py set-target esp32c3 | ||
idf.py menuconfig | idf.py menuconfig | ||
idf.py build | |||
idf.py -p /dev/ttyUSB0 flash |
Revision as of 20:37, 23 September 2023
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'
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