diff options
author | Wulfsta <wulfstawulfsta@gmail.com> | 2024-09-14 13:13:36 -0400 |
---|---|---|
committer | KevinOConnor <kevin@koconnor.net> | 2024-10-21 22:27:41 -0400 |
commit | 34e9ea55df3135fe1d909ab2b488abdcbce29b0c (patch) | |
tree | bf464a32fb9959dfb0747ab5a6fb8d29e95fcc68 /src/atsam/fdcan.c | |
parent | 52af688245a663ad2a2b44f6b7c939d5c3e17f6f (diff) | |
download | kutter-34e9ea55df3135fe1d909ab2b488abdcbce29b0c.tar.gz kutter-34e9ea55df3135fe1d909ab2b488abdcbce29b0c.tar.xz kutter-34e9ea55df3135fe1d909ab2b488abdcbce29b0c.zip |
atsam: Enable TCM and cache for atsame70
Signed-off-by: Luke Vuksta <wulfstawulfsta@gmail.com>
Diffstat (limited to 'src/atsam/fdcan.c')
-rw-r--r-- | src/atsam/fdcan.c | 4 |
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"); /**************************************************************** |