How to set up the software development environment ESP-IDF for ESP32-S3

This blog will be divided into two parts:

  1. Configure ESP32-S3 software development environment on Ubuntu
  2. Configure ESP32-S3 software development environment on Windows

1 Configure ESP32-S3 software development environment on Ubuntu

We recommend that you use Ubuntu environment to set up the ESP-IDF compilation environment. Compiling on Ubuntu is faster. The steps for setting up an environment on Ubuntu18.04 are as follows :

Step 1: Install Prerequisites

  • Install software packages for compiling ESP-IDF
sudo apt-get install git wget flex bison gperf python3 python3-pip python3-setuptools cmake ninja-build ccache libffi-dev libssl-dev dfu-util libusb-1.0-0
  • Install Python 3.8
sudo apt-get install python3.8-venv python3.8-dev
  • Select the Python3 environment
sudo update-alternatives --config python

Note : Install the following Python packages using pip

python -m pip install pyyaml xlrd

python -m pip --version
  • Install the curses
sudo apt-get install libncurses5-dev

Step 2: Get ESP-IDF

mkdir -p ~/esp

cd ~/esp

git clone -b release/v4.4 --recursive https://github.com/espressif/esp-idf.git

cd esp-idf

git submodule update --init --recursive

git pull

Step 3: Set up the tools

cd ~/esp/esp-idf

./install.sh

Step 4: Set up the environment variables

cd esp-idf 

pwd

export IDF_PATH=$(pwd)

. ./export.sh

Step 5:Start a Project

cd ~/esp-idf/examples/get-started/hello_world

idf.py set-target esp32s3

idf.py menuconfig

idf.py build

idf.py flash monitor

2 Configure ESP32-S3 software development environment on Windows

If you are using a Windows environment, we recommend that you use the Quick Setup Tool to install the ESP-IDF build environment with one click. Also, when selecting the ESP-IDF version, please select the latest release/v4.3 version.

在这里插入图片描述

Please use this:
在这里插入图片描述
在这里插入图片描述

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值