Skip to content

SPI.h: No such file or directory #15

@tjallingk

Description

@tjallingk

it seems to me that the SPI.H libary is or depricated or build in currently tested with esp home 2025.6.3
just like that WARNING Using fan.FAN_SCHEMA is deprecated also seems to be removed. the fan.fan_schema is not an issue since its just warning but"Warning! Could not find the package with 'SPI' requirements for your system 'linux_aarch64'" does seem to become
`In file included from src/esphome/components/cc1101/CC1101.cpp:5:
src/esphome/components/cc1101/CC1101.h:10:10: fatal error: SPI.h: No such file or directory



10 | #include <SPI.h>
| ^~~~~~~
compilation terminated.
In file included from src/esphome/components/cc1101/IthoCC1101.h:9,
from src/esphome/components/cc1101/IthoCC1101.cpp:5:
src/esphome/components/cc1101/CC1101.h:10:10: fatal error: SPI.h: No such file or directory



10 | #include <SPI.h>
| ^~~~~~~
compilation terminated.
Compiling .pioenvs/badkamer-ventilator-esp32c3/src/esphome/components/cc1101/fan.cpp.o
*** [.pioenvs/badkamer-ventilator-esp32c3/src/esphome/components/cc1101/CC1101.cpp.o] Error 1
*** [.pioenvs/badkamer-ventilator-esp32c3/src/esphome/components/cc1101/IthoCC1101.cpp.o] Error 1
In file included from src/esphome/components/cc1101/IthoCC1101.h:9,
from src/esphome/components/cc1101/fan.cpp:3:
src/esphome/components/cc1101/CC1101.h:10:10: fatal error: SPI.h: No such file or directory
`

im still looking. I might fix it since it seems spi is native supported by esp home so it might be possible to remove/port to the new way. Tough im not sure on that since it seems to be in the external component section not in the yaml configuration itself

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions