#include <drv/sd.h>
#include <drv/ser.h>
#include <drv/tmp123.h>
-#include <drv/spi_dma_at91.h>
+#include <drv/spi_dma.h>
#include <drv/mpxx6115a.h>
#include <drv/adc.h>
/*
* Static definition for application devices.
*/
-static SpiDmaAt91 spi_dma;
+static SpiDma spi_dma;
static Serial temp_sensor_bus;
static Serial log_port;
static Sd sd;
$(display_SRC_PATH)/bitmaps.c \
bertos/icons/logo.c \
bertos/fonts/gohu.c \
- bertos/cpu/arm/drv/spi_dma_at91.c \
+ bertos/cpu/cortex-m3/drv/spi_dma_sam3.c \
#
# Files included by the user.
#include <drv/kbd.h>
#include <drv/lcd_ili9225.h>
-#include <cpu/arm/drv/spi_dma_at91.h>
+#include <drv/spi_dma.h>
#include <gfx/gfx.h>
#include <gfx/font.h>
static PROC_DEFINE_STACK(led_stack, PROC_STACK_SIZE);
#endif
-struct SpiDmaAt91 spi;
+struct SpiDma spi;
static uint8_t raster[RAST_SIZE(LCD_WIDTH, LCD_HEIGHT)];
static Bitmap lcd_bitmap;
extern Font font_gohu;
#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>
/* 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)
{
#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>
/* 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)
{