-
Notifications
You must be signed in to change notification settings - Fork 7.6k
Revert "drivers: serial: nrfx_uarte: Deprecate CONFIG_UART_x_NRF_HW_A… #92156
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
base: main
Are you sure you want to change the base?
Conversation
5824401
to
e12bbc8
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
e12bbc8
to
9f4c28d
Compare
41ebd3a
to
8d1be06
Compare
In certain configurations timeout field is not present in the data structure so preprocessor ifdef must be used instead of compiler check. Signed-off-by: Krzysztof Chruściński <krzysztof.chruscinski@nordicsemi.no>
…SYNC" This reverts commit 384e940. Signed-off-by: Krzysztof Chruściński <krzysztof.chruscinski@nordicsemi.no>
…ndency Enhanced RX cannot be used when UART_x_NRF_HW_ASYNC is used so changing default value to depends on. Signed-off-by: Krzysztof Chruściński <krzysztof.chruscinski@nordicsemi.no>
8d1be06
to
3ae8d74
Compare
@anangl @masz-nordic can you take a look? |
@nordic-krch is this needed for 4.2? |
No. It's ok to pull it in after the release. |
I would argue that it should be in 4.2. It's already suboptimal to bring back a deprecated feature IMO, so waiting one more release will be even more confusing. |
@kartben @danieldegrasse if it is not too late then that would be very good |
Is there a timeline to re-deprecate this feature? It would also be good to understand why we need to revive this- I guess the new method of byte counting still has some error conditions, so this method is needed? |
@nordic-krch I'm okay with this going back in, but I'd like to ask for a release-note or migration guide update as well. Specifically calling out why this is being re-enabled and the expected EOL for it. |
We found out that new method has corner and it is not 100% reliable without HWFC and old approach is. So it's permanent de-deprecation. I will add the release note. |
Add note in release notes for v4.2 about de-deprecation of CONFIG_CONFIG_UART_x_NRF_HW_ASYNC option. Signed-off-by: Krzysztof Chruściński <krzysztof.chruscinski@nordicsemi.no>
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome thanks for the update in the release-notes
…SYNC"
This reverts commit 384e940.
Feature was deprecated some time ago but we see that there is a need to keep it.