mirror of
https://github.com/apache/nuttx.git
synced 2026-10-17 02:59:45 +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>
|
||
|---|---|---|
| .. | ||
| image | ||
| porting-case-studies | ||
| armv7m_runtimestackcheck.rst | ||
| automounter.rst | ||
| building_nuttx_with_app_out_of_src_tree.rst | ||
| building_uclibcpp.rst | ||
| changing_systemclockconfig.rst | ||
| cpp_cmake.rst | ||
| custom_app_directories.rst | ||
| customapps.rst | ||
| customboards.rst | ||
| devicetree.rst | ||
| drivers.rst | ||
| etcromfs.rst | ||
| fortify.rst | ||
| fully_linked_elf.rst | ||
| include_files_board_h.rst | ||
| index.rst | ||
| integrate_newlib.rst | ||
| ipv6.rst | ||
| kernel_threads_with_custom_stacks.rst | ||
| logging_rambuffer.rst | ||
| lwl.rst | ||
| multiple_nsh_sessions.rst | ||
| nestedinterrupts.rst | ||
| nfs.rst | ||
| nix_flake.rst | ||
| nsh_network_link_management.rst | ||
| ofloader.rst | ||
| optee.rst | ||
| partially_linked_elf.rst | ||
| platform_directories.rst | ||
| port.rst | ||
| port_bootsequence.rst | ||
| port_drivers_to_stm32f7.rst | ||
| port_relatedkernelconfigrations.rst | ||
| protected_build.rst | ||
| pysimcoder.rst | ||
| qemu_tips.rst | ||
| ram_rom_disks.rst | ||
| reading_can_msgs.rst | ||
| remove_device_drivers_nsh.rst | ||
| renode.rst | ||
| rndis.rst | ||
| rust.rst | ||
| semihosting.rst | ||
| signal_events_interrupt_handlers.rst | ||
| signaling_sem_priority_inheritance.rst | ||
| simulator.rst | ||
| smaller_vector_tables.rst | ||
| specialstuff_in_nuttxheaderfiles.rst | ||
| stm32ccm.rst | ||
| stm32nullpointer.rst | ||
| testingtcpip.rst | ||
| thread_local_storage.rst | ||
| updating_release_system_elf.rst | ||
| usbtrace.rst | ||
| usingkernelthreads.rst | ||
| versioning_and_task_names.rst | ||
| zerolatencyinterrupts.rst | ||