stm32L476RG on W5500 cann't find driver.
Posted: Sat Mar 10, 2018 4:43 am
I downloaded the firmware of stm32L476RG, and I want to connect a w5500 adapter on it. When I start writing code, it reminds me that I have no WIZNET5K driver. How can I add the driver to the firmware? Ask for help
source:
import network
nic = network.WIZNET5K(pyb.SPI(1),pyb.Pin.board.X5,pyb.Pin.board.X4)
print(nic.ifconfig())
error:
Traceback (most recent call last):
File "main.py", line 4, in <module>
AttributeError: 'module' object has no attribute 'WIZNET5K'
source:
import network
nic = network.WIZNET5K(pyb.SPI(1),pyb.Pin.board.X5,pyb.Pin.board.X4)
print(nic.ifconfig())
error:
Traceback (most recent call last):
File "main.py", line 4, in <module>
AttributeError: 'module' object has no attribute 'WIZNET5K'