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

drivers: serial: nrfx_uarte2: Fixes in the new nordic shim #68630

Merged
merged 2 commits into from
Apr 5, 2024

Conversation

nordic-krch
Copy link
Contributor

Set of fixes for new UART shim. After those fixes tests with new shim can be re-enabled on CI for nordic bsim targets.

Fixes #67890.

@nordic-krch nordic-krch requested a review from anangl as a code owner February 6, 2024 13:03
@zephyrbot zephyrbot added platform: nRF Nordic nRFx area: Shell Shell subsystem area: UART Universal Asynchronous Receiver-Transmitter labels Feb 6, 2024
@zephyrbot
Copy link
Collaborator

zephyrbot commented Feb 6, 2024

The following west manifest projects have been modified in this Pull Request:

Name Old Revision New Revision Diff

Note: This message is automatically posted and updated by the Manifest GitHub Action.

@zephyrbot zephyrbot added manifest manifest-hal_nordic DNM This PR should not be merged (Do Not Merge) labels Feb 6, 2024
@aescolar aescolar added the bug The issue is a bug, or the PR is fixing a bug label Feb 7, 2024
@aescolar
Copy link
Member

aescolar commented Feb 7, 2024

Thanks Krzysztof, it looks fine enough to me. Should we aim at 3.6? (I set the milestone assuming so, please change it if you diagree)

@aescolar aescolar added this to the v3.6.0 milestone Feb 7, 2024
@dcpleung dcpleung assigned anangl and unassigned dcpleung Feb 12, 2024
@henrikbrixandersen henrikbrixandersen modified the milestones: v3.6.0, v3.7.0 Feb 21, 2024
@nordic-krch nordic-krch force-pushed the nrf_uart_shim_fixes branch 2 times, most recently from ff38d0b to 5b29a45 Compare March 7, 2024 08:26
dcpleung
dcpleung previously approved these changes Mar 7, 2024
@nordic-krch nordic-krch force-pushed the nrf_uart_shim_fixes branch from 5b29a45 to 3ca7686 Compare March 14, 2024 14:25
@zephyrbot zephyrbot removed the DNM This PR should not be merged (Do Not Merge) label Mar 14, 2024
@nordic-krch nordic-krch force-pushed the nrf_uart_shim_fixes branch from 2899fe9 to da220ed Compare April 4, 2024 11:06
Move providing of the first buffer in uart_rx_enable from that
function to the callback which is called from nrfx_uarte_rx_enable
context. By doing this nrfx_uarte_rx_buffer_set is called when
RX configuration flags are already known to the driver.

Signed-off-by: Krzysztof Chruściński <[email protected]>
Tests which were using the new nordic UART shim where failing
on the bsim targets. They are now fixed and tests can be
re-enabled.

Signed-off-by: Krzysztof Chruściński <[email protected]>
@nordic-krch nordic-krch force-pushed the nrf_uart_shim_fixes branch from da220ed to c71fa9c Compare April 5, 2024 09:15
@carlescufi carlescufi merged commit 362389e into zephyrproject-rtos:main Apr 5, 2024
25 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: Shell Shell subsystem area: UART Universal Asynchronous Receiver-Transmitter bug The issue is a bug, or the PR is fixing a bug platform: nRF Nordic nRFx
Projects
None yet
Development

Successfully merging this pull request may close these issues.

drivers: uart: uart_async_api: drivers.uart.async_api.nrf_uarte_new fails
7 participants