SPRESENSE opened a new pull request, #17353:
URL: https://github.com/apache/nuttx/pull/17353

   ## Summary
   In multi-core environment where NuttX runs on each core, if one core sets 
the RTC time,
   the RTC value gotten on other cores is incorrect.
   This is caused by clock_gettime(CLOCK_MONOTONIC) function used to get 
elapsed time,
   which uses a core-specific global varaiable g_basetime as the base time.
   To fix this, update the g_basetime from the backup SRAM that can be shared 
between cores
   in setting/getting the RTC time.
   
   ## Impact
   Only for spresense.
   
   ## Testing
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to