Open KooLru opened 4 years ago
@KooLru nice! Needed this and it works as described!
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.
do I need this patch too, if I only want change the pins of spi-1? I want at the maple mini use the w5500 lan module at the pins of spi-2 this does not work:
SPIClass SPI_1(28, 29, 30); // SPI2 pins
Ethernet.init(31);
Ethernet.begin(mac); // DHCP
For use another than defined SPI "port", you need:
SPIClass SPI_2(PB15, PB14, PB13);
I have try SPI2 on STM32F103xB also known as "Blue pill"
Ethernet.init(SPI_2, PB12);
I also add this line in DhcpAddressPrinter sample, and define for Serial port, for debug on boards with more than one UART