tests: ipc: pbuf: Disable data cache management
Packet buffer is designed to run writer and reader code on two CPUs. The write function cannot be preempted by the read function in a CPU, or the cache management could result in data corruption. In the tests, the reader and the writer are executed on a single CPU. Disable data cache management to prevent potential data corruption. Signed-off-by: Krzysztof Chruściński <krzysztof.chruscinski@nordicsemi.no>
This commit is contained in:
parent
ea36f0c0a5
commit
70260720e9
1 changed files with 6 additions and 0 deletions
|
@ -5,3 +5,9 @@ CONFIG_ZTEST_SHUFFLE=y
|
||||||
CONFIG_IPC_SERVICE=y
|
CONFIG_IPC_SERVICE=y
|
||||||
CONFIG_IPC_SERVICE_ICMSG=y
|
CONFIG_IPC_SERVICE_ICMSG=y
|
||||||
CONFIG_PBUF=y
|
CONFIG_PBUF=y
|
||||||
|
# pbuf is designed to run writer and reader code on two CPUs.
|
||||||
|
# The write function cannot be preempted by the read function in a CPU,
|
||||||
|
# or the cache management could result in data corruption.
|
||||||
|
# In the tests, the reader and the writer are executed on a single CPU.
|
||||||
|
# Disable data cache management to prevent potential data corruption.
|
||||||
|
CONFIG_CACHE_MANAGEMENT=n
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue