Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installation based on espidf framework fails #102

Open
grest opened this issue Jun 17, 2024 · 3 comments
Open

Installation based on espidf framework fails #102

grest opened this issue Jun 17, 2024 · 3 comments

Comments

@grest
Copy link

grest commented Jun 17, 2024

I'd like to use espidf framework, instead of arduino - as I need more advance mqtt client options which are available only on espidf. Unfortunatelly during the installation I got the warning related to 'SPI' package and then errors for ELECHOUSE_CC1101_SRC_DRV

INFO ESPHome 2024.5.5
INFO Reading configuration /config/esphome/esp-wmbus-test.yaml...
INFO Detected timezone 'Europe/Warsaw'
WARNING GPIO5 is a strapping PIN and should only be used for I/O with care.
Attaching external pullup/down resistors to strapping pins can cause unexpected failures.
See https://esphome.io/guides/faq.html#why-am-i-getting-a-warning-about-strapping-pins
WARNING GPIO2 is a strapping PIN and should only be used for I/O with care.
Attaching external pullup/down resistors to strapping pins can cause unexpected failures.
See https://esphome.io/guides/faq.html#why-am-i-getting-a-warning-about-strapping-pins
WARNING GPIO15 is a strapping PIN and should only be used for I/O with care.
Attaching external pullup/down resistors to strapping pins can cause unexpected failures.
See https://esphome.io/guides/faq.html#why-am-i-getting-a-warning-about-strapping-pins
WARNING GPIO0 is a strapping PIN and should only be used for I/O with care.
Attaching external pullup/down resistors to strapping pins can cause unexpected failures.
See https://esphome.io/guides/faq.html#why-am-i-getting-a-warning-about-strapping-pins
INFO Generating C++ source...
INFO Compiling app...
Processing esp-wmbus-test (board: esp32dev; framework: espidf; platform: platformio/[email protected])

HARDWARE: ESP32 240MHz, 320KB RAM, 4MB Flash

  • framework-espidf @ 3.40407.240606 (4.4.7)
  • tool-cmake @ 3.16.4
  • tool-ninja @ 1.7.1
  • toolchain-esp32ulp @ 2.35.0-20220830
  • toolchain-xtensa-esp32 @ 8.4.0+2021r2-patch5
    Reading CMake configuration...
    Library Manager: Installing SPI
    Warning! Could not find the package with 'SPI' requirements for your system 'linux_x86_64'
    Library Manager: Installing SPI
    Warning! Could not find the package with 'SPI' requirements for your system 'linux_x86_64'
    Dependency Graph
    |-- noise-c @ 0.1.4
    |-- ArduinoJson @ 6.18.5
    |-- wmbus-drivers @ 0.0.0+20240617075635.sha.1ad30e4
    Compiling .pioenvs/esp-wmbus-test/src/esphome/components/wmbus/rf_cc1101.o
    Compiling .pioenvs/esp-wmbus-test/src/esphome/components/wmbus/wmbus.o
    In file included from src/esphome/components/wmbus/rf_cc1101.h:9,
    from src/esphome/components/wmbus/rf_cc1101.cpp:1:
    src/esphome/components/wmbus/cc1101_rf_settings.h:3:10: fatal error: ELECHOUSE_CC1101_SRC_DRV.h: No such file or directory


#include <ELECHOUSE_CC1101_SRC_DRV.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
*** [.pioenvs/esp-wmbus-test/src/esphome/components/wmbus/rf_cc1101.o] Error 1
In file included from src/esphome/components/wmbus/wmbus.cpp:1:
src/esphome/components/wmbus/wmbus.h:17:10: fatal error: WiFiClient.h: No such file or directory



#include <WiFiClient.h>
^~~~~~~~~~~~~~
compilation terminated.
*** [.pioenvs/esp-wmbus-test/src/esphome/components/wmbus/wmbus.o] Error 1

@spitfire
Copy link

spitfire commented Oct 4, 2024

same here:

INFO ESPHome 2024.9.2
INFO Reading configuration /config/t-call.yaml...
WARNING GPIO12 is a strapping PIN and should only be used for I/O with care.
Attaching external pullup/down resistors to strapping pins can cause unexpected failures.
See https://esphome.io/guides/faq.html#why-am-i-getting-a-warning-about-strapping-pins
WARNING GPIO5 is a strapping PIN and should only be used for I/O with care.
Attaching external pullup/down resistors to strapping pins can cause unexpected failures.
See https://esphome.io/guides/faq.html#why-am-i-getting-a-warning-about-strapping-pins
INFO Detected timezone 'Europe/Warsaw'
INFO Generating C++ source...
INFO Compiling app...
Processing t-call (board: esp-wrover-kit; framework: espidf; platform: platformio/[email protected])
--------------------------------------------------------------------------------
Library Manager: Installing bblanchon/ArduinoJson @ 6.18.5
INFO Installing bblanchon/ArduinoJson @ 6.18.5
Unpacking  [####################################]  100%
Library Manager: [email protected] has been installed!
INFO [email protected] has been installed!
Library Manager: Installing esphome/noise-c @ 0.1.6
INFO Installing esphome/noise-c @ 0.1.6
Unpacking  [####################################]  100%
Library Manager: [email protected] has been installed!
INFO [email protected] has been installed!
Library Manager: Resolving dependencies...
INFO Resolving dependencies...
Library Manager: Installing esphome/libsodium @ 1.10018.4
INFO Installing esphome/libsodium @ 1.10018.4
Unpacking  [####################################]  100%
Library Manager: [email protected] has been installed!
INFO [email protected] has been installed!
Library Manager: Installing git+https://github.com/LSatan/SmartRC-CC1101-Driver-Lib#master
INFO Installing git+https://github.com/LSatan/SmartRC-CC1101-Driver-Lib#master
git version 2.39.5
Cloning into '/config/.esphome/platformio/cache/tmp/pkg-installing-5aiig3og'...
Library Manager: [email protected]+sha.b8c6af4 has been installed!
INFO [email protected]+sha.b8c6af4 has been installed!
Library Manager: Installing git+https://github.com/SzczepanLeon/wmbus-drivers#1.3.13
INFO Installing git+https://github.com/SzczepanLeon/wmbus-drivers#1.3.13
git version 2.39.5
Cloning into '/config/.esphome/platformio/cache/tmp/pkg-installing-u3t8fp4y'...
Note: switching to 'c856f7d1eadb337ae3e6f59f3eb3ca652e371735'.

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 <new-branch-name>

Or undo this operation with:

  git switch -

Turn off this advice by setting config variable advice.detachedHead to false

Library Manager: [email protected]+20241004124235.sha.c856f7d has been installed!
INFO [email protected]+20241004124235.sha.c856f7d has been installed!
HARDWARE: ESP32 240MHz, 320KB RAM, 4MB Flash
 - framework-espidf @ 3.40407.0 (4.4.7) 
 - tool-cmake @ 3.16.4 
 - tool-ninja @ 1.7.1 
 - toolchain-esp32ulp @ 2.35.0-20220830 
 - toolchain-xtensa-esp32 @ 8.4.0+2021r2-patch5
Reading CMake configuration...
Library Manager: Installing SPI
Warning! Could not find the package with 'SPI' requirements for your system 'linux_x86_64'
Generating assembly for certificate bundle...
Library Manager: Installing SPI
Warning! Could not find the package with 'SPI' requirements for your system 'linux_x86_64'
Dependency Graph
|-- ArduinoJson @ 6.18.5
|-- noise-c @ 0.1.6
|-- wmbus-drivers @ 0.0.0+20241004124235.sha.c856f7d

(...)

In file included from src/esphome/components/wmbus/rf_cc1101.h:9,
                 from src/esphome/components/wmbus/rf_cc1101.cpp:1:
src/esphome/components/wmbus/cc1101_rf_settings.h:3:10: fatal error: ELECHOUSE_CC1101_SRC_DRV.h: No such file or directory

**********************************************************************************
* Looking for ELECHOUSE_CC1101_SRC_DRV.h dependency? Check our library registry!
*
* CLI  > platformio lib search "header:ELECHOUSE_CC1101_SRC_DRV.h"
* Web  > https://registry.platformio.org/search?q=header:ELECHOUSE_CC1101_SRC_DRV.h
*
**********************************************************************************

 #include <ELECHOUSE_CC1101_SRC_DRV.h>
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
*** [.pioenvs/t-call/src/esphome/components/wmbus/rf_cc1101.o] Error 1
In file included from src/esphome/components/wmbus/wmbus.cpp:1:
src/esphome/components/wmbus/wmbus.h:17:10: fatal error: WiFiClient.h: No such file or directory

********************************************************************
* Looking for WiFiClient.h dependency? Check our library registry!
*
* CLI  > platformio lib search "header:WiFiClient.h"
* Web  > https://registry.platformio.org/search?q=header:WiFiClient.h
*
********************************************************************

 #include <WiFiClient.h>
          ^~~~~~~~~~~~~~
compilation terminated.
*** [.pioenvs/t-call/src/esphome/components/wmbus/wmbus.o] Error 1
========================= [FAILED] Took 27.68 seconds =========================

@SzczepanLeon
Copy link
Owner

espidf is not supported in current version.

@VivantSenior
Copy link

VivantSenior commented Oct 7, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants