3 years, 5 months ago.

Cannot set RTC on the NUCLEO-F746ZG


I can properly set the RTC on the DISCO-F746NG, but not the NUCLEO-F746ZG


Question relating to:

STM32 Nucleo-144 development board with STM32F746ZGT6 MCU, supports Arduino, ST Zio and morpho connectivity
Comment on this question

1 Answer

3 years, 5 months ago.

Please same as for another issue. Thanks for reporting. To track the progress, it's always good to report this on github as well :

It ends up being an error on my part. In the structure used by mktime, I did not subtract 1900 from the year. This resulted in a return value of -1 instead of the actual time in seconds.

posted by Kevin Braun 23 Mar 2016