Open MrYanLK opened 1 year ago
明明有安装pip模块,为啥还提示这个
哦我知道了,是没有运行esp-idf下的. ./export.sh进行配置,现在可以了,但是我想编译一版8266的AT固件,我现在执行./build.py install提示如下:没有esp8266的选项?
是需要git checkout release/v2.2.0.0_esp8266 切换分支吧?但是我看乐鑫官网已经有v2.2.1版本了,是否分支也要切换到v2.2.1
请帮忙看一下这是什么问题,编译失败了
root@DESKTOP-6TBOMGV:/home/ylk/esp/esp-at# root@DESKTOP-6TBOMGV:/home/ylk/esp/esp-at# git checkout release/v2.2.0.0_esp8266 Already on 'release/v2.2.0.0_esp8266' Your branch is up to date with 'origin/release/v2.2.0.0_esp8266'. root@DESKTOP-6TBOMGV:/home/ylk/esp/esp-at# ./build.py menuconfig Platform name:
Module name:
Enable silence mode to remove some logs and reduce the firmware size?
You are in 'detached HEAD' state. You can look around, make experimental changes and commit them, and you can discard any commits you make in this state without impacting any branches by switching back to a branch.
If you want to create a new branch to retain commits you create, you may do so (now or later) by using -c with the switch command. Example:
git switch -c
Or undo this operation with:
git switch -
Turn off this advice by setting config variable advice.detachedHead to false
HEAD is now at e3348ac7 Merge branch 'bugfix/fix_scan_state_err_v3.4' into 'release/v3.4' Submodule 'ext/tinydtls' (https://git.eclipse.org/r/tinydtls/org.eclipse.tinydtls) registered for path 'components/coap/libcoap/ext/tinydtls' Cloning into '/home/ylk/esp/esp-at/esp-idf/components/coap/libcoap/ext/tinydtls'... Submodule path 'components/coap/libcoap/ext/tinydtls': checked out '3b24a701ed5b0785306aa732e739ecb1eb3d03f8' Update completed patches check completed for updates. WARNING: IDF_PATH environment variable is set to /home/ylk/esp-idf but esp-idf/tools/idf.py path indicates IDF directory /home/ylk/esp/esp-at/esp-idf. Using the environment variable directory, but results may be unexpected... Checking Python dependencies... Python requirements from /home/ylk/esp-idf/requirements.txt are satisfied. Executing action: menuconfig Running cmake in directory /home/ylk/esp/esp-at/build Executing "cmake -G Ninja -DPYTHON_DEPS_CHECKED=1 -DESP_PLATFORM=1 -DIDF_TARGET=esp8266 -DCCACHE_ENABLE=0 /home/ylk/esp/esp-at"... silence:0 sdkconfig:/home/ylk/esp/esp-at/module_config/module_esp8266_default/sdkconfig.defaults CMake Warning at esp-idf/tools/cmake/idf.cmake:14 (message): IDF_PATH environment variable is different from inferred IDF_PATH.
Check if your project's top-level CMakeLists.txt includes the right
CMake files. Environment IDF_PATH will be used for the build.
Call Stack (most recent call first): esp-idf/tools/cmake/project.cmake:7 (include) CMakeLists.txt:53 (include)
-- Found Git: /usr/bin/git (found version "2.25.1") CMake Warning at /home/ylk/esp-idf/tools/cmake/git_submodules.cmake:52 (message): Git submodule components/esp_wifi/lib is out of date. Run 'git submodule update --init --recursive' to fix. Call Stack (most recent call first): /home/ylk/esp-idf/tools/cmake/build.cmake:77 (git_submodule_check) /home/ylk/esp-idf/tools/cmake/build.cmake:175 (build_get_idf_git_revision) esp-idf/tools/cmake/idf.cmake:43 (build_init) esp-idf/tools/cmake/project.cmake:7 (include) CMakeLists.txt:53 (include)
CMake Warning at /home/ylk/esp-idf/tools/cmake/git_submodules.cmake:52 (message): Git submodule components/esptool_py/esptool is out of date. Run 'git submodule update --init --recursive' to fix. Call Stack (most recent call first): /home/ylk/esp-idf/tools/cmake/build.cmake:77 (git_submodule_check) /home/ylk/esp-idf/tools/cmake/build.cmake:175 (build_get_idf_git_revision) esp-idf/tools/cmake/idf.cmake:43 (build_init) esp-idf/tools/cmake/project.cmake:7 (include) CMakeLists.txt:53 (include)
CMake Warning at /home/ylk/esp-idf/tools/cmake/git_submodules.cmake:52 (message): Git submodule components/expat/expat is out of date. Run 'git submodule update --init --recursive' to fix. Call Stack (most recent call first): /home/ylk/esp-idf/tools/cmake/build.cmake:77 (git_submodule_check) /home/ylk/esp-idf/tools/cmake/build.cmake:175 (build_get_idf_git_revision) esp-idf/tools/cmake/idf.cmake:43 (build_init) esp-idf/tools/cmake/project.cmake:7 (include) CMakeLists.txt:53 (include)
CMake Warning at /home/ylk/esp-idf/tools/cmake/git_submodules.cmake:52 (message): Git submodule components/ieee802154/lib is out of date. Run 'git submodule update --init --recursive' to fix. Call Stack (most recent call first): /home/ylk/esp-idf/tools/cmake/build.cmake:77 (git_submodule_check) /home/ylk/esp-idf/tools/cmake/build.cmake:175 (build_get_idf_git_revision) esp-idf/tools/cmake/idf.cmake:43 (build_init) esp-idf/tools/cmake/project.cmake:7 (include) CMakeLists.txt:53 (include)
CMake Warning at /home/ylk/esp-idf/tools/cmake/git_submodules.cmake:52 (message): Git submodule components/json/cJSON is out of date. Run 'git submodule update --init --recursive' to fix. Call Stack (most recent call first): /home/ylk/esp-idf/tools/cmake/build.cmake:77 (git_submodule_check) /home/ylk/esp-idf/tools/cmake/build.cmake:175 (build_get_idf_git_revision) esp-idf/tools/cmake/idf.cmake:43 (build_init) esp-idf/tools/cmake/project.cmake:7 (include) CMakeLists.txt:53 (include)
CMake Warning at /home/ylk/esp-idf/tools/cmake/git_submodules.cmake:52 (message): Git submodule components/libsodium/libsodium is out of date. Run 'git submodule update --init --recursive' to fix. Call Stack (most recent call first): /home/ylk/esp-idf/tools/cmake/build.cmake:77 (git_submodule_check) /home/ylk/esp-idf/tools/cmake/build.cmake:175 (build_get_idf_git_revision) esp-idf/tools/cmake/idf.cmake:43 (build_init) esp-idf/tools/cmake/project.cmake:7 (include) CMakeLists.txt:53 (include)
CMake Warning at /home/ylk/esp-idf/tools/cmake/git_submodules.cmake:52 (message): Git submodule components/lwip/lwip is out of date. Run 'git submodule update --init --recursive' to fix. Call Stack (most recent call first): /home/ylk/esp-idf/tools/cmake/build.cmake:77 (git_submodule_check) /home/ylk/esp-idf/tools/cmake/build.cmake:175 (build_get_idf_git_revision) esp-idf/tools/cmake/idf.cmake:43 (build_init) esp-idf/tools/cmake/project.cmake:7 (include) CMakeLists.txt:53 (include)
CMake Warning at /home/ylk/esp-idf/tools/cmake/git_submodules.cmake:52 (message): Git submodule components/mbedtls/mbedtls is out of date. Run 'git submodule update --init --recursive' to fix. Call Stack (most recent call first): /home/ylk/esp-idf/tools/cmake/build.cmake:77 (git_submodule_check) /home/ylk/esp-idf/tools/cmake/build.cmake:175 (build_get_idf_git_revision) esp-idf/tools/cmake/idf.cmake:43 (build_init) esp-idf/tools/cmake/project.cmake:7 (include) CMakeLists.txt:53 (include)
CMake Warning at /home/ylk/esp-idf/tools/cmake/git_submodules.cmake:52 (message): Git submodule components/mqtt/esp-mqtt is out of date. Run 'git submodule update --init --recursive' to fix. Call Stack (most recent call first): /home/ylk/esp-idf/tools/cmake/build.cmake:77 (git_submodule_check) /home/ylk/esp-idf/tools/cmake/build.cmake:175 (build_get_idf_git_revision) esp-idf/tools/cmake/idf.cmake:43 (build_init) esp-idf/tools/cmake/project.cmake:7 (include) CMakeLists.txt:53 (include)
CMake Warning at /home/ylk/esp-idf/tools/cmake/git_submodules.cmake:52 (message): Git submodule components/nghttp/nghttp2 is out of date. Run 'git submodule update --init --recursive' to fix. Call Stack (most recent call first): /home/ylk/esp-idf/tools/cmake/build.cmake:77 (git_submodule_check) /home/ylk/esp-idf/tools/cmake/build.cmake:175 (build_get_idf_git_revision) esp-idf/tools/cmake/idf.cmake:43 (build_init) esp-idf/tools/cmake/project.cmake:7 (include) CMakeLists.txt:53 (include)
CMake Warning at /home/ylk/esp-idf/tools/cmake/git_submodules.cmake:52 (message): Git submodule components/openthread/lib is out of date. Run 'git submodule update --init --recursive' to fix. Call Stack (most recent call first): /home/ylk/esp-idf/tools/cmake/build.cmake:77 (git_submodule_check) /home/ylk/esp-idf/tools/cmake/build.cmake:175 (build_get_idf_git_revision) esp-idf/tools/cmake/idf.cmake:43 (build_init) esp-idf/tools/cmake/project.cmake:7 (include) CMakeLists.txt:53 (include)
CMake Warning at /home/ylk/esp-idf/tools/cmake/git_submodules.cmake:52 (message): Git submodule components/openthread/openthread is out of date. Run 'git submodule update --init --recursive' to fix. Call Stack (most recent call first): /home/ylk/esp-idf/tools/cmake/build.cmake:77 (git_submodule_check) /home/ylk/esp-idf/tools/cmake/build.cmake:175 (build_get_idf_git_revision) esp-idf/tools/cmake/idf.cmake:43 (build_init) esp-idf/tools/cmake/project.cmake:7 (include) CMakeLists.txt:53 (include)
CMake Warning at /home/ylk/esp-idf/tools/cmake/git_submodules.cmake:52 (message): Git submodule components/protobuf-c/protobuf-c is out of date. Run 'git submodule update --init --recursive' to fix. Call Stack (most recent call first): /home/ylk/esp-idf/tools/cmake/build.cmake:77 (git_submodule_check) /home/ylk/esp-idf/tools/cmake/build.cmake:175 (build_get_idf_git_revision) esp-idf/tools/cmake/idf.cmake:43 (build_init) esp-idf/tools/cmake/project.cmake:7 (include) CMakeLists.txt:53 (include)
CMake Warning at /home/ylk/esp-idf/tools/cmake/git_submodules.cmake:52 (message): Git submodule components/spiffs/spiffs is out of date. Run 'git submodule update --init --recursive' to fix. Call Stack (most recent call first): /home/ylk/esp-idf/tools/cmake/build.cmake:77 (git_submodule_check) /home/ylk/esp-idf/tools/cmake/build.cmake:175 (build_get_idf_git_revision) esp-idf/tools/cmake/idf.cmake:43 (build_init) esp-idf/tools/cmake/project.cmake:7 (include) CMakeLists.txt:53 (include)
CMake Warning at /home/ylk/esp-idf/tools/cmake/git_submodules.cmake:52 (message): Git submodule components/tinyusb/tinyusb is out of date. Run 'git submodule update --init --recursive' to fix. Call Stack (most recent call first): /home/ylk/esp-idf/tools/cmake/build.cmake:77 (git_submodule_check) /home/ylk/esp-idf/tools/cmake/build.cmake:175 (build_get_idf_git_revision) esp-idf/tools/cmake/idf.cmake:43 (build_init) esp-idf/tools/cmake/project.cmake:7 (include) CMakeLists.txt:53 (include)
CMake Warning at /home/ylk/esp-idf/tools/cmake/git_submodules.cmake:52 (message): Git submodule components/unity/unity is out of date. Run 'git submodule update --init --recursive' to fix. Call Stack (most recent call first): /home/ylk/esp-idf/tools/cmake/build.cmake:77 (git_submodule_check) /home/ylk/esp-idf/tools/cmake/build.cmake:175 (build_get_idf_git_revision) esp-idf/tools/cmake/idf.cmake:43 (build_init) esp-idf/tools/cmake/project.cmake:7 (include) CMakeLists.txt:53 (include)
CMake Warning at /home/ylk/esp-idf/tools/cmake/git_submodules.cmake:52 (message): Git submodule examples/build_system/cmake/import_lib/main/lib/tinyxml2 is out of date. Run 'git submodule update --init --recursive' to fix. Call Stack (most recent call first): /home/ylk/esp-idf/tools/cmake/build.cmake:77 (git_submodule_check) /home/ylk/esp-idf/tools/cmake/build.cmake:175 (build_get_idf_git_revision) esp-idf/tools/cmake/idf.cmake:43 (build_init) esp-idf/tools/cmake/project.cmake:7 (include) CMakeLists.txt:53 (include)
CMake Warning at /home/ylk/esp-idf/tools/cmake/git_submodules.cmake:52 (message): Git submodule examples/peripherals/secure_element/atecc608_ecdsa/components/esp-cryptoauthlib is out of date. Run 'git submodule update --init --recursive' to fix. Call Stack (most recent call first): /home/ylk/esp-idf/tools/cmake/build.cmake:77 (git_submodule_check) /home/ylk/esp-idf/tools/cmake/build.cmake:175 (build_get_idf_git_revision) esp-idf/tools/cmake/idf.cmake:43 (build_init) esp-idf/tools/cmake/project.cmake:7 (include) CMakeLists.txt:53 (include)
CMake Error at /home/ylk/esp-idf/tools/cmake/targets.cmake:81 (message): Toolchain file /home/ylk/esp-idf/tools/cmake/toolchain-esp8266.cmake not found Call Stack (most recent call first): esp-idf/tools/cmake/project.cmake:245 (__target_set_toolchain) CMakeLists.txt:55 (project)
-- Configuring incomplete, errors occurred! cmake failed with exit code 1 idf.py build ret: 2 idf.py build failed root@DESKTOP-6TBOMGV:/home/ylk/esp/esp-at#
Hi ,我这边使用esp8266-s1模块,电脑端使用tcp调试助手做TCP server,模块连接server,服务端定时下发心跳,模块端收到消息后需要做出应答。使用乐鑫官网下载的最新固件没有问题,但是使用自己编译的AT固件就会出现不稳定,模块长时间接收不到心跳或者突然接收到一大堆心跳消息等,编译的固件和官网下载的都是v2.2.1版本,只是自己编译的改了个串口而已,将烧录和发AT都设置在uart0了,其他没动过,请问下这可能是什么原因造成的不稳定呢?能否原厂帮忙编译一下,配置烧录和发AT都在同口uart0
能否帮忙看看,此项目较为紧急
我在运行esp-at目录下的esp-idf/export.sh时报如下错误
You can download the firmware from https://github.com/espressif/esp-at/actions/runs/4753583231#artifacts
These docs may be all helpful: https://docs.espressif.com/projects/esp-at/en/latest/esp32/Compile_and_Develop/How_to_download_the_latest_temporary_version_of_AT_from_github.html
非常感谢,目前我测了一下这个固件,烧录和发AT是同口的,请问这个固件还要其他区别或者改动吗?能否给到客户作为量产固件呢?
软件没有什么变动,如果提供给客户,请自行备份好固件,并根据产品做功能验证
您好,客户反馈使用这个固件还是会出现通信不稳定,在13:11:47后又有8秒没接收到数据,请帮忙看下
使用下面红框中的就比较稳定,可惜这个固件烧录和发AT不是同串口,客户板子上没有预留发AT的IO13和IO15
模块内是不是带了某个操作系统,是不是操作系统的调度问题?
请问这是什么情况?![image](https://user-images.githubusercontent.com/129147916/233522862-c20e4ab8-8392-4a1e-aa7c-43b505e30957.png)