How to get the UART Async API sample working on a STM32 Nucleo F767ZI board? #100059
Unanswered
digitalnumeric
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I am trying to get this sample working on my STM32 Nucleo F767ZI board:
zephyr/samples/drivers/uart/async_api/
I followed the steps here to create an overlay file.
#67303
nucleo_f767zi.overlay
Building and running the sample I get the following output:
I then updated my prj.conf adding nocache support:
prj.conf
I then pulled over the macro definition for this line:
NET_BUF_POOL_DEFINE(tx_pool, LOOP_ITER_MAX_TX, MAX_TX_LEN, 0, NULL);And changed:
static uint8_t __noinit net_buf_data_##_name[_count][_data_size] __net_buf_align;to:
static uint8_t __nocache net_buf_data_##_name[_count][_data_size] __net_buf_align;Thus putting the Tx buffer in nocache memory, but now I am getting these errors:
I also noticed in my build output the messages:
Is the above related to the issues I am seeing?
Does the STM32 driver support the UART Async API?
If so, how can I get it working?
Thank you.
Beta Was this translation helpful? Give feedback.
All reactions