altos: Split out SPI driver.
authorKeith Packard <keithp@keithp.com>
Thu, 23 Dec 2010 05:06:22 +0000 (21:06 -0800)
committerKeith Packard <keithp@keithp.com>
Thu, 23 Dec 2010 05:17:36 +0000 (21:17 -0800)
commit9f7296b3feab872bf51fc369ade69cc1e7cf7a3f
tree3ec494cea281d5df871ffecc94f61cfff88d0226
parent51c410c1c952e0e9bcf1b2c438813de63753be5f
altos: Split out SPI driver.

For TM with the companion connector, the SPI bus will be shared among
multiple devices. Split out the existing SPI code into a common
driver, with the SPI bus protected by a mutex.

Signed-off-by: Keith Packard <keithp@keithp.com>
src/Makefile.proto
src/ao.h
src/ao_ee.c
src/ao_flash.c
src/ao_pins.h
src/ao_spi.c [new file with mode: 0644]
src/ao_telemetrum.c
src/telemetrum-v0.1-sirf/Makefile.defs
src/telemetrum-v0.1-sky/Makefile.defs
src/telemetrum-v1.0/Makefile.defs