Hm, that’s weird. Maybe it still doesn’t give it a particular warning flag.
In any case, since I don’t have a RP2040 Connect all I can test with is a regular Raspberry Pi Pico and the example using the internal RTC.
However, then I’m running into the same problem on both the PlatformIO IDE and the Arduino IDE: It hangs up after after printing
Start RP2040_RTC_Time on MBED RASPBERRY_PI_PICO
RP2040_RTC v1.0.6
Timezone_Generic v1.7.1
with no further output. In fact it seems to crash the Pico and make it lose the USB connection. Debugging the criticial
section shows that it does not survive the new
expression. Avoiding the object statically leads to a crash inside mbed-os because the LED blinks in an error pattern.
Seems like this needs more debugging work…