The ethernet component should support specifying the SPI interface #3281
Unanswered
rtyle
asked this question in
Component enhancements
Replies: 2 comments 5 replies
-
🏷️ I've automatically added the |
Beta Was this translation helpful? Give feedback.
0 replies
-
Why shouldn't M5Stack support changing the SPI interface for its library? |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Component name
ethernet
Link to component documentation on our website
https://esphome.io/components/ethernet.html
Describe the enhancement
I am developing an M5Stack based project with a CoreS3 and a LAN PoE base. M5Stack supports its devices in ESPHome through its m5stack/M5Unified library. In particular, it supports its display using the SPI2_HOST interface on this platform. This is not configurable. The ESPHome ethernet component supports the LAN PoE base but it also uses the SPI2_HOST interface and that is also not configurable. It should be. Just like the spi component, one should be able to say, for example, "interface: spi3" on an ethernet component to get it to use the SPI3_HOST interface.
Use cases
Such an enhancement is the only way that I can use ESPHome on my M5Stack CoreS3 and LAN PoE base. They both can't use the same SPI interface.
Anything else?
This should be a pretty simple fix. I think that I have something working now with esp-idf. I would be glad to contribute if this enhancement is welcome.
esphome/esphome#10285
esphome/esphome-docs#5252
Beta Was this translation helpful? Give feedback.
All reactions