Skip to content

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

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

nordic-krch
Copy link
Contributor

…SYNC"

This reverts commit 384e940.

Feature was deprecated some time ago but we see that there is a need to keep it.

dcpleung
dcpleung previously approved these changes Jun 25, 2025
Copy link
Contributor

@tomi-font tomi-font left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tomi-font
tomi-font previously approved these changes Jul 4, 2025
@nordic-krch nordic-krch force-pushed the uarte_hw_async branch 2 times, most recently from 41ebd3a to 8d1be06 Compare July 8, 2025 10:37
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>
@nordic-krch
Copy link
Contributor Author

@anangl @masz-nordic can you take a look?

anangl
anangl previously approved these changes Jul 9, 2025
@danieldegrasse
Copy link
Contributor

@nordic-krch is this needed for 4.2?

@nordic-krch
Copy link
Contributor Author

No. It's ok to pull it in after the release.

@kartben
Copy link
Contributor

kartben commented Jul 11, 2025

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.

@nordic-krch
Copy link
Contributor Author

@kartben @danieldegrasse if it is not too late then that would be very good

@danieldegrasse
Copy link
Contributor

@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?

@dkalowsk
Copy link
Contributor

@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.

@nordic-krch
Copy link
Contributor Author

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>
@nordic-krch nordic-krch dismissed stale reviews from anangl and tomi-font via 0810dd8 July 14, 2025 08:24
@github-actions github-actions bot added the Release Notes To be mentioned in the release notes label Jul 14, 2025
Copy link

Copy link
Contributor

@dkalowsk dkalowsk left a 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: Modem area: Networking area: Samples Samples area: UART Universal Asynchronous Receiver-Transmitter platform: nRF Nordic nRFx Release Notes To be mentioned in the release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants