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 overlay files to test using nocache.
and run outside of usersapce mode to avoid
inaccessible memory regions when using nocache on RT parts.
Also updated testcase file to reflect nocache testing.

Signed-off-by: Emilio Benavente <[email protected]>
  • Loading branch information
EmilioCBen committed Sep 24, 2024
1 parent f6d5c2e commit e7aeda7
Show file tree
Hide file tree
Showing 11 changed files with 0 additions and 63 deletions.
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: &lpuart4 {
status = "okay";
current-speed = <115200>;
Expand Down
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: &lpuart4 {
status = "okay";
current-speed = <115200>;
Expand Down
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: &lpuart2 {
status = "okay";
current-speed = <115200>;
Expand Down
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: &lpuart2 {
status = "okay";
current-speed = <115200>;
Expand Down
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
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
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
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
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: &lpuart2 {
status = "okay";
current-speed = <115200>;
Expand Down
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: &lpuart2 {
status = "okay";
current-speed = <115200>;
Expand Down
3 changes: 0 additions & 3 deletions tests/drivers/uart/uart_async_api/testcase.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -81,9 +81,6 @@ tests:
harness_config:
fixture: gpio_loopback
depends_on: gpio
platform_allow:
- nucleo_f746zg
- nucleo_h723zg
extra_configs:
- CONFIG_DCACHE=y
- CONFIG_NOCACHE_MEMORY=y
Expand Down

0 comments on commit e7aeda7

Please sign in to comment.