File tree 3 files changed +30
-9
lines changed
WB35C(C-E)UxA_WB55C(C-E-G)U
3 files changed +30
-9
lines changed Original file line number Diff line number Diff line change @@ -170,7 +170,15 @@ SECTIONS
170
170
.ARM.attributes 0 : { *(.ARM.attributes) }
171
171
MAPPING_TABLE (NOLOAD) : { *(MAPPING_TABLE) } >RAM_SHARED
172
172
MB_MEM1 (NOLOAD) : { *(MB_MEM1) } >RAM_SHARED
173
- MB_MEM2 (NOLOAD) : { _sMB_MEM2 = . ; *(MB_MEM2) ; _eMB_MEM2 = . ; } >RAM_SHARED
173
+
174
+ /* used by the startup to initialize .MB_MEM2 data */
175
+ _siMB_MEM2 = LOADADDR (.MB_MEM2);
176
+ .MB_MEM2 (NOLOAD) :
177
+ {
178
+ _sMB_MEM2 = . ;
179
+ *(MB_MEM2) ;
180
+ _eMB_MEM2 = . ;
181
+ } >RAM_SHARED
174
182
}
175
183
176
184
Original file line number Diff line number Diff line change 47
47
{
48
48
FLASH (rx ) : ORIGIN = 0x08000000 + LD_FLASH_OFFSET, LENGTH = LD_MAX_SIZE - LD_FLASH_OFFSET
49
49
RAM1 (xrw ) : ORIGIN = 0x20000004, LENGTH = LD_MAX_DATA_SIZE - 4
50
- RAM_SHARED_SRAM2a (xrw ) : ORIGIN = 0x20030000, LENGTH = 2K /* Limited by OptionByte SBRSA when loading firmware Full stack extended */
51
- RAM_SHARED_SRAM2b (xrw ) : ORIGIN = 0x20038000, LENGTH = 10K /* Limited by OptionByte SNBRSA when loading firmware Full stack extended */
50
+ RAM_SHARED (xrw ) : ORIGIN = 0x20030000, LENGTH = 10K
52
51
}
53
52
54
53
/* Define output sections */
@@ -169,7 +168,15 @@ SECTIONS
169
168
}
170
169
171
170
.ARM.attributes 0 : { *(.ARM.attributes) }
172
- MAPPING_TABLE (NOLOAD) : { *(MAPPING_TABLE) } >RAM_SHARED_SRAM2a
173
- MB_MEM1 (NOLOAD) : { *(MB_MEM1) } >RAM_SHARED_SRAM2a
174
- MB_MEM2 (NOLOAD) : { _sMB_MEM2 = . ; *(MB_MEM2) ; _eMB_MEM2 = . ; } >RAM_SHARED_SRAM2b
171
+ MAPPING_TABLE (NOLOAD) : { *(MAPPING_TABLE) } >RAM_SHARED
172
+ MB_MEM1 (NOLOAD) : { *(MB_MEM1) } >RAM_SHARED
173
+
174
+ /* used by the startup to initialize .MB_MEM2 data */
175
+ _siMB_MEM2 = LOADADDR (.MB_MEM2);
176
+ .MB_MEM2 (NOLOAD) :
177
+ {
178
+ _sMB_MEM2 = . ;
179
+ *(MB_MEM2) ;
180
+ _eMB_MEM2 = . ;
181
+ } >RAM_SHARED
175
182
}
Original file line number Diff line number Diff line change @@ -170,7 +170,13 @@ SECTIONS
170
170
.ARM.attributes 0 : { *(.ARM.attributes) }
171
171
MAPPING_TABLE (NOLOAD) : { *(MAPPING_TABLE) } >RAM_SHARED
172
172
MB_MEM1 (NOLOAD) : { *(MB_MEM1) } >RAM_SHARED
173
- MB_MEM2 (NOLOAD) : { _sMB_MEM2 = . ; *(MB_MEM2) ; _eMB_MEM2 = . ; } >RAM_SHARED
174
- }
175
-
176
173
174
+ /* used by the startup to initialize .MB_MEM2 data */
175
+ _siMB_MEM2 = LOADADDR (.MB_MEM2);
176
+ .MB_MEM2 (NOLOAD) :
177
+ {
178
+ _sMB_MEM2 = . ;
179
+ *(MB_MEM2) ;
180
+ _eMB_MEM2 = . ;
181
+ } >RAM_SHARED
182
+ }
You can’t perform that action at this time.
0 commit comments