diff --git a/tests/drivers/uart/uart_async_api/stm32_nocache_mem.conf b/tests/drivers/uart/uart_async_api/stm32_nocache_mem.conf new file mode 100644 index 00000000000..f91a7822e5e --- /dev/null +++ b/tests/drivers/uart/uart_async_api/stm32_nocache_mem.conf @@ -0,0 +1,3 @@ +CONFIG_TEST_USERSPACE=n +CONFIG_DCACHE=y +CONFIG_NOCACHE_MEMORY=y diff --git a/tests/drivers/uart/uart_async_api/testcase.yaml b/tests/drivers/uart/uart_async_api/testcase.yaml index ef1f48e4112..e0f14c3a492 100644 --- a/tests/drivers/uart/uart_async_api/testcase.yaml +++ b/tests/drivers/uart/uart_async_api/testcase.yaml @@ -99,10 +99,8 @@ tests: platform_allow: - nucleo_f746zg - nucleo_h723zg - extra_configs: - - CONFIG_DCACHE=y - - CONFIG_NOCACHE_MEMORY=y - - CONFIG_USERSPACE=n + extra_args: + - EXTRA_CONF_FILE=stm32_nocache_mem.conf drivers.uart.async_api.nocache_mem_dt.nucleo_f746zg: # nocache memory region is defined in DT harness: ztest @@ -114,6 +112,8 @@ tests: extra_args: - DTC_OVERLAY_FILE="boards/nucleo_f746zg.overlay;boards/nucleo_f746zg_nocachemem.overlay" - EXTRA_CONF_FILE=stm32_nocache_mem_dt.conf + extra_configs: + - CONFIG_TEST_USERSPACE=n drivers.uart.async_api.nocache_mem_dt.nucleo_h723zg: # nocache memory region is defined in DT harness: ztest