Skip to content

Conversation

bikeNomad
Copy link
Contributor

This PR adds mp_hal_stdio_poll() to the Zephyr port.
This is required to make input() work.

Summary

I'm making a Zephyr MicroPython port for the XIAO BLE NRF52840 SENSE board, and discovered that upysh's newfile
command required having input() working. Getting this working required adding mp_hal_stdio_poll() to the port.

Testing

I tested this on my XIAO BLE NRF52840 SENSE board, and was able to use newfile and the builtin input() successfully.

This is required to make input() work.

Signed-off-by: Ned Konz <ned@metamagix.tech>
@bikeNomad bikeNomad force-pushed the bikeNomad/zephyr-add-mp_hal_stdio_poll branch from 5bff98e to 780b69a Compare July 2, 2025 18:57
@dpgeorge
Copy link
Member

dpgeorge commented Jul 3, 2025

Thanks for the contribution.

I actually implemented this already as part of PR #17552. Maybe you can test that PR with your board/configuration?

@bikeNomad
Copy link
Contributor Author

Closing, fixed by #17552.

@bikeNomad bikeNomad closed this Jul 3, 2025
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.

2 participants