-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Add ULP.uart_init method for lp_core #22985
base: development
Are you sure you want to change the base?
Conversation
At first glance I thought we could pack this into ˋgpio_initˋ, but this would probably be quite cumbersome, thus I am fine with this new method. Can you please refactor it to return an error code instead of ˋvoidˋ and remove all You use a mixture for C function declaration, that is not in line with most of the rest of this driver and not consistent in itself. Just look at the code for I did not check for the actual functionality. Did you create a working example? |
Any news? The PR is still marked as "work in progress" |
Description:
Related issue (if applicable): Builds on #22567 to enable uart communication w/ lp_core
This PR adds a initialisation method for the UART interface of the lp_core of the esp32c6.
The method's signature is
BE_FUNC_CTYPE_DECLARE(be_ULP_uart_init, "", "@iii[i]");
With the arguments being:
The method can be used as follows:
Open points on implementation:
Checklist:
NOTE: The code change must pass CI tests. Your PR cannot be merged unless tests pass