From 17e0e5edde60e9bf2aa4d52173ad7d47d6d6da75 Mon Sep 17 00:00:00 2001 From: Perry Hung Date: Thu, 22 Apr 2010 02:36:01 -0400 Subject: Initial SPI Polling implementation. Initial commit of a polling-based SPI driver. The driver is limited to synchronous, blocking sends and a 8-bit data frame format. Tested on SPI1 and SPI2. Other peripherals are temporarily disabled, and the rx function is untested until I find a good peripheral to test everything on. --- Makefile | 1 + 1 file changed, 1 insertion(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 2076083..8d441a0 100644 --- a/Makefile +++ b/Makefile @@ -70,6 +70,7 @@ CSRC = libmaple/systick.c \ libmaple/usb.c \ libmaple/rcc.c \ libmaple/flash.c \ + libmaple/spi.c \ core/wiring.c \ core/wiring_shift.c \ core/wiring_analog.c \ -- cgit v1.2.3