Latest firmware for Wio RP2040

Is there latest firmware available for the Wio RP2040?

I was playing with the examples from the documentation to connect to my WiFi network. I was executing the following block of code:

import network
import usocket
from machine import Pin, I2C, ADC, UART, SPI, PWM
from time import sleep
 
N1 = network.WLAN_UART(network.STA_IF)
N1.active(True)

I got the following error:

Traceback (most recent call last):
  File "<stdin>", line 11, in <module>
AttributeError: 'module' object has no attribute 'WLAN_UART'

It appears that I am not working with the network module meant for the Wio RP2040. Where can I find the relevant binary?

It looks like the documentation is outdated. The following block of code seems to solve the problem:

import network
import usocket
from machine import Pin, I2C, ADC, UART, SPI, PWM
from time import sleep
 
N1 = network.WLAN_SPI(network.STA_IF)
N1.active(True)
2 Likes