Loading...
 
Skip to main content

System Workbench for STM32


Time() function in stm32

I have to integrate a library over from Linux which uses the time() function from time.h
Once I execute, the time(NULL) function returns -1 and doesn't store time in my time_t variable.
I hav not added RTC in my code and I'm not sure if thats required