WIZNET W5100s-EVB_PICO WebREPL Support #12852
-
Hello, I have been trying to setup WebREPL on the WIZNET W5100s-EVB-PICO . However, when I try to actually start the webREPL using the 'webrepl.start()' function, I get the following error:
It kinda seems to me like the module is looking to start using WLAN as the network connection, but I am using the WIZNET chip instead of WLAN for the network interface. Does anyone know how I could read the webrepl.py file on the board? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
This looks like a bug in webrepl. The offending code is here: https://github.com/micropython/micropython-lib/blob/master/micropython/net/webrepl/webrepl.py#L105 If you change those lines to query |
Beta Was this translation helpful? Give feedback.
This looks like a bug in webrepl. The offending code is here: https://github.com/micropython/micropython-lib/blob/master/micropython/net/webrepl/webrepl.py#L105
If you change those lines to query
network.LAN
instead, then copy webrepl.py to your device it will override the built-in version. We should fix this properly in webrepl (i.e. don't fail if it can't findnetwork.WLAN
, and also trynetwork.LAN
)