Replies: 2 comments 2 replies
-
As per comment here, the alternative to use is
|
Beta Was this translation helpful? Give feedback.
-
To be honest, I don't know what needs to be done to implement a `system_clock' on bare metal. I remember I searched a bit when I implemented that part of the project, but I couldn't find much info about this. I guess we need to implement some low-level function to "link" std::chrono::system_clock to the actual hardware timer. If someone has more info about this, I'm also interested! |
Beta Was this translation helpful? Give feedback.
-
On the PineTime,
std::chrono::system_clock::now().time_since_epoch()
returns the same value every time. In InfiniSim it seems to work correctly. Do we have to configure something to get it to work?sysclock.patch.zip
Beta Was this translation helpful? Give feedback.
All reactions