RTC on NUCLEO L476RG board not running

When I use set_time() on my NUCLEO L476RG board it seems to do nothing, since gettimeofday() or just time(NULL) always returns the same value, “134332409”, which also never changes, thus I assume, that RTC implementation is not running.
rtc_init(); as first command in main() did nothing.
Any idea, where I may dig further?

After @kenjiArai supplied me with a working example of RTC usage for my board, it turned out, that the application I was building on, had issues with datatypes, pointers and casting.
So… there was no real mbed problem, it was just the original code, that may have been originally written for another version.

HI Krzystof,

I’m glad you managed to get it working.

Regards
Anna