nuttx/arch/mips/src
Matteo Golin 504ec6b2c6 arch/udelay: Make common, weak definition of up_*delay functions
Many different architectures re-implemented the exact same code for
`up_*delay` because it was originally written as architecture dependent
code. Busy-waiting can be done regardless of architecture, so this
commit moves that duplicated implementation to a common file with weak
definitions so that individual architectures (see tc32) are still able
to override the definition if needed/desired.

Default implementation is not included if ARCH_TIMER is enabled, since
it is more accurate and provides its own weak definitions to override.

Signed-off-by: Matteo Golin <matteo.golin@gmail.com>
2025-09-29 09:22:56 +08:00
..
common arch/udelay: Make common, weak definition of up_*delay functions 2025-09-29 09:22:56 +08:00
mips32 arch: replace all nxsched_suspend/resume_*** with nxsched_switch_context 2025-09-25 16:40:23 +08:00
pic32mx arch/udelay: Make common, weak definition of up_*delay functions 2025-09-29 09:22:56 +08:00
pic32mz arch/udelay: Make common, weak definition of up_*delay functions 2025-09-29 09:22:56 +08:00
.gitignore build: Remve the unnecessary .gitignore 2020-05-23 18:00:40 +01:00
Makefile arch/misps: migrate to SPDX identifier 2024-12-02 22:43:23 +08:00