-
Notifications
You must be signed in to change notification settings - Fork 6.8k
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
tests drivers Uart async on stm32 boards requires dma channels config. #32607
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This sets the dts of dma for using the uart asynch api. The stm32l475 has a dmamux with request 2 for Tx/Rx usart4 The Tx&Rx pins (PA0, PA1) of the usart4 are connected on the disco_l475_iot1 board to pass the test. Signed-off-by: Francois Ramu <francois.ramu@st.com>
github-actions
bot
added
the
area: Tests
Issues related to a particular existing or missing test
label
Feb 24, 2021
|
FRASTM
force-pushed
the
uart_async_test
branch
from
February 24, 2021 11:08
7280f94
to
61cb9ec
Compare
FRASTM
force-pushed
the
uart_async_test
branch
from
February 24, 2021 14:47
61cb9ec
to
bf27ac3
Compare
dcpleung
approved these changes
Feb 24, 2021
FRASTM
force-pushed
the
uart_async_test
branch
from
February 25, 2021 15:52
bf27ac3
to
cc8d69d
Compare
rebase |
Mierunski
approved these changes
Mar 1, 2021
erwango
added
DNM
This PR should not be merged (Do Not Merge)
platform: STM32
ST Micro STM32
labels
Mar 1, 2021
adding a temporary patch to avoid using the cache of the stm32f7 when running the tests uart_async_api ( #31711) |
give the commit for the disco_l475_iot1 only |
erwango
approved these changes
Mar 3, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
area: Tests
Issues related to a particular existing or missing test
area: UART
Universal Asynchronous Receiver-Transmitter
platform: STM32
ST Micro STM32
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This defines an overlay for the dma channels when executing the
tests/drivers/uart/uart_async_api
on stm32 nucleo boards:through overlay for this tests.
The DMA must be configured for the UART when asynch api is defined.
on disco_l475_iot1: UART 4 is used for testing : DMA 2 channel 3 & 5 and request 2 is selected (uart4 is already selected for this board)
UART Tx pin must be connected to UART Rx pin on the board.
It also helps when running the test on other stm32 boards or running other test (ex. tests/drivers/spi/spi_loopback) with dma on those boards.
Signed-off-by: Francois Ramu francois.ramu@st.com