nuttx/arch/arm
SPRESENSE b2b045252d arch: cxd56xx: Fix failure to get RTC time in multi-core environment
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.

Signed-off-by: SPRESENSE <41312067+SPRESENSE@users.noreply.github.com>
2025-11-20 20:56:05 +08:00
..
include arch/arm: Simplify ARM generic timer drivers. 2025-11-17 10:25:37 +08:00
src arch: cxd56xx: Fix failure to get RTC time in multi-core environment 2025-11-20 20:56:05 +08:00
CMakeLists.txt arch/arm: migrate to SPDX identifier 2024-12-06 09:25:23 +08:00
Kconfig armv7a: change ARMV7A_SMP_BUSY_WAIT to ARM_BUSY_WAIT 2025-09-01 22:58:36 +08:00