tests: drivers: uart: uart_async_api: disable userspace permissions
Test cases on F746ZG work with USERSPACE config not enabled. PR #80944 forces the use of the TEST_ENABLE_USERSPACE config with the "select" statement instead of "imply," which is more restrictive for test case dependencies.This leads to the error "Memory region 0x2004d180 (size 8) write access denied" on boards. By setting CONFIG_TEST_USERSPACE=n, the TEST_ENABLE_USERSPACE config will not be enabled. Signed-off-by: Fabrice DJIATSA <fabrice.djiatsa-ext@st.com>
This commit is contained in:
parent
57b3eb6213
commit
921e281ef0
3
tests/drivers/uart/uart_async_api/stm32_nocache_mem.conf
Normal file
3
tests/drivers/uart/uart_async_api/stm32_nocache_mem.conf
Normal file
@ -0,0 +1,3 @@
|
||||
CONFIG_TEST_USERSPACE=n
|
||||
CONFIG_DCACHE=y
|
||||
CONFIG_NOCACHE_MEMORY=y
|
||||
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user