From 6878519aea7a32eb1fa563ac8abbf62c44bfc819 Mon Sep 17 00:00:00 2001 From: Christian Mauderer Date: Tue, 6 Feb 2018 16:28:28 +0100 Subject: bsp/atsam: Fix cache / DMA handling in SPI. This patch fixes the cache handling for the atsam SPI driver. Note that this solution might doesn't have the best performance for small packets. --- c/src/lib/libbsp/arm/atsam/Makefile.am | 3 +++ 1 file changed, 3 insertions(+) (limited to 'c/src/lib/libbsp/arm/atsam/Makefile.am') diff --git a/c/src/lib/libbsp/arm/atsam/Makefile.am b/c/src/lib/libbsp/arm/atsam/Makefile.am index 10f34dab55..aa97025568 100644 --- a/c/src/lib/libbsp/arm/atsam/Makefile.am +++ b/c/src/lib/libbsp/arm/atsam/Makefile.am @@ -156,6 +156,9 @@ libbsp_a_SOURCES += spi/sc16is752.c libbsp_a_SOURCES += ../../shared/tod.c libbsp_a_SOURCES += rtc/rtc-config.c +# Helper functions +libbsp_a_SOURCES += utils/iocopy.c + # Includes libbsp_a_CPPFLAGS += -I$(srcdir)/../shared/CMSIS/Include libbsp_a_CPPFLAGS += -I$(srcdir)/libraries/libboard -- cgit v1.2.3