From: Keith Packard Date: Fri, 20 May 2011 06:56:59 +0000 (-0700) Subject: src-avr: Add SPI modules to telescience X-Git-Tag: 0.9.3~18 X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=92fcfc2e8e5a9cb789c8d4be36d38c1a73ddd413;hp=8fcd9ccf458abf4f85729a48ae789f38cdc1b9ca;p=fw%2Faltos src-avr: Add SPI modules to telescience And it works too! Signed-off-by: Keith Packard --- diff --git a/src-avr/ao_telescience.c b/src-avr/ao_telescience.c index 4bbe14cc..26e50ab3 100644 --- a/src-avr/ao_telescience.c +++ b/src-avr/ao_telescience.c @@ -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 */ diff --git a/src-avr/telescience/Makefile b/src-avr/telescience/Makefile index a5bea67a..2114b43d 100644 --- a/src-avr/telescience/Makefile +++ b/src-avr/telescience/Makefile @@ -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