2020-08-15 01:46 AM
I noticed that STM32CubeIDE allows you to use a 64-bit variable, I would like to know if the time.h library is already updated with a 64-bit variable.
2020-08-15 01:49 AM
That depends on what system library are you using.
JW
2020-08-15 02:11 AM
Thanks,
Does this mean that What comes with STM32CubeIDE 1.4.1 is already safe from the year 2038 problem?
2020-08-15 03:38 AM
I don't know what comes with CubeIDE, I don't use it.
JW
2020-08-15 06:51 AM
You're the developer, use the libraries that meet or exceed your expectations.
Use your own tested/validated code for things which are critial.
Not sure the RTC is rated beyond 2099
2020-08-17 10:38 AM
Thanks, I'm using DS3231.