mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-11-17 21:09:03 +00:00
a96dc90250
Currently the SPI driver in core/ sets `SPI_FLUSH()` to be a single read of the spi RX buffer. This is fine for many microcontrollers, but newer platforms like the CC2538 have a multi-byte FIFO for the RX buffer. In that case, a single read is not guaranteed to flush the RX. This commit allows `SPI_FLUSH()` to be platform dependent if needed, but doesn't change for platforms where it works. |
||
---|---|---|
.. | ||
cfs | ||
ctk | ||
dev | ||
lib | ||
loader | ||
net | ||
sys | ||
contiki-default-conf.h | ||
contiki-lib.h | ||
contiki-net.h | ||
contiki-version.h | ||
contiki.h |