Library Modules
The essential library modules have now been ported to libv2
for RP2040 and RP2350.
Alarms
- libv2 compatible
- Support for both timers on the RP2350
Timers
- Remove interrupt management data and procedures, as this is handled by module
Alarms
.
Watchdog
- libv2 compatible
- Move all procedures to set the Power-on State Machine (PSM) and Resets Controller (RESETS) resets to module
StartUp
. - Loading the module eliminates the differences in the initial reset conditions out of USB or hardware resets (see module header).
StartUp
- Extend to support watchdog PSM and RESETS reset settings (PSM_WDSEL, RESETS_WDSEL), see module
Watchdog
above. - Extend to support watchdog boot.
- RS2350: extend to support Power Manager (POWMAN) boot.
MCU2
- RP2040: correct
TIMER_*
register offset values. - RP2040: add assembly code for
CPSIE
andCPSID
(enable/disable ints via PRIMASK). - Add watchdog timer correction factor (
WATCHDOG_XLOADTIME
). - Add PSM reset values.
- RP2350: add more POWMAN register addresses, relevant for POWMAN boot.
Main
- RP2350: release reset on timer 1, to get parity with timer 0.
Exceptions
- RP2040: correct register for
GetPendingInterrupt
.
Example Programs
Additional example programs have been ported to run on both MCUs: