v4.1.1

v4.1.1 standardizes the WiFi API, updates GC2145 / LSM6DSOX drivers, and fixes machine.I2C scan, sensor.read_reg, and sensor.set_framerate(). The WINC/NINA WiFi API changed — read the breaking changes below.

Highlights

  • Standardized WiFi API — WINC matches the common MicroPython WiFi / network.WLAN interface.

  • Driver updates — GC2145 (with PLL fix) and LSM6DSOX.

  • Fixesmachine.I2C scan, sensor.read_reg, sensor.set_framerate(), sensor.ioctl() argument checking.

  • Breaking: the WINC/NINA WiFi API changed — see the breaking changes.

New features

  • Arduino Portenta H7 — the ble_advertising helper is now frozen into the firmware.

Other changes and improvements

  • Updated the LSM6DSOX IMU driver and the RP2 audio module; improved exception handling.

Bug fixes

Camera and sensors:

System:

  • Fixed machine.I2C bus scan, RP2 audio de-init, and a Nano RP2040 Connect flash issue.

Hardware and board support

  • RP2 boards — updated I2C pinout.

  • Arduino Nano 33 BLE Sense — updated flash size.

Breaking API changes

User-visible API breaks between v4.1.0 and v4.1.1. Scope: Python C-modules in modules/ and Python libraries in scripts/libraries/.

The breaking change is minor and affects WiFi networking only.

WiFi API standardized (minor)

The WINC1500 WiFi API was made compatible with the common MicroPython WiFi / network.WLAN interface (the constructor and usage changed, and WINC is now registered as the default WLAN module when present). The NINA-W10 ifconfig() argument order was also corrected. Scripts using the old WINC-specific API or the previous NINA ifconfig() argument order must be updated.

Commits: f5391a388, ae0d060e1, 6438a3c6e

Migration checklist

Only WiFi scripts are affected: port WINC code to the standard network.WLAN interface and fix the NINA ifconfig() argument order (the WiFi API change). All other scripts run unchanged.