Release 2.2.0
Core
Allow UART constructors in both PinName and pin number
Fix Arduino.h inclusion in C files
Nano33BLE: Fix pins 0 / 1 not usable as GPIOs
RP2040: fix watchdog behaviour
RP2040: avoid implicit conversion from NinaPin to int (LEDR, LEDG, LEDB) [1]
Libraries
Add Nano33_updateBootloader sketch to support SoftDevices
PDM: Correct default gain for Portenta
PDM: Run clock at 2.08MHz on RP2040
Fix OTA second stage bootloader for Nano RP2040 Connect (SFU)
Examples
MultipleBlinks: fix Nano RP2040 Connect build
[1]
These leds are connected to the ESP32 module, so using them in digitalWrite() is transparent unless the values are cast to int
.
In this case, an explicit error will be raised, explaining how to fix the problem,