-
-
Notifications
You must be signed in to change notification settings - Fork 8.6k
ports/esp32: Add support for Connaxio Espoir and required dependency PHY KSZ8081 #8710
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
Conversation
2fb3e99 to
1e044e3
Compare
1e044e3 to
748fb46
Compare
748fb46 to
66c8af1
Compare
Also adds support for Ethernet PHY KSZ8081, available since ESP-IDF v4.4.
66c8af1 to
b2a019e
Compare
|
Thanks for the contribution. The addition of KSZ8081 is good. But I don't think the new board definition is needed, instead one can use the |
|
The support for KSZ8081 was merged in 30db33d |
|
I can confirm that using the ESP32 GENERIC nightly builds (tested with The docs from Connaxio work unmodified to bring up the Ethernet, i.e. this is all that is needed: |
|
Oh and also the Espoir does not need a unicore build, the ESP32-U4WDH processor used in the board was changed to be dual-core (see Espressif PCN-2021-021). The Connaxio docs do say dual-core as expected, although this pull request initially seems to have been targeting uni-core. |
|
Hi Sean, you are right; when I initially designed Espoir, The MINI-1 was a single-core module (I still have a bunch of them on a shelf...), but by the time I launched it on Crowd Supply, I managed to get my hands on the newer, dual-core modules. It appears I forgot to fix that afterwards. Thankfully the generic build works, so nothing needs to be done except for me to update the docs. |
|
@ma-lalonde , are you able to confirm that all shipped Espoir boards used the newer dual-core parts? I'm looking into reviving this board definition, I think it's justified to be it's own board because it has specific hardware and has named pins on the silkscreen, for which I've created a |
|
@dpgeorge what's the threshold for when a separate board definition makes sense? My thinking is that the labelled pins on the silkscreen are much more usable as named pins rather than needing GPIO numbers in the generic build. Also I'm going to see what I can do to have some kind of convenience function that does the Ethernet init rather than needing the boilerplate line of: |
|
@seanlano yes, all shipped boards have a dual-core processor. I kept the single-core modules here to support my own low-power personal projects, since most platforms (Arduino, tasmota) cna be compiled for single core, but for the average user, that's a bit over the top. And it would have made things complicated with managing many board branches |
|
@seanlano Does this need to be reopened? Do you think you'll be able to pull together a useful board definition? |
Yeah I reckon I can - would be very handy to have. It's on my to-do list! |
…n-main Translations update from Hosted Weblate
This PR adds support for Connaxio's Espoir, a PoE+ mikroBUS mainboard based on the ESP32. More info: https://www.connaxio.com/electronics/espoir/
Espoir uses the KSZ8081, for which support was implemented in ESP-IDF v4.4. So I also updated the required network files, following the same pattern as the KSZ8041, which was added in v4.3.