File tree Expand file tree Collapse file tree 2 files changed +18
-0
lines changed
variants/feather_m4_can/linker_scripts/gcc Expand file tree Collapse file tree 2 files changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -143,6 +143,15 @@ SECTIONS
143
143
144
144
__etext = .;
145
145
146
+ /* Data accessed by the CAN peripheral must be in the first 64kB RAM */
147
+ /* place it at the very start of RAM, before the .data section */
148
+ /* *NOTE* it is not expliclty zeroed */
149
+ .canram (NOLOAD) :
150
+ {
151
+ . = ALIGN (4);
152
+ *(.canram)
153
+ } > RAM
154
+
146
155
.data : AT (__etext)
147
156
{
148
157
__data_start__ = .;
Original file line number Diff line number Diff line change @@ -141,6 +141,15 @@ SECTIONS
141
141
142
142
__etext = .;
143
143
144
+ /* Data accessed by the CAN peripheral must be in the first 64kB RAM */
145
+ /* place it at the very start of RAM, before the .data section */
146
+ /* *NOTE* it is not expliclty zeroed */
147
+ .canram (NOLOAD) :
148
+ {
149
+ . = ALIGN (4);
150
+ *(.canram)
151
+ } > RAM
152
+
144
153
.data : AT (__etext)
145
154
{
146
155
__data_start__ = .;
You can’t perform that action at this time.
0 commit comments