osd-contiki/cpu
Brad Campbell e2af903d05 Added SPI driver for CC2538
This uses the core/dev/spi.h header and implements the spi_init()
function and the various macros for SPI operation. ssi.h contains all of
the register locations and information.

This implementation is not very versatile, mostly because I don't how to
make it flexible in the contiki system. It supports pin muxing for the
four spi pins, but other than that picks sensible defaults.

The SPI macros (like SPI_READ()) are defined in
cpu/cc2538/spi-arch.h. In order to use the SPI driver, add the following
includes to your project:

    #include "spi-arch.h
    #include "dev/spi.h"
2013-09-27 17:46:15 -04:00
..
6502 Several minor consistency improvements. 2013-07-31 00:55:31 +02:00
arm Makefile.include: support make clean all 2013-06-20 17:45:41 -05:00
avr cpu/avr/radio/rf230bb/rf230bb.c (rf230_transmit): extend comment on tx sequence 2013-07-28 18:43:29 -03:00
cc253x Fix cc2530 UART1 init bug 2013-08-09 16:09:12 +01:00
cc2430 Disable SDCC warnings 110 and 126 2013-08-09 15:57:49 +01:00
cc2538 Added SPI driver for CC2538 2013-09-27 17:46:15 -04:00
mc1322x mc1322x: make uart buffer sizes configurable from contiki-conf.h 2013-07-04 14:09:40 -04:00
msp430 Makefile.include: support make clean all 2013-06-20 17:45:41 -05:00
native Several minor consistency improvements. 2013-07-31 00:55:31 +02:00
pic32 pic32 minor cleanups 2013-05-17 14:32:39 +02:00
stm32w108 Some little refactor 2013-07-19 16:15:55 +02:00
x86 avoid unnecessary symbols.c/h copying 2012-03-26 23:00:43 +02:00
z80 Makefile.include: support make clean all 2013-06-20 17:45:41 -05:00