Skip to content

Commit

Permalink
tests: drivers: uart_async_api: fix userspace fault
Browse files Browse the repository at this point in the history
Updated driver to add missing configuration during
init while using async APIs.

Updated overlay and conf files for mimxrt1064
to run outside of usersapce mode to avoid
inaccessible memory regions when using nocache.

Signed-off-by: Emilio Benavente <[email protected]>
  • Loading branch information
EmilioCBen committed Sep 5, 2024
1 parent 494f880 commit df265b1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
2 changes: 2 additions & 0 deletions tests/drivers/uart/uart_async_api/boards/mimxrt1064_evk.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Userspace is unable to access the nocache region.
CONFIG_USERSPACE=n
Original file line number Diff line number Diff line change
@@ -1,11 +1,5 @@
/* SPDX-License-Identifier: Apache-2.0 */

/ {
chosen {
zephyr,sram = &dtcm;
};
};

dut: &lpuart3 {
status = "okay";
current-speed = <115200>;
Expand Down

0 comments on commit df265b1

Please sign in to comment.