[riot-devel] Year 2038

Kaspar Schleiser kaspar at schleiser.de
Thu Oct 29 16:52:10 CET 2015


On 10/29/2015 03:03 PM, Baptiste Clenet wrote:
> Most RIOT cpu use 32bit system or less, in 2038, 32bit system will get
> an overflow if they use epoch system and it will comes back to year
> 1900.
> How to avoid this problem, is there a solution with RIOT?

While RIOT currently doesn't have a consistent way of representing 
real-time, the main timer (xtimer) counts microseconds in 64bit values, 
which ought to be enough for everyone(tm).


More information about the devel mailing list