Skip to content
Commit ebfed3dc authored by Michael Hope's avatar Michael Hope Committed by Anas Nashif
Browse files

spi: sam0: fix txrx, NULL buffers, and add a stub async method.



This patches fixes a few bugs with the SAM0 driver:

- txrx was trasnmitting too many bytes
- adds support for NULL buffers to the fast paths
- fixes a NULL dereference on the rx buffer slow path

The tests under tests/driver/spi/spi_loopback now pass.

Signed-off-by: default avatarMichael Hope <mlhx@google.com>
parent d09baafe
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment