nuttx/arch
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
..
arm arch/delays: Invalid default value for BOARD_LOOPSPERMSEC 2026-02-25 15:00:03 -03:00
arm64 serial/uart_rpmsg: add _raw version of driver 2026-02-23 09:19:57 -03:00
avr Makefile: Remove make depend files by make distclean 2026-02-16 16:27:57 +01:00
ceva protect: move us_heap to userspace_data_s 2026-02-02 11:06:53 +08:00
dummy
hc Makefile: Remove make depend files by make distclean 2026-02-16 16:27:57 +01:00
mips Makefile: Remove make depend files by make distclean 2026-02-16 16:27:57 +01:00
misoc Makefile: Remove make depend files by make distclean 2026-02-16 16:27:57 +01:00
or1k Makefile: Remove make depend files by make distclean 2026-02-16 16:27:57 +01:00
renesas Makefile: Remove make depend files by make distclean 2026-02-16 16:27:57 +01:00
risc-v arch/delays: Invalid default value for BOARD_LOOPSPERMSEC 2026-02-25 15:00:03 -03:00
sim Makefile: Remove make depend files by make distclean 2026-02-16 16:27:57 +01:00
sparc sched/signal: Optimize code logic 2026-01-27 21:24:31 +08:00
tricore serial/uart_rpmsg: add _raw version of driver 2026-02-23 09:19:57 -03:00
x86 Makefile: Remove make depend files by make distclean 2026-02-16 16:27:57 +01:00
x86_64 Makefile: Remove make depend files by make distclean 2026-02-16 16:27:57 +01:00
xtensa arch/xtensa/espressif: Fix SHA errors 2026-02-24 12:57:46 +01:00
z16 sched/signal: Optimize code logic 2026-01-27 21:24:31 +08:00
z80 netdev_driver: add carrier_on to xxx_ifup where carrier_on is absent 2026-02-02 13:23:05 +08:00
CMakeLists.txt arch/z80: migrate to SPDX identifier 2024-12-02 17:23:25 +08:00
Kconfig arch/delays: Invalid default value for BOARD_LOOPSPERMSEC 2026-02-25 15:00:03 -03:00