Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
tools:espidf [2023/10/03 16:11] – [User] darron | tools:espidf [2024/10/02 00:38] (current) – [Setup] darron | ||
---|---|---|---|
Line 19: | Line 19: | ||
</ | </ | ||
- | Debian bullseye has python 3 but on buster python 3 will need to be the default version. | + | Python3 |
- | + | ||
- | < | + | |
- | update-alternatives --remove-all python | + | |
- | update-alternatives --install / | + | |
- | update-alternatives --install / | + | |
- | update-alternatives --config python | + | |
- | python -V | + | |
- | Python 3.7.3 | + | |
- | </ | + | |
=== User === | === User === | ||
Line 42: | Line 33: | ||
< | < | ||
vi ~esp/ | vi ~esp/ | ||
- | </cod> | + | </code> |
< | < | ||
Line 52: | Line 43: | ||
=== Install=== | === Install=== | ||
- | Clone dev kit into home dir. | + | Login as user esp |
< | < | ||
/bin/su - esp | /bin/su - esp | ||
+ | </ | ||
+ | |||
+ | Clone dev kit into home dir. | ||
+ | |||
+ | < | ||
git clone --recursive https:// | git clone --recursive https:// | ||
</ | </ | ||
Line 67: | Line 63: | ||
Finalise installation | Finalise installation | ||
+ | |||
< | < | ||
- | . ./export.sh | + | . ~/esp-idf/export.sh |
</ | </ | ||
+ | |||
+ | If it complains about openocd... | ||
+ | |||
+ | < | ||
+ | / | ||
+ | </ | ||
+ | |||
+ | Save the configuration | ||
+ | |||
+ | < | ||
+ | echo ". ~/ | ||
+ | </ | ||
+ | |||
+ | Logout from user esp | ||
+ | |||
+ | < | ||
+ | exit | ||
+ | </ | ||
+ | |||
===Test=== | ===Test=== | ||
- | Build the blinky test. | + | Login as user esp |
+ | |||
+ | < | ||
+ | /bin/su - esp | ||
+ | </ | ||
+ | |||
+ | Enter the hello world example dir | ||
+ | |||
+ | < | ||
+ | cd ~/ | ||
+ | </ | ||
+ | |||
+ | Build | ||
< | < | ||
- | cd ~/ | ||
idf.py build | idf.py build | ||
</ | </ | ||
- | Expect this to take some time. | ||
=== Resources === | === Resources === | ||
+ | |||
+ | [[https:// | ||
[[https:// | [[https:// | ||
+ | [[https:// |