Skip to content

zephyrCommon: Change delayMicroseconds to busy loop#127

Merged
DhruvaG2000 merged 2 commits intozephyrproject-rtos:nextfrom
soburi:busy_delay_ms
Sep 10, 2025
Merged

zephyrCommon: Change delayMicroseconds to busy loop#127
DhruvaG2000 merged 2 commits intozephyrproject-rtos:nextfrom
soburi:busy_delay_ms

Conversation

@soburi
Copy link
Copy Markdown
Member

@soburi soburi commented Aug 23, 2025

Since Arduino's delayMicroseconds is implemented as a busy loop,
we change it to using k_busy_wait to improve compatibility.

@DhruvaG2000 DhruvaG2000 self-requested a review September 7, 2025 18:00
@DhruvaG2000
Copy link
Copy Markdown
Member

CI failures are related to some boards being renamed?

Since Arduino's `delayMicroseconds` is implemented as a busy loop,
we change it to using `k_busy_wait` to improve compatibility.

Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
Reformatting indentation for `delay` and `millis`.

Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
@soburi
Copy link
Copy Markdown
Member Author

soburi commented Sep 7, 2025

CI failures are related to some boards being renamed?

#135 will fix all failures.

@DhruvaG2000 DhruvaG2000 merged commit 61dbac2 into zephyrproject-rtos:next Sep 10, 2025
3 checks passed
@soburi soburi deleted the busy_delay_ms branch September 10, 2025 07:28
@soburi soburi mentioned this pull request Feb 14, 2026
16 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants