https://toitlang.org/ logo
w5500
# help
w
#1025033592688087120 How to use ethernet using w5500 custom spi GPIO ?
f
Have a look at the genetic ethernet example as a starting point: https://github.com/toitlang/toit/blob/master/examples/ethernet/simple/main.toit You will need to use the
w5500
constructor instead of the
mac-esp32
one: https://libs.toit.io/esp32/net/ethernet/class-EthernetServiceProvider#w5500(4%2C0%2C0%2Cbus%2Ccs%2Cfrequency%2Cinterrupt) That constructor takes an spi bus as argument, where you can specify the pins for your module.