box-lite刷成砖头!

junshuliang
Posts: 11
Joined: Mon May 29, 2023 3:35 am

Re: box-lite刷成砖头!

Postby junshuliang » Wed Jul 12, 2023 7:04 am

我用了一下,没问题,感谢乐鑫的大神们。编译前,需配置一下menuconfig,把HMI Board Config中的Select BSP board选项,默认是BSP_BOARD_ESP32_S3_BOX,选为BSP_BOARD_ESP32_S3_BOX_Lite,就可以正常编译烧录运行。
但有一点疑惑:factory_demo中main下面的idf_component.yml中有如下配置:

Code: Select all

  espressif/esp_rainmaker:
    path: components/esp_rainmaker
    git: https://github.com/espressif/esp-rainmaker.git
    version: "cc861bffc818c607e799f66c79923fd4e2d00447"
  espressif/esp_schedule:
    path: components/esp_schedule
    git: https://github.com/espressif/esp-rainmaker.git
    version: "cc861bffc818c607e799f66c79923fd4e2d00447"
明显不同的组件,却有同样的git地址和版本。而且从生成的dependencies.lock中看:

Code: Select all

  espressif/esp_rainmaker:
    component_hash: 6083d01e4de7193a4616d31ff5df932df3dfc700ba6a6f7b5df4953fe8e90bbf
    source:
      git: https://github.com/espressif/esp-rainmaker.git
      path: components/esp_rainmaker
      type: git
    version: cc861bffc818c607e799f66c79923fd4e2d00447
  espressif/esp_schedule:
    component_hash: 4dd34a8eaa943bcff1da7045090a4d2f7561da4f2f072a2d762623c303616cd6
    source:
      git: https://github.com/espressif/esp-rainmaker.git
      path: components/esp_schedule
      type: git
    version: cc861bffc818c607e799f66c79923fd4e2d00447
managed_components中的组件,虽然配置地址和版本都一样,但确实下载的组件不一样,好神奇!希望乐鑫的大神们给科普一下,这是怎么做到的?
这个版本的程序还是稍微有点瑕疵,原始程序的about页面可切换中英文语言,但现在的程序,可以选择语言,但无法循环到到确认按钮,导致无法切换。

junshuliang
Posts: 11
Joined: Mon May 29, 2023 3:35 am

Re: box-lite刷成砖头!

Postby junshuliang » Wed Jul 12, 2023 7:10 am

ljt123 wrote:
Tue Jul 11, 2023 12:00 pm
ESP_Xuxin wrote:
Tue Jul 11, 2023 2:42 am
这里很抱歉,因为发布测试前,涉及相关组件较多,都要一一测试适配,且每个组件可能是有不同部门处理,会有一些协同问题。
耽误了大家的时间。我这边沟通了下,会在今天发布。
需要注意下以下尚存在问题:
example 下的 factory_demo 在 ESP-IDF release 5.0 暂不支持,其他 demo 在 release 5.0/5.1 master 都正常。
为啥我今天下载了新的esp-box 3.0.0,还是会报错啊QQ图片20230711195954.png
我看到你的路径中有5.01字样,检查一下你的idf版本,要5.1以上,以后最好列出CMakeOutput.log文件中所有内容,比开发环境截图更容易让大家帮你debug。

ESP_Xuxin
Posts: 80
Joined: Thu Sep 22, 2022 3:35 am

Re: box-lite刷成砖头!

Postby ESP_Xuxin » Wed Jul 12, 2023 7:45 am

1:这边是一样的 git 地址,但是 path 的路径是不一样的,所以会下载仓库中对应路径的文件
2:选择语言后,按键的属性变成 edit 属性,所以无法循环选择。长按 enter 按键,可以退出 edit 模式,可以继续选择了

junshuliang
Posts: 11
Joined: Mon May 29, 2023 3:35 am

Re: box-lite刷成砖头!

Postby junshuliang » Wed Jul 12, 2023 8:47 am

我以为path是指本地路径,原来git还可以只下载仓库中指定路径下的文件,学习到了

ljt123
Posts: 9
Joined: Sun Jul 09, 2023 4:05 am

