Skip to content
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

RP2040 PIO #23

Closed
wants to merge 5 commits into from
Closed

Conversation

M1cha
Copy link

@M1cha M1cha commented Sep 22, 2023

Cherry pick everything from upstream that's needed for PIO uart.

yonsch and others added 5 commits September 22, 2023 08:22
Some pico-sdk drivers call a panic function, originally implemented
as part of the Pico's C runtime. This commit adds a Zephyr compatible
implementation of panic, so that those drivers could be compiled with
Zephyr.

Signed-off-by: Yonatan Schachter <[email protected]>
Enable DMA driver.
Add the path of the DMA driver header into include paths.
`hardware_claim` is depends by DMA driver, also enable it.

Signed-off-by: TOKITA Hiroshi <[email protected]>
Adding RaspberryPi Pico DMA driver.

Signed-off-by: TOKITA Hiroshi <[email protected]>
Added a generic driver for RaspberryPi Pico PIO.
This driver is an intermediate driver for abstracting the PIO
device driver from physical pin configuration.

Signed-off-by: TOKITA Hiroshi <[email protected]>
Signed-off-by: Yonatan Schachter <[email protected]>
Signed-off-by: Ionut Catalin Pavel <[email protected]>
Implements a UART driver using PIO. Both PIOs are supported.
Only polling API is supported. Only 8N1 mode is supported.

Signed-off-by: Yonatan Schachter <[email protected]>
@lesshonor
Copy link

This PR should probably be closed. ZMK is now based on Zephyr 3.5, which includes these changes. I doubt the 3.2 branch will be touched any more.

@M1cha M1cha closed this Sep 14, 2024
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.

4 participants