mirror of
https://github.com/apache/nuttx.git
synced 2026-10-07 14:25:25 +00:00
The 32-bit system clock has a limited range (~497 days) and the
configuration knob is no longer worth the complexity given that
practically every modern target already enables it. Make 64-bit
time_t/clock_t/sclock_t/nuttx_time_t the only supported flavor.
Specifically:
- Drop the SYSTEM_TIME64 Kconfig option and its dependent
PERF_OVERFLOW_CORRECTION/HRTIMER guards in sched/Kconfig.
- Remove every #ifdef CONFIG_SYSTEM_TIME64 branch in headers
(include/{sys/types.h,limits.h,inttypes.h,nuttx/clock.h,
nuttx/fs/hostfs.h}) and core code paths
(sched/clock/clock.h, drivers/power/pm/pm_procfs.c,
drivers/rpmsg/rpmsg_ping.c, fs/procfs/fs_procfsuptime.c,
libs/libc/wqueue/work_usrthread.c,
arch/avr/src/avrdx/avrdx_timerisr_tickless_alarm.c).
- Strip CONFIG_SYSTEM_TIME64=y from every board defconfig.
- Update Documentation/guides/rust.rst accordingly.
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
|
||
|---|---|---|
| .. | ||
| hardware | ||
| .gitignore | ||
| bl602_allocateheap.c | ||
| bl602_boot2.h | ||
| bl602_config.h | ||
| bl602_dma.c | ||
| bl602_dma.h | ||
| bl602_efuse.c | ||
| bl602_efuse.h | ||
| bl602_flash.c | ||
| bl602_flash.h | ||
| bl602_glb.c | ||
| bl602_glb.h | ||
| bl602_gpio.c | ||
| bl602_gpio.h | ||
| bl602_hbn.c | ||
| bl602_hbn.h | ||
| bl602_head.S | ||
| bl602_i2c.c | ||
| bl602_i2c.h | ||
| bl602_irq.c | ||
| bl602_irq_dispatch.c | ||
| bl602_lowputc.c | ||
| bl602_lowputc.h | ||
| bl602_netdev.c | ||
| bl602_netdev.h | ||
| bl602_oneshot_lowerhalf.c | ||
| bl602_oneshot_lowerhalf.h | ||
| bl602_os_hal.c | ||
| bl602_os_hal.h | ||
| bl602_pwm_lowerhalf.c | ||
| bl602_pwm_lowerhalf.h | ||
| bl602_romapi.h | ||
| bl602_rtc.c | ||
| bl602_rtc.h | ||
| bl602_rtc_lowerhalf.c | ||
| bl602_serial.c | ||
| bl602_spi.c | ||
| bl602_spi.h | ||
| bl602_spiflash.c | ||
| bl602_spiflash.h | ||
| bl602_start.c | ||
| bl602_systemreset.c | ||
| bl602_systemreset.h | ||
| bl602_tim.c | ||
| bl602_tim.h | ||
| bl602_tim_lowerhalf.c | ||
| bl602_tim_lowerhalf.h | ||
| bl602_timerisr.c | ||
| bl602_wdt_lowerhalf.c | ||
| bl602_wdt_lowerhalf.h | ||
| chip.h | ||
| Kconfig | ||
| Make.defs | ||