mirror of
https://github.com/apache/nuttx.git
synced 2026-08-28 04:40:41 +00:00
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> |
||
|---|---|---|
| .. | ||
| arch_alarm.c | ||
| arch_rtc.c | ||
| arch_timer.c | ||
| capture.c | ||
| CMakeLists.txt | ||
| cs2100-cp.c | ||
| ds3231.c | ||
| ds3231.h | ||
| goldfish_timer.c | ||
| Kconfig | ||
| Make.defs | ||
| mcp794xx.c | ||
| mcp794xx.h | ||
| oneshot.c | ||
| pcf85263.c | ||
| pcf85263.h | ||
| pl031.c | ||
| pwm.c | ||
| rpmsg_rtc.c | ||
| rtc.c | ||
| rx8010.c | ||
| rx8010.h | ||
| timer.c | ||
| watchdog.c | ||