nuttx/arch
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
..
arm arch: cxd56xx: Fix failure to get RTC time in multi-core environment 2025-11-20 20:56:05 +08:00
arm64 arch/imx9: Enable manual control for LPSPI PCS signals 2025-11-19 12:28:32 -03:00
avr arch/init: call up_color_intstack before up_irq_enable 2025-10-14 17:42:01 +08:00
ceva arch/init: call up_color_intstack before up_irq_enable 2025-10-14 17:42:01 +08:00
dummy
hc arch/udelay: Make common, weak definition of up_*delay functions 2025-09-29 09:22:56 +08:00
mips timers/oneshot: Remove all callback and args. 2025-11-18 13:02:29 +01:00
misoc arch/udelay: Make common, weak definition of up_*delay functions 2025-09-29 09:22:56 +08:00
or1k arch/init: call up_color_intstack before up_irq_enable 2025-10-14 17:42:01 +08:00
renesas renesas/rx65n: Replace spinlock/sched_lock with spin_lock_irqsave_nopreempt 2025-11-04 22:46:15 +08:00
risc-v arch/xtensa/esp32[-s2|-s3]: add USE_NXTMPDIR_ESP_REPO_DIRECTLY 2025-11-18 21:46:50 +08:00
sim timers/oneshot: Remove all callback and args. 2025-11-18 13:02:29 +01:00
sparc timers/oneshot: Remove all callback and args. 2025-11-18 13:02:29 +01:00
tricore arch/tricore: Add the clkdev driver for tricore. 2025-11-19 12:24:56 +08:00
x86 arch/udelay: Make common, weak definition of up_*delay functions 2025-09-29 09:22:56 +08:00
x86_64 timers/oneshot: Remove oneshot tick API. 2025-11-18 13:02:29 +01:00
xtensa arch/xtensa/esp32[-s2|-s3]: add USE_NXTMPDIR_ESP_REPO_DIRECTLY 2025-11-18 21:46:50 +08:00
z16 arch/udelay: Make common, weak definition of up_*delay functions 2025-09-29 09:22:56 +08:00
z80 arch/udelay: Make common, weak definition of up_*delay functions 2025-09-29 09:22:56 +08:00
CMakeLists.txt arch/z80: migrate to SPDX identifier 2024-12-02 17:23:25 +08:00
Kconfig arch/Kconfig: Add condition checking in Kconfig source statement 2025-09-16 09:34:56 +02:00