完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
我克隆了 ESP-Matter 的照明应用示例https://github.com/project-chip/connect ... -app/esp32。
然后我在组件下添加了几个库并确保 CMakeLists.txt,然后运行下面的 idf.py 命令 idf.py create-manifest --component= idf.py reconfigure 但是,当我编译时出现找不到库的错误 main/include/display.hh:1:10: fatal error: SPI.h: No such file or directory #include "SPI.h" 即使是我通过“ESP-IDF:添加 Arduino ESP32 作为 ESP-IDF 组件”命令添加的 Arduino 库也无法找到并出现上述错误。我错过了什么? 这是 ESP Doctor 命令的输出 ---------------------------------------------- ESP-IDF Extension for Visual Studio Code report --------------------------------------------- OS darwin x64 22.3.0 System environment variable IDF_PYTHON_ENV_PATH System environment variable PATH System environment variable PYTHON undefined Visual Studio Code version 1.77.0 Visual Studio Code language en Visual Studio Code shell /bin/zsh ESP-IDF Extension version 1.6.1 Workspace folder ---------------------------------------------------- Extension configuration settings ------------------------------------------------------ ESP-ADF Path (idf.espAdfPath) ${env:ADF_PATH} ESP-IDF Path (idf.espIdfPath) ESP-MDF Path (idf.espMdfPath) ${env:MDF_PATH} ESP-Matter Path (idf.espMatterPath) ${env:ESP_MATTER_PATH} Custom extra paths (idf.customExtraPaths) Custom extra vars (idf.customExtraVars) OPENOCD_SCRIPTS: Virtual env Python Path (idf.pythonBinPath) Serial port (idf.port) /dev/cu.usbserial-01D18139 OpenOCD Configs (idf.openOcdConfigs) interface/ftdi/esp32_devkitj_v1.cfg,board/esp32-wrover.cfg ESP-IDF Tools Path (idf.toolsPath) Git Path (idf.gitPath) /usr/bin/git -------------------------------------------------------- Configurations access ------------------------------------------------------------- Access to ESP-ADF Path (idf.espAdfPath) false Access to ESP-IDF Path (idf.espIdfPath) true Access to ESP-MDF Path (idf.espMdfPath) false Access to ESP-Matter Path (idf.espMatterPath) false Access to ESP-IDF Custom extra paths Access to Access to Access to Access to Access to Access to Access to Access to Access to Virtual env Python Path (idf.pythonBinPath) true Access to CMake in environment PATH true Access to Ninja in environment PATH true Access to ESP-IDF Tools Path (idf.toolsPath) true -------------------------------------------------------- Configurations has spaces ------------------------------------------------------------- Spaces in system environment Path false Spaces in ESP-ADF Path (idf.espAdfPath) false Spaces in ESP-IDF Path (idf.espIdfPath) false Spaces in ESP-MDF Path (idf.espMdfPath) false Spaces in ESP-Matter Path (idf.espMatterPath) false Spaces in ESP-IDF Custom extra paths Spaces in Spaces in Spaces in Spaces in Spaces in Spaces in Spaces in Spaces in Spaces in Virtual env Python Path (idf.pythonBinPath) false Spaces in ESP-IDF Tools Path (idf.toolsPath) false ----------------------------------------------------------- Executables Versions ----------------------------------------------------------- Git version 2.39.2 ESP-IDF version 4.4.2 Python version 3.7.3 Python's pip version 23.0.1 -------------------------------------------------- Project configuration settings ---------------------------------------------------------- -------------------------------------------------- Python packages in idf.pythonBinPath ---------------------------------------------------- bitstring version: 4.0.1 Brotli version: 1.0.9 CacheControl version: 0.12.11 certifi version: 2022.12.7 cffi version: 1.15.1 charset-normalizer version: 3.0.1 click version: 8.0.4 colorama version: 0.4.6 construct version: 2.10.54 contextlib2 version: 21.6.0 cryptography version: 39.0.1 ecdsa version: 0.18.0 Flask version: 0.12.5 Flask-Compress version: 1.13 Flask-SocketIO version: 2.9.6 future version: 0.18.2 gcovr version: 6.0 gdbgui version: 0.13.2.0 gevent version: 1.5.0 greenlet version: 2.0.2 idf-component-manager version: 1.2.2 idna version: 3.4 importlib-metadata version: 6.0.0 itsdangerous version: 2.0.1 Jinja2 version: 3.0.1 kconfiglib version: 13.7.1 lark version: 1.1.2 lockfile version: 0.12.2 lxml version: 4.9.2 MarkupSafe version: 2.1.2 msgpack version: 1.0.4 packaging version: 23.0 pip version: 23.0.1 psutil version: 5.9.4 pycparser version: 2.21 pyelftools version: 0.29 pygdbmi version: 0.9.0.2 Pygments version: 2.14.0 pyparsing version: 2.3.1 pyserial version: 3.5 python-engineio version: 3.14.2 python-socketio version: 4.6.1 PyYAML version: 6.0 reedsolo version: 1.5.4 requests version: 2.28.2 requests-file version: 1.5.1 requests-toolbelt version: 0.10.1 schema version: 0.7.5 setuptools version: 67.6.1 six version: 1.16.0 stringcase version: 1.2.0 tqdm version: 4.64.1 typing_extensions version: 4.5.0 urllib3 version: 1.26.14 websocket-client version: 1.5.1 Werkzeug version: 0.16.1 wheel version: 0.38.4 xmlrunner version: 1.7.7 zipp version: 3.14.0 ---------------------------------------------------- Check ESP-IDF python requirements.txt ------------------------------------------------- Check ESP-IDF Python packages Python requirements from ---------------------------------------------------- Check extension requirements.txt ------------------------------------------------------ Check Extension Python packages Python requirements from ---------------------------------------------------- Check ESP-IDF debug adapter requirements.txt ------------------------------------------ Check Debug AdapterPython packages Python requirements from ----------------------------------------------------------- Latest error ----------------------------------------------------------------- Latest error at Unknown error in ESP-IDF doctor command -------------------------------------------------------------------------------------------------------------------------------------------- |
|
相关推荐
|
|
只有小组成员才能发言,加入小组>>
1936个成员聚集在这个小组
加入小组我的项目我做主,使用GN+Ninja来完成构建系统(VSCode开发RT106X)
36437 浏览 0 评论
NXP IMX8应用处理器快速入门必备:技巧、使用、设计指南
5097 浏览 1 评论
6121 浏览 1 评论
6825 浏览 0 评论
NXP i.MX6UL开发板(linux系统烧录+规格+硬件+模块移植)使用手册
4255 浏览 0 评论
656浏览 2评论
求助,S32G上Core M启动后如何让Core A在Flash指定位置加载uboot?
646浏览 2评论
ESP32-WROVER-IE + LAN8720以太网,GPIO0电压只有1.6v,无法正常进入spi flash boot模式如何解决?
648浏览 2评论
求分享适用于PN7160 Android的NFC工厂测试应用程序
738浏览 2评论
855浏览 2评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-12-31 03:32 , Processed in 2.306119 second(s), Total 47, Slave 40 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号