There are a couple things going wrong in this test code right now. First of all, there is no syncrhonization of when the async polling thread should start polling, causing sometimes the poll to fail on tests before the async test ran. Add a semaphore to fix this. The lock test was setting up a nonsense NOP transfer of 0 length. This might cause unexpected behavior and is not the point of this test case. But, still we should add a seperate test case specifically for testing this instead. Also add a teardown function to release the locks to allow other test cases to run in case of some failures. Also a minor change to remove some ARG_UNUSED invocations for some arguments that are actually used. Signed-off-by: Declan Snyder <declan.snyder@nxp.com> |
||
|---|---|---|
| .. | ||
| boards | ||
| dts/bindings | ||
| socs | ||
| src | ||
| sysbuild/vpr_launcher | ||
| CMakeLists.txt | ||
| Kconfig | ||
| overlay-gd32-spi-dma.conf | ||
| overlay-gd32-spi-interrupt.conf | ||
| overlay-max32-spi-dma.conf | ||
| overlay-max32-spi-rtio.conf | ||
| overlay-mcux-dspi-dma.conf | ||
| overlay-mcux-dspi-dma.overlay | ||
| overlay-mcux-flexio-spi.overlay | ||
| overlay-rpi-pico-pio.conf | ||
| overlay-sam-spi-dma.conf | ||
| overlay-sam-spi-dma.overlay | ||
| overlay-stm32-spi-16bits-dma-dt-nocache-mem.conf | ||
| overlay-stm32-spi-16bits-dma.conf | ||
| overlay-stm32-spi-16bits.conf | ||
| overlay-stm32-spi-16bits.overlay | ||
| overlay-stm32-spi-dma-dt-nocache-mem.conf | ||
| overlay-stm32-spi-dma.conf | ||
| overlay-stm32-spi-interrupt.conf | ||
| prj.conf | ||
| testcase.yaml | ||