nuttx/drivers
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
..
1wire
aie
analog
audio
bch
can
clk
contactless
coresight
crypto
devicetree
dma
dummy
eeprom
efuse
i2c
i2s
i3c
input
ioexpander
ipcc
lcd
leds
loop
math
misc
mmcsd
modem
motor
mtd
net
note
pci
pinctrl
pipes
power
rc
regmap
reset
rf
rmt
rpmsg
rptun
segger
sensors
serial
spi
syslog
thermal
timers arch/udelay: Make common, weak definition of up_*delay functions 2025-09-29 09:22:56 +08:00
usbdev
usbhost
usbmisc
usbmonitor
usrsock
vhost
video
virtio
wireless
.gitignore
CMakeLists.txt
drivers_initialize.c
Kconfig
Makefile