第10行: | 第10行: | ||
See https://idf.espressif.com/ for links to detailed instructions on how to set up the ESP-IDF depending on chip you use. | See https://idf.espressif.com/ for links to detailed instructions on how to set up the ESP-IDF depending on chip you use. | ||
* Standard Toolchain Setup for Linux and macOS<ref>https://docs.espressif.com/projects/esp-idf/en/ | * Standard Toolchain Setup for Linux and macOS<ref>https://docs.espressif.com/projects/esp-idf/en/v5.4.1/esp32s3/get-started/linux-macos-setup.html#get-started-set-up-tools</ref> | ||
* vscode extension<ref>https://github.com/espressif/vscode-esp-idf-extension/blob/master/README.md</ref> | * vscode extension<ref>https://github.com/espressif/vscode-esp-idf-extension/blob/master/README.md</ref> | ||
第19行: | 第19行: | ||
cd ~/esp | cd ~/esp | ||
git clone --recursive https://github.com/espressif/esp-idf.git | git clone --recursive https://github.com/espressif/esp-idf.git | ||
</syntaxhighlight> | |||
Aside from the ESP-IDF, you also need to install the tools used by ESP-IDF, such as the compiler, debugger, Python packages, etc, for projects supporting ESP32. | |||
<syntaxhighlight lang="cpp"> | |||
cd ~/esp/esp-idf | |||
./install.sh esp32s3 | |||
</syntaxhighlight> | </syntaxhighlight> | ||
2025年3月29日 (六) 02:29的版本
Development on Mac
Install Prerequisites
brew install cmake ninja dfu-util
Get ESP-IDF
See https://idf.espressif.com/ for links to detailed instructions on how to set up the ESP-IDF depending on chip you use.
Need to install esp-idf
mkdir -p ~/esp
cd ~/esp
git clone --recursive https://github.com/espressif/esp-idf.git
Aside from the ESP-IDF, you also need to install the tools used by ESP-IDF, such as the compiler, debugger, Python packages, etc, for projects supporting ESP32.
cd ~/esp/esp-idf
./install.sh esp32s3
Vscode extension
- ↑ https://docs.espressif.com/projects/esp-idf/en/stable/esp32/get-started/linux-macos-setup.html#get-started-prerequisites
- ↑ https://docs.espressif.com/projects/esp-idf/en/v5.4.1/esp32s3/get-started/linux-macos-setup.html#get-started-set-up-tools
- ↑ https://github.com/espressif/vscode-esp-idf-extension/blob/master/README.md