The official git repository for OSD-Contiki, the open source OS for the Internet of Things
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. |
||
---|---|---|
apps | ||
core | ||
cpu | ||
dev | ||
doc | ||
examples | ||
platform | ||
regression-tests | ||
tools | ||
.gitignore | ||
.gitmodules | ||
.travis.yml | ||
LICENSE | ||
Makefile.include | ||
README-BUILDING.md | ||
README-EXAMPLES.md | ||
README.md |
The Contiki Operating System
Contiki is an open source operating system that runs on tiny low-power microcontrollers and makes it possible to develop applications that make efficient use of the hardware while providing standardized low-power wireless communication for a range of hardware platforms.
Contiki is used in numerous commercial and non-commercial systems, such as city sound monitoring, street lights, networked electrical power meters, industrial monitoring, radiation monitoring, construction site monitoring, alarm systems, remote house monitoring, and so on.
For more information, see the Contiki website: