10000 zephyr: run async/scheduled events during REPL and sleep by dpgeorge · Pull Request #7177 · micropython/micropython · GitHub
[go: up one dir, main page]

Skip to content

zephyr: run async/scheduled events during REPL and sleep #7177

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Apr 30, 2021

Conversation

dpgeorge
Copy link
Member

This uses Zephyr's k_poll API to wait efficiently for an event signal, and an optional semaphore.

So that a port can "wake up" when there is work to do.

Signed-off-by: Damien George <damien@micropython.org>
And ctrl-C can now interrupt a time.sleep call.  This uses Zephyr's k_poll
API to wait efficiently for an event signal, and an optional semaphore.

Signed-off-by: Damien George <damien@micropython.org>
Signed-off-by: Damien George <damien@micropython.org>
This board does not work with CONFIG_NETWORKING enabled.  And
CONFIG_CONSOLE_SUBSYS is enabled so that ctrl-C works.

Signed-off-by: Damien George <damien@micropython.org>
@dpgeorge dpgeorge force-pushed the zephyr-async-events branch from 7cde74a to 8886641 Compare April 30, 2021 05:32
@dpgeorge dpgeorge merged commit 8886641 into micropython:master Apr 30, 2021
@dpgeorge dpgeorge deleted the zephyr-async-events branch April 30, 2021 05:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant
0