File tree Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Original file line number Diff line number Diff line change @@ -156,6 +156,15 @@ SECTIONS
156
156
*(.jcr )
157
157
} GROUP_LINK_IN (ROMABLE_REGION)
158
158
159
+ #if DT_PROP(DT_NODELABEL(code_flash), programming_enable)
160
+ SECTION_PROLOGUE (.pfram ,ALIGN (4 ),)
161
+ {
162
+ _PFRAM_start = .;
163
+ . += _RPFRAM_end - _RPFRAM_start;
164
+ _PFRAM_end = .;
165
+ } > ROMABLE_REGION
166
+ #endif
167
+
159
168
/* TODO: is this section necessary? There is a similar section
160
169
* (_CTOR_SECTION_NAME) in common-rom.ld. This seems to be for
161
170
* C++ Constructors/Destructors? */
@@ -235,6 +244,18 @@ SECTIONS
235
244
236
245
__data_region_end = .;
237
246
247
+ #if DT_PROP(DT_NODELABEL(code_flash), programming_enable)
248
+
249
+ .rpfram ALIGN (4 ) : AT(_PFRAM_start)
250
+ {
251
+ _RPFRAM_start = .;
252
+ *(PFRAM)
253
+ . = ALIGN (4 );
254
+ _RPFRAM_end = .;
255
+ } > RAMABLE_REGION
256
+
257
+ #endif
258
+
238
259
SECTION_PROLOGUE (_BSS_SECTION_NAME,,)
239
260
{
240
261
_bss = .;
You can’t perform that action at this time.
0 commit comments