-
Notifications
You must be signed in to change notification settings - Fork 174
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
Uart rx buffer length error #427
Comments
version crate: 0.43.1 |
It looks like the problem is this In esp-idf we have assert
but in esp-idf-hal we have this uart_driver_install call
It turns out that if don’t have an rx pin, then we are trying to set the buffer length to 0, but esp-idf does not allow us to do this |
@Volkalex28 Would you like to contribute a PR that addresses this issue? |
@ivmarkov In general, yes |
Let's have two separate PRs for these if you don't mind. If you want to discuss or in general see what is going on - join the Matrix room which is linked in the readme. |
@Volkalex28 what happened? Are you still interested in contributing a PR? |
@ivmarkov Sorry for delay. I didn't have time to do this at all. I think I'll do it tomorrow! |
No rush. It is just that we are prepping for a release these days, so if you want the fixes to go in, you might need to hurry up. But we can always do a patch-level release later. |
I know that similar problems have already existed, but I did not find a solution there.
I'm trying to configure UartTxDriver and get the error:
"uart: uart_driver_install(1588): uart rx buffer length error"
I don't change the config
let config = Config { baudrate: Hertz(19200), parity: Parity::ParityOdd, ..Default::default() };
The text was updated successfully, but these errors were encountered: