atsam: Enable TCM and cache for atsame70

Signed-off-by: Luke Vuksta <wulfstawulfsta@gmail.com>
This commit is contained in:
Wulfsta
2024-09-14 13:13:36 -04:00
committed by KevinOConnor
parent 52af688245
commit 34e9ea55df
5 changed files with 188 additions and 13 deletions

View File

@@ -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");
/****************************************************************