Re: box-lite刷成砖头!

Postby ljt123 » Wed Jul 12, 2023 1:20 pm

junshuliang wrote:
Wed Jul 12, 2023 7:10 am
ljt123 wrote:
Tue Jul 11, 2023 12:00 pm
ESP_Xuxin wrote:
Tue Jul 11, 2023 2:42 am
这里很抱歉,因为发布测试前,涉及相关组件较多,都要一一测试适配,且每个组件可能是有不同部门处理,会有一些协同问题。
耽误了大家的时间。我这边沟通了下,会在今天发布。
需要注意下以下尚存在问题:
example 下的 factory_demo 在 ESP-IDF release 5.0 暂不支持,其他 demo 在 release 5.0/5.1 master 都正常。
为啥我今天下载了新的esp-box 3.0.0,还是会报错啊QQ图片20230711195954.png
我看到你的路径中有5.01字样,检查一下你的idf版本,要5.1以上,以后最好列出CMakeOutput.log文件中所有内容,比开发环境截图更容易让大家帮你debug。

我试了一下factory_demo,为啥编译都过不了
以下是log
* 正在执行任务: cmake -G Ninja -DPYTHON_DEPS_CHECKED=1 -DESP_PLATFORM=1 -B c:\Users\lijunteng\Desktop\esp-box\esp-box\examples\factory_demo\build -S c:\Users\lijunteng\Desktop\esp-box\esp-box\examples\factory_demo

-- Found Git: E:/Espressif5.0.1/tools/idf-git/2.39.2/cmd/git.exe (found version "2.39.2.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: E:/Espressif5.0.1/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: E:/Espressif5.0.1/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: E:/Espressif5.0.1/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
Dependencies lock doesn't exist, solving dependencies.
.................................................................CMake Error at E:/Espressif5.0.1/esp-idf/tools/cmake/build.cmake:519 (message):
ERROR: 'git fetch origin' failed with exit code 128

fatal: unable to access 'https://github.com/espressif/esp-rainmaker.git/':
Recv failure: Connection was reset





Call Stack (most recent call first):
E:/Espressif5.0.1/esp-idf/tools/cmake/project.cmake:447 (idf_build_process)
CMakeLists.txt:13 (project)


-- Configuring incomplete, errors occurred!
See also "C:/Users/lijunteng/Desktop/esp-box/esp-box/examples/factory_demo/build/CMakeFiles/CMakeOutput.log".

* 终端进程“C:\windows\System32\WindowsPowerShell\v1.0\powershell.exe -Command cmake -G Ninja -DPYTHON_DEPS_CHECKED=1 -DESP_PLATFORM=1 -B c:\Users\lijunteng\Desktop\esp-box\esp-box\examples\factory_demo\build -S c:\Users\lijunteng\Desktop\esp-box\esp-box\examples\factory_demo”已终止,退出代码: 1。

ESP_Xuxin
Posts: 80
Joined: Thu Sep 22, 2022 3:35 am

Re: box-lite刷成砖头!

Postby ESP_Xuxin » Thu Jul 13, 2023 2:13 am

ljt123 wrote:
Wed Jul 12, 2023 1:20 pm
junshuliang wrote:
Wed Jul 12, 2023 7:10 am
ljt123 wrote:
Tue Jul 11, 2023 12:00 pm


为啥我今天下载了新的esp-box 3.0.0,还是会报错啊QQ图片20230711195954.png
我看到你的路径中有5.01字样,检查一下你的idf版本,要5.1以上,以后最好列出CMakeOutput.log文件中所有内容,比开发环境截图更容易让大家帮你debug。

我试了一下factory_demo,为啥编译都过不了
以下是log
* 正在执行任务: cmake -G Ninja -DPYTHON_DEPS_CHECKED=1 -DESP_PLATFORM=1 -B c:\Users\lijunteng\Desktop\esp-box\esp-box\examples\factory_demo\build -S c:\Users\lijunteng\Desktop\esp-box\esp-box\examples\factory_demo

-- Found Git: E:/Espressif5.0.1/tools/idf-git/2.39.2/cmd/git.exe (found version "2.39.2.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: E:/Espressif5.0.1/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: E:/Espressif5.0.1/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: E:/Espressif5.0.1/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
Dependencies lock doesn't exist, solving dependencies.
.................................................................CMake Error at E:/Espressif5.0.1/esp-idf/tools/cmake/build.cmake:519 (message):
ERROR: 'git fetch origin' failed with exit code 128

fatal: unable to access 'https://github.com/espressif/esp-rainmaker.git/':
Recv failure: Connection was reset





Call Stack (most recent call first):
E:/Espressif5.0.1/esp-idf/tools/cmake/project.cmake:447 (idf_build_process)
CMakeLists.txt:13 (project)


-- Configuring incomplete, errors occurred!
See also "C:/Users/lijunteng/Desktop/esp-box/esp-box/examples/factory_demo/build/CMakeFiles/CMakeOutput.log".

* 终端进程“C:\windows\System32\WindowsPowerShell\v1.0\powershell.exe -Command cmake -G Ninja -DPYTHON_DEPS_CHECKED=1 -DESP_PLATFORM=1 -B c:\Users\lijunteng\Desktop\esp-box\esp-box\examples\factory_demo\build -S c:\Users\lijunteng\Desktop\esp-box\esp-box\examples\factory_demo”已终止,退出代码: 1。
fatal: unable to access 'https://github.com/espressif/esp-rainmaker.git/':
你的 github 能正常访问吗?

ljt123
Posts: 9
Joined: Sun Jul 09, 2023 4:05 am

Re: box-lite刷成砖头!

Postby ljt123 » Thu Jul 13, 2023 2:37 am

ESP_Xuxin wrote:
Thu Jul 13, 2023 2:13 am
ljt123 wrote:
Wed Jul 12, 2023 1:20 pm
junshuliang wrote:
Wed Jul 12, 2023 7:10 am


我看到你的路径中有5.01字样,检查一下你的idf版本,要5.1以上,以后最好列出CMakeOutput.log文件中所有内容,比开发环境截图更容易让大家帮你debug。

我试了一下factory_demo,为啥编译都过不了
以下是log
* 正在执行任务: cmake -G Ninja -DPYTHON_DEPS_CHECKED=1 -DESP_PLATFORM=1 -B c:\Users\lijunteng\Desktop\esp-box\esp-box\examples\factory_demo\build -S c:\Users\lijunteng\Desktop\esp-box\esp-box\examples\factory_demo

-- Found Git: E:/Espressif5.0.1/tools/idf-git/2.39.2/cmd/git.exe (found version "2.39.2.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: E:/Espressif5.0.1/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: E:/Espressif5.0.1/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: E:/Espressif5.0.1/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
Dependencies lock doesn't exist, solving dependencies.
.................................................................CMake Error at E:/Espressif5.0.1/esp-idf/tools/cmake/build.cmake:519 (message):
ERROR: 'git fetch origin' failed with exit code 128

fatal: unable to access 'https://github.com/espressif/esp-rainmaker.git/':
Recv failure: Connection was reset





Call Stack (most recent call first):
E:/Espressif5.0.1/esp-idf/tools/cmake/project.cmake:447 (idf_build_process)
CMakeLists.txt:13 (project)


-- Configuring incomplete, errors occurred!
See also "C:/Users/lijunteng/Desktop/esp-box/esp-box/examples/factory_demo/build/CMakeFiles/CMakeOutput.log".

* 终端进程“C:\windows\System32\WindowsPowerShell\v1.0\powershell.exe -Command cmake -G Ninja -DPYTHON_DEPS_CHECKED=1 -DESP_PLATFORM=1 -B c:\Users\lijunteng\Desktop\esp-box\esp-box\examples\factory_demo\build -S c:\Users\lijunteng\Desktop\esp-box\esp-box\examples\factory_demo”已终止,退出代码: 1。
fatal: unable to access 'https://github.com/espressif/esp-rainmaker.git/':
你的 github 能正常访问吗?
这肯定可以正常访问啊

Who is online

Users browsing this forum: No registered users and 10 guests