[使用esp-iot-solution信息库时不会覆盖esp-idf路径

问题描述 投票:0回答:1

我已经克隆了esp-idf-solution存储库,并按照readme.md文件中的说明进行操作。

我之前已经克隆过esp-idf存储库,并且可以成功编译和刷新。但是,当我尝试在esp-iot-solution中编译新示例时,它不起作用。

$ make flash
Toolchain path: /opt/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc
Toolchain version: crosstool-ng-1.22.0-80-g6c4433a5
Compiler version: 5.2.0
Makefile:11: /home/abish/esp/esp-iot-solution/Makefile: No such file or directory
make: *** No rule to make target '/home/abish/esp/esp-iot-solution/Makefile'.  Stop.

我已在readme.md export IOT_SOLUTION_PATH=~/esp/esp-iot-solution中执行此步骤。这不会覆盖IDF_PATH。该如何解决?

makefile path toolchain esp32 esp-idf
1个回答
0
投票

[似乎esp-idf已作为esp-idf-solution项目的git子模块包括在内,因此您不必分别克隆esp-idf存储库(请参阅https://github.com/espressif/esp-iot-solution/tree/master/submodule)。

但是请确保您告诉git从esp-idf-solution项目内克隆子模块。

cd /home/abish/esp/esp-iot-solution/
git submodule update --init --recursive
© www.soinside.com 2019 - 2024. All rights reserved.