当前位置: 首页 > news >正文

Set-up ESP-AT Environment on Windows using CMD

Before you start, the following environments need to be installed:

  1. Git Bash
  2. Python environment, suggest Python version: 3.8.7. Please ensure the installation of Python v3.8 version environment, and remember to select the option “add to PATH” during the installation process.

Using Windows CMD terminal:

Press Win + R, then enter cmd to open CMD terminal.

Enter a local disk,create an empty folder, enter the folder you just created:

D:mkdir esp-atcd esp-at

Goto the new directory you just created and clone the esp-at repository.

You can clone the ESP-AT repository from Github or Gitee. Please note that you have to choose the right version for your board.

  • Option 1: Using ESP-AT Github

    git clone -b release/v2.2.0.0_esp32 https://github.com/espressif/esp-at.git
    cd esp-at 
    git pull
    git submodule update --init --recursive
    
  • Option 2: Using ESP-AT Gitee

    • First , you need to open the Git bash CMD to clone the ESP-AT SDK
      在这里插入图片描述

      git clone -b release/v2.2.0.0_esp32 https://gitee.com/EspressifSystems/esp-at.git
      
    • Then need to clone esp-gitee-tools

      git clone https://gitee.com/EspressifSystems/esp-gitee-tools.git
      
    • Next, goto the esp-gitee-tools directory and execute the following command:

      cd esp-gitee-tools
      pwd
      export EGT_PATH=$(pwd)
      
    • Last,Go back to the esp-at directory and execute the following command to clone the submodules of esp-at:

      $EGT_PATH/submodule-update.sh
      

Goto the esp-at directory and use the following command to install pip:

cd esp-atpython -m pip install pyyaml xlrdpython -m pip --version

在这里插入图片描述

In the esp-at directory, use the following command for module selection. This process will clone the esp-idf SDK in the esp-at directory:

python build.py menuconfig

在这里插入图片描述

Note:

  • ESP-AT Environment require python version 3.8. If you didn’t success at this step, check your python environment. Switch your IDF python version to 3.8. Suggest Python version: 3.8.7
  • If your Windows is using Python 3.8, you can use your CMD go to esp-at/esp-idf directory and run install.bat and export.bat. Then continue from install pip step.

Goto the esp-idf directory and use the following command to set up ESP-IDF

cd esp-idfset IDF_PATH=D:\esp-at\esp-at\esp-idfinstall.batexport.bat

Now, you can go back to esp-at directory and compile with the following command:

cd ..python build.py build

Introductions:

  • If you want to modify the factory config parameter of “esp-at” , Please modify the esp-at/components/customized_partitions/raw_data/factory_param/factory_param_data.csv file.
    在这里插入图片描述
  • If you want to enable the configuration of the " esp-at " command, you can enable the AT command support in " menuconfig ". As follows:

python build.py menuconfig -> Component config -> AT

在这里插入图片描述

http://www.lryc.cn/news/110189.html

相关文章:

  • SpringBoot中Redis报错:NOAUTH Authentication required
  • 需求飙升120%!芭比产品火爆出圈,意大利人争相购买!
  • echarts-pie---------3D曲状环形饼图实现!!!
  • 合并两个有序链表(leetcode)
  • CAS之AtomicReference原理解析
  • JS/JQ实现字符串加密成 HEX(十六进制) 字符串
  • 骨传导耳机怎么样?盘点五款适合室外佩戴的骨传导耳机
  • 【flink】使用flink-web-ui提交作业报错
  • 「从零入门推荐系统」22:chatGPT、大模型在推荐系统中的应用
  • 机器学习---概述(一)
  • 概念解析 | AutoFed:面向异构数据的联邦多模态自动驾驶的学习框架
  • vue3+uniapp自定义tabbar
  • stable diffusion webui 安装
  • csdn文章编辑器必备语法备用
  • 机器学习鲁棒性笔记
  • ubuntu 有 1 个软件包没有被完全安装或卸载
  • 【QT调用ST-link-使用QT编写程序-调用ST-LINK_CLI.exe-烧写STM32F4xxx-基础样例】
  • 高并发下的Java项目解决方案
  • 华为推出手机系统云翻新服务:什么是云翻新?如何使用?
  • 修改时间和创建时间的设计问题
  • CentOS 搭建 Harbor 镜像仓库(图文详解)
  • 【云原生】k8s组件架构介绍与K8s最新版部署
  • 你真的了解什么是生成式AI吗?
  • Linux--高级IO
  • 【C# 基础精讲】C# 开发环境搭建(Visual Studio等)
  • 谷粒商城第九天-解决商品品牌问题以及前后端使用检验框架检验参数
  • Java8函数式接口
  • .Net6 Web Core API --- Autofac -- AOP
  • RocketMQ基本概念和高级原理
  • 小白到运维工程师自学之路 第六十六集 (docker 网络模型)