aboutsummaryrefslogtreecommitdiffstats
path: root/src/atsam/fdcan.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/atsam/fdcan.c')
-rw-r--r--src/atsam/fdcan.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/atsam/fdcan.c b/src/atsam/fdcan.c
index a536a7be..deeb6070 100644
--- a/src/atsam/fdcan.c
+++ b/src/atsam/fdcan.c
@@ -71,8 +71,8 @@ struct fdcan_msg_ram {
struct fdcan_fifo TXFIFO[3];
};
-// Message ram is in regular memory
-static struct fdcan_msg_ram MSG_RAM;
+// Message ram is in DTCM - locate it there to avoid cache.
+static struct fdcan_msg_ram MSG_RAM __section(".dtcm.bss");
/****************************************************************