Revert commit.
[bertos.git] / boards / sam3n-ek / templates / empty / main.c
index 71520bd180f78c7aab0dd2905897616cf48a3e22..8e5fb7826052bda9b9cf54a2dd415de3f11d6c48 100644 (file)
 #include "hw/hw_led.h"
 #include "hw/hw_lcd.h"
 
+#include <cfg/debug.h>
+
 #include <cpu/irq.h>
-#include <cpu/arm/drv/spi_dma_at91.h>
+#include <drv/spi_dma.h>
 
 #include <drv/timer.h>
 #include <drv/kbd.h>
@@ -54,7 +56,7 @@ static Bitmap lcd_bitmap;
 /* Raster associated to the Bitmap image */
 static uint8_t raster[RAST_SIZE(LCD_WIDTH, LCD_HEIGHT)];
 /* LCD spi context with DMA access */
-struct SpiDmaAt91 spi;
+struct SpiDma spi;
 
 static void init(void)
 {
@@ -85,6 +87,7 @@ static void init(void)
 
 int main(void)
 {
+       /* Hardware initialization */
        init();