Closed ailunwowo closed 12 months ago
- 口么
hal/efuse_hal.h: No such file or directory [{ "resource": "/c:/Espressif/frameworks/esp-idf-v4.4.4/components/bootloader_support/src/bootloader_clock_init.c", "owner": "cpp", "severity": 8, "message": "hal/efuse_hal.h: No such file or directory", "startLineNumber": 14, "startColumn": 10, "endLineNumber": 14, "endColumn": 10 }]
这个是啥原因呢?
你不是说是 5.0 的?咋又是 v4.4.4 ?
- 口么
hal/efuse_hal.h: No such file or directory [{ "resource": "/c:/Espressif/frameworks/esp-idf-v4.4.4/components/bootloader_support/src/bootloader_clock_init.c", "owner": "cpp", "severity": 8, "message": "hal/efuse_hal.h: No such file or directory", "startLineNumber": 14, "startColumn": 10, "endLineNumber": 14, "endColumn": 10 }]
这个是啥原因呢?
你不是说是 5.0 的?咋又是 v4.4.4 ?
不好意思看错了😥我以为你要我4.4的报错,下面是5.0的报错(不行的话我发工程给你你可以帮我编译一下试试吗?) -- Found Git: C:/Espressif/tools/idf-git/2.34.2/cmd/git.exe (found version "2.34.1.windows.1") -- The C compiler identification is GNU 11.2.0 -- The CXX compiler identification is GNU 11.2.0 -- The ASM compiler identification is GNU -- Found assembler: F:/ESP5.0/tools/xtensa-esp32s3-elf/esp-2022r1-11.2.0/xtensa-esp32s3-elf/bin/xtensa-esp32s3-elf-gcc.exe -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: F:/ESP5.0/tools/xtensa-esp32s3-elf/esp-2022r1-11.2.0/xtensa-esp32s3-elf/bin/xtensa-esp32s3-elf-gcc.exe - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: F:/ESP5.0/tools/xtensa-esp32s3-elf/esp-2022r1-11.2.0/xtensa-esp32s3-elf/bin/xtensa-esp32s3-elf-g++.exe - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Project is not inside a git repository, or git repository has no commits; will not use 'git describe' to determine PROJECT_VER. -- Building ESP-IDF components for target esp32s3 Processing 13 dependencies: [1/13] espressif/button (2.5.1) [2/13] espressif/cmake_utilities (0.4.4) [3/13] espressif/esp-dsp (1.3.0) [4/13] espressif/esp-sr (1.3.0) [5/13] espressif/esp_rainmaker (cc861bffc818c607e799f66c79923fd4e2d00447) [6/13] espressif/esp_schedule (cc861bffc818c607e799f66c79923fd4e2d00447) [7/13] espressif/esp_secure_cert_mgr (2.2.1) [8/13] espressif/json_generator (1.1.1) [9/13] espressif/json_parser (1.0.0) [10/13] espressif/mdns (1.0.9) [11/13] espressif/qrcode (0.1.0) [12/13] espressif/rmaker_common (1.3.0) [13/13] idf (5.0.1) CMake Error at F:/ESP5.0/esp-idf/tools/cmake/build.cmake:245 (message): Failed to resolve component 'esp32s3'. Call Stack (most recent call first): F:/ESP5.0/esp-idf/tools/cmake/build.cmake:287 (build_resolve_and_add_req) F:/ESP5.0/esp-idf/tools/cmake/build.cmake:282 (build_expand_requirements) F:/ESP5.0/esp-idf/tools/cmake/build.cmake:282 (build_expand_requirements) F:/ESP5.0/esp-idf/tools/cmake/build.cmake:282 (build_expand_requirements) F:/ESP5.0/esp-idf/tools/cmake/build.cmake:282 (build_expand_requirements) F:/ESP5.0/esp-idf/tools/cmake/build.cmake:282 (build_expand_requirements) F:/ESP5.0/esp-idf/tools/cmake/build.cmake:282 (build_expand_requirements) F:/ESP5.0/esp-idf/tools/cmake/build.cmake:282 (build_expand_requirements) F:/ESP5.0/esp-idf/tools/cmake/build.cmake:282 (build_expand_requirements) F:/ESP5.0/esp-idf/tools/cmake/build.cmake:282 (build_expand_requirements) F:/ESP5.0/esp-idf/tools/cmake/build.cmake:282 (build_expand_requirements) F:/ESP5.0/esp-idf/tools/cmake/build.cmake:574 (build_expand_requirements) F:/ESP5.0/esp-idf/tools/cmake/project.cmake:440 (idf_build_process) CMakeLists.txt:11 (project)
-- Configuring incomplete, errors occurred! See also "C:/ST/watering_demo/build/CMakeFiles/CMakeOutput.log".
- 口么
hal/efuse_hal.h: No such file or directory [{ "resource": "/c:/Espressif/frameworks/esp-idf-v4.4.4/components/bootloader_support/src/bootloader_clock_init.c", "owner": "cpp", "severity": 8, "message": "hal/efuse_hal.h: No such file or directory", "startLineNumber": 14, "startColumn": 10, "endLineNumber": 14, "endColumn": 10 }]
这个是啥原因呢?
你不是说是 5.0 的?咋又是 v4.4.4 ?
能帮忙编译一下吗?
我这是好的, 麻烦把你 esp-idf 的 commit id,box 工程的 commit id 给下
我这是好的, 麻烦把你 esp-idf 的 commit id,box 工程的 commit id 给下
esp-idf 的 a4afa44435ef4488d018399e1de50ad2ee964be8 box工程我可以直接发压缩包邮箱给你吗
我这是好的, 麻烦把你 esp-idf 的 commit id,box 工程的 commit id 给下
esp-idf 的 a4afa44435ef4488d018399e1de50ad2ee964be8 box工程我可以直接发压缩包邮箱给你吗
不用,你给我工程的 commit id 啊,我这保证你基础例程是 ok 的,我在准备一个 MR,写死 rainmaker 的版本号
我这是好的, 麻烦把你 esp-idf 的 commit id,box 工程的 commit id 给下
esp-idf 的 a4afa44435ef4488d018399e1de50ad2ee964be8 box工程我可以直接发压缩包邮箱给你吗
不用,你给我工程的 commit id 啊,我这保证你基础例程是 ok 的,我在准备一个 MR,写死 rainmaker 的版本号
请问一下咋看?
我这是好的, 麻烦把你 esp-idf 的 commit id,box 工程的 commit id 给下
esp-idf 的 a4afa44435ef4488d018399e1de50ad2ee964be8 box工程我可以直接发压缩包邮箱给你吗
不用,你给我工程的 commit id 啊,我这保证你基础例程是 ok 的,我在准备一个 MR,写死 rainmaker 的版本号
请问一下咋看? 进入工程目录, git log,第一条
我这是好的, 麻烦把你 esp-idf 的 commit id,box 工程的 commit id 给下
esp-idf 的 a4afa44435ef4488d018399e1de50ad2ee964be8 box工程我可以直接发压缩包邮箱给你吗
不用,你给我工程的 commit id 啊,我这保证你基础例程是 ok 的,我在准备一个 MR,写死 rainmaker 的版本号
请问一下咋看? 进入工程目录, git log,第一条
好的谢谢这是工程的,a83643cfb1d2ed1c0928457e072f3f831d1e51bc
我这是好的, 麻烦把你 esp-idf 的 commit id,box 工程的 commit id 给下
esp-idf 的 a4afa44435ef4488d018399e1de50ad2ee964be8 box工程我可以直接发压缩包邮箱给你吗
不用,你给我工程的 commit id 啊,我这保证你基础例程是 ok 的,我在准备一个 MR,写死 rainmaker 的版本号
请问一下咋看? 进入工程目录, git log,第一条
好的谢谢这是工程的,a83643cfb1d2ed1c0928457e072f3f831d1e51bc
我咋搜不到这条 commit ?能都把前后的 log 发看下
我这是好的, 麻烦把你 esp-idf 的 commit id,box 工程的 commit id 给下
esp-idf 的 a4afa44435ef4488d018399e1de50ad2ee964be8 box工程我可以直接发压缩包邮箱给你吗
不用,你给我工程的 commit id 啊,我这保证你基础例程是 ok 的,我在准备一个 MR,写死 rainmaker 的版本号
请问一下咋看? 进入工程目录, git log,第一条
好的谢谢这是工程的,a83643cfb1d2ed1c0928457e072f3f831d1e51bc
我咋搜不到这条 commit ?能都把前后的 log 发看下
commit a83643cfb1d2ed1c0928457e072f3f831d1e51bc (HEAD -> master, origin/master, origin/HEAD) Merge: 7c8e385 9a35484 Author: Wu Jian Gang wujiangang@espressif.com Date: 2023-03-30 14:36:01
Merge branch 'feature/update_ci' into 'master'
ci: Update ci to use idf_build_apps
See merge request ae_group/esp-box!60
commit 9a35484b76838d0b3e235821714bb1319a2d8bf1 Author: Wu Jian Gang wujiangang@espressif.com Date: 2023-03-30 13:56:09
examples: Update to fix compile issue
commit 2cf8157cfd76894ac86a5a4c2fc8c9a9faa335b7 Author: Wu Jian Gang wujiangang@espressif.com Date: 2023-03-30 12:02:55
ci: Update ci to use idf_build_apps
:
你这个版本我编译 ssl 有报错; 你按照如下版本: ESP_IDF:ef4b1b7704326390c87c696fde18927e51179efc (拉到最新的 release v5.0) BOX 工程:a83643cfb1d2ed1c0928457e072f3f831d1e51bc (不变)
examples/watering_demo/main/idf_component.yml
换成如下
## IDF Component Manager Manifest File
dependencies:
idf: ">=5.0"
espressif/esp_rainmaker:
path: components/esp_rainmaker
git: https://github.com/espressif/esp-rainmaker.git
espressif/esp_schedule:
path: components/esp_schedule
git: https://github.com/espressif/esp-rainmaker.git
espressif/rmaker_common:
path: ./
git: https://github.com/espressif/esp-rainmaker-common.git
version: "b5c21128fb9b37316cb38c8edf2facb63013cc74"
espressif/esp-sr: =1.1.0
espressif/json_generator: ^1
espressif/json_parser: =1.0.0
espressif/qrcode: ^0.1.0
espressif/esp-box: "~2.2.0"
你这个版本我编译 ssl 有报错; 你按照如下版本: ESP_IDF:ef4b1b7704326390c87c696fde18927e51179efc (拉到最新的 release v5.0) BOX 工程:a83643cfb1d2ed1c0928457e072f3f831d1e51bc (不变)
examples/watering_demo/main/idf_component.yml
换成如下## IDF Component Manager Manifest File dependencies: idf: ">=5.0" espressif/esp_rainmaker: path: components/esp_rainmaker git: https://github.com/espressif/esp-rainmaker.git espressif/esp_schedule: path: components/esp_schedule git: https://github.com/espressif/esp-rainmaker.git espressif/rmaker_common: path: ./ git: https://github.com/espressif/esp-rainmaker-common.git version: "b5c21128fb9b37316cb38c8edf2facb63013cc74" espressif/esp-sr: =1.1.0 espressif/json_generator: ^1 espressif/json_parser: =1.0.0 espressif/qrcode: ^0.1.0 espressif/esp-box: "~2.2.0"
OK
你这个版本我编译 ssl 有报错; 你按照如下版本: ESP_IDF:ef4b1b7704326390c87c696fde18927e51179efc (拉到最新的 release v5.0) BOX 工程:a83643cfb1d2ed1c0928457e072f3f831d1e51bc (不变)
examples/watering_demo/main/idf_component.yml
换成如下## IDF Component Manager Manifest File dependencies: idf: ">=5.0" espressif/esp_rainmaker: path: components/esp_rainmaker git: https://github.com/espressif/esp-rainmaker.git espressif/esp_schedule: path: components/esp_schedule git: https://github.com/espressif/esp-rainmaker.git espressif/rmaker_common: path: ./ git: https://github.com/espressif/esp-rainmaker-common.git version: "b5c21128fb9b37316cb38c8edf2facb63013cc74" espressif/esp-sr: =1.1.0 espressif/json_generator: ^1 espressif/json_parser: =1.0.0 espressif/qrcode: ^0.1.0 espressif/esp-box: "~2.2.0"
ESP-IDF更新是点击install.bat 就可以了吗?
不是,你 window 可能不方便更新。 我刚试了,你那个 tag 版本也是好的,改 idf_component.yml,可以编译过 window 的 powershell 和 linux 环境我都测试,ok。 你要不先自己分析下,像下面你刚说的明显的错误可以自己先看下啊,链接编译错误我这帮看下;
ERROR: Cannot establish a connection to the component registry. Are you
connected to the internet?
不是,你 window 可能不方便更新。 我刚试了,你那个 tag 版本也是好的,改 idf_component.yml,可以编译过 window 的 powershell 和 linux 环境我都测试,ok。 你要不先自己分析下,像下面你刚说的明显的错误可以自己先看下啊,链接编译错误我这帮看下;
ERROR: Cannot establish a connection to the component registry. Are you connected to the internet?
主要还是这个错误,这是为啥?我yml文件改了
ERROR: Cannot establish a connection to the component registry. Are you connected to the internet?
不是,你 window 可能不方便更新。 我刚试了,你那个 tag 版本也是好的,改 idf_component.yml,可以编译过 window 的 powershell 和 linux 环境我都测试,ok。 你要不先自己分析下,像下面你刚说的明显的错误可以自己先看下啊,链接编译错误我这帮看下;
ERROR: Cannot establish a connection to the component registry. Are you connected to the internet?
主要还是这个错误,这是为啥?我yml文件改了
ERROR: Cannot establish a connection to the component registry. Are you connected to the internet?
https://components.espressif.com/ 这个链接打得开么,包管理区的链接,提示连不上这个服务器。 你之前 log 看你不是拉取好的么,我也不知道你本地哪里又变更。
Hi, if you don't have any questions, please close this issue. Thank you!
我clone了工程在编译的,但就是报错 -- Found Git: C:/Espressif/tools/idf-git/2.34.2/cmd/git.exe (found version "2.34.1.windows.1") -- The C compiler identification is GNU 8.4.0 -- The CXX compiler identification is GNU 8.4.0 -- The ASM compiler identification is GNU -- Found assembler: C:/Espressif/tools/xtensa-esp32s3-elf/esp-2021r2-patch5-8.4.0/xtensa-esp32s3-elf/bin/xtensa-esp32s3-elf-gcc.exe -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: C:/Espressif/tools/xtensa-esp32s3-elf/esp-2021r2-patch5-8.4.0/xtensa-esp32s3-elf/bin/xtensa-esp32s3-elf-gcc.exe - skipped -- Detecting C compile features
-- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: C:/Espressif/tools/xtensa-esp32s3-elf/esp-2021r2-patch5-8.4.0/xtensa-esp32s3-elf/bin/xtensa-esp32s3-elf-g++.exe - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Project is not inside a git repository, or git repository has no commits; will not use 'git describe' to determine PROJECT_VER. -- Building ESP-IDF components for target esp32s3 CMake Error at C:/Espressif/frameworks/esp-idf-v4.4.3/tools/cmake/build.cmake:452 (message): Traceback (most recent call last):
idf_component_tools.git_client.GitCommandError: 'git fetch origin' failed with exit code 128
fatal: unable to access 'https://github.com/espressif/esp-rainmaker.git/': OpenSSL SSL_read: Connection was reset, errno 10054
Call Stack (most recent call first): C:/Espressif/frameworks/esp-idf-v4.4.3/tools/cmake/project.cmake:384 (idf_build_process) CMakeLists.txt:13 (project)
-- Configuring incomplete, errors occurred! See also "D:/LiAiGuo/力/力控制+按键/watering_demo/build/CMakeFiles/CMakeOutput.log".