nuttx/sched/clock
Matteo Golin 2d768c294e arch/delays: Invalid default value for BOARD_LOOPSPERMSEC
Changes the default value for CONFIG_BOARD_LOOPSPERMSEC to -1, which is
invalid. All boards that forget to configure this value will encounter a
static assertion at compile time, enforcing that configurations
upstreamed to NuttX have calibrated values for correct delay timings.

Boards which implement ALARM_ARCH or TIMER_ARCH do not rely on the
busy-loop delay implementation and thus only have a run-time check to
ensure proper delay-timings (in the case where delays are used before
the alarm/timer driver is registered).

Some boards already in the NuttX upstream do not have calibrated values,
but there are no users who currently own the board to submit a
calibrated value for the configurations to use. In this scenario, the
value is temporarily set to 0 and a warning is displayed so that users
of these boards are informed of the calibration process.

Signed-off-by: Matteo Golin <matteo.golin@gmail.com>
2026-02-25 15:00:03 -03:00
..
clock.c sched: migrate to SPDX identifier 2024-09-12 01:10:14 +08:00
clock.h sched/clock: Remove perf_init to simplify the code 2026-01-26 21:14:38 +08:00
clock_adjtime.c sched/clock: support using CLOCKFD to call clock_adjtime 2025-12-30 10:22:09 -03:00
clock_delay.c arch/delays: Invalid default value for BOARD_LOOPSPERMSEC 2026-02-25 15:00:03 -03:00
clock_getres.c sched/clock: support using CLOCKFD to call clock_getres 2025-12-30 10:22:09 -03:00
clock_gettime.c sched/clock: fix CLOCK_BOOTTIME and CLOCK_MONOTONIC handling 2026-02-25 16:15:23 +08:00
clock_initialize.c fs/timerfd: implement TFD_TIMER_CANCEL_ON_SET to detect clock changes 2026-01-30 17:20:24 +08:00
clock_notifier.c fs/timerfd: implement TFD_TIMER_CANCEL_ON_SET to detect clock changes 2026-01-30 17:20:24 +08:00
clock_perf.c arch/armv7-r: userspace PMU access 2026-02-02 16:20:39 +01:00
clock_realtime2absticks.c clock: correct compile failed 2024-09-29 18:18:01 +08:00
clock_sched_ticks.c clock: Correct the usage of atomic64_t atomic functions 2026-02-03 10:18:11 +08:00
clock_settime.c fs/timerfd: implement TFD_TIMER_CANCEL_ON_SET to detect clock changes 2026-01-30 17:20:24 +08:00
clock_systime_ticks.c sched/clock: Remove unnecessary preprocessor definition 2025-12-12 12:31:16 +08:00
clock_systime_timespec.c sched/clock: Improve clock implementation with sched ticks functions 2025-10-18 20:07:59 +08:00
clock_timekeeping.c fs/timerfd: implement TFD_TIMER_CANCEL_ON_SET to detect clock changes 2026-01-30 17:20:24 +08:00
clock_timekeeping.h sched: migrate to SPDX identifier 2024-09-12 01:10:14 +08:00
CMakeLists.txt arch/delays: Invalid default value for BOARD_LOOPSPERMSEC 2026-02-25 15:00:03 -03:00
Make.defs arch/delays: Invalid default value for BOARD_LOOPSPERMSEC 2026-02-25 15:00:03 -03:00