src-avr: Add SPI modules to telescience
authorKeith Packard <keithp@keithp.com>
Fri, 20 May 2011 06:56:59 +0000 (23:56 -0700)
committerKeith Packard <keithp@keithp.com>
Fri, 20 May 2011 06:56:59 +0000 (23:56 -0700)
And it works too!

Signed-off-by: Keith Packard <keithp@keithp.com>
src-avr/ao_telescience.c
src-avr/telescience/Makefile

index 4bbe14cc8a5340959483678477c488016cc08a38..26e50ab342c74b52e786719f6da06682b6f9fa7d 100644 (file)
@@ -28,8 +28,8 @@ main(void)
        ao_stdio_init();
        ao_timer_init();
        ao_cmd_init();
-//     ao_spi_init();
-//     ao_storage_init();
+       ao_spi_init();
+       ao_storage_init();
        ao_usb_init();
 
        /* Turn on the LED until the system is stable */
index a5bea67a0f50e916c31538ec39d0e361960ac727..2114b43d15d963ca7a982ef8299fdbace98a9aa0 100644 (file)
@@ -49,7 +49,8 @@ ALTOS_SRC = \
        ao_task.c \
        ao_timer.c \
        ao_led.c \
-       ao_usb_avr.c
+       ao_usb_avr.c \
+       $(TELESCIENCE_STORAGE)
 
 PRODUCT=TeleScience-v0.1
 MCU=atmega32u4
@@ -104,4 +105,4 @@ install:
 
 uninstall:
 
-$(OBJ): ao.h ao_product.h
\ No newline at end of file
+$(OBJ): ao.h ao_product.h ao_usb.h