Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit61b889e

Browse files
committed
fix: variant WB55R(C-E-G)V linker script update SRAM2a SRAM2b
Reduce SRAM2a size depending on BLE secure contraintimposed by Firmware Stack Full ExtendedAdd SRAM2b, as not enough place in SRAM2aSigned-off-by: Alexandre Bourdiol <alexandre.bourdiol@st.com>
1 parent886da13 commit61b889e

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

‎variants/STM32WBxx/WB55R(C-E-G)V/ldscript.ld

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,8 @@ MEMORY
4747
{
4848
FLASH (rx) :ORIGIN = 0x08000000 + LD_FLASH_OFFSET,LENGTH = LD_MAX_SIZE - LD_FLASH_OFFSET
4949
RAM1 (xrw) :ORIGIN = 0x20000004,LENGTH = LD_MAX_DATA_SIZE - 4
50-
RAM_SHARED (xrw) :ORIGIN = 0x20030000,LENGTH = 10K
50+
RAM_SHARED_SRAM2a (xrw) :ORIGIN = 0x20030000,LENGTH = 2K /* Limited by OptionByte SBRSA when loading fimware Full stack extended */
51+
RAM_SHARED_SRAM2b (xrw) :ORIGIN = 0x20038000,LENGTH = 10K /* Limited by OptionByte SNBRSA when loading fimware Full stack extended */
5152
}
5253

5354
/* Define output sections */
@@ -168,7 +169,7 @@ SECTIONS
168169
}
169170

170171
.ARM.attributes 0 : { *(.ARM.attributes) }
171-
MAPPING_TABLE (NOLOAD) : { *(MAPPING_TABLE) } >RAM_SHARED
172-
MB_MEM1 (NOLOAD) : { *(MB_MEM1) } >RAM_SHARED
173-
MB_MEM2 (NOLOAD) : { _sMB_MEM2 = . ; *(MB_MEM2) ; _eMB_MEM2 = . ; } >RAM_SHARED
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
174175
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp