Skip to content

Commit 4e873ef

Browse files
committed
chore(wl3): remove ROM info from the linker script
Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
1 parent e5d986f commit 4e873ef

1 file changed

Lines changed: 0 additions & 16 deletions

File tree

variants/STM32WL3x/WL33C(8-B-C)Vx(X)/ldscript.ld

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,6 @@ STM32WL3x memory map
2727
| |
2828
| FLASH (256K) |
2929
+-----------------------+ 0x10040000
30-
| |
31-
+-----------------------| 0x100017FF
32-
| ROM (6K) |
33-
+-----------------------+ 0x10000000
3430
*/
3531

3632

@@ -42,10 +38,6 @@ _MEMORY_FLASH_BEGIN_ = 0x10040000;
4238
_MEMORY_FLASH_SIZE_ = LD_MAX_SIZE;
4339
_MEMORY_FLASH_END_ = 0x1007FFFF;
4440

45-
_MEMORY_ROM_BEGIN_ = 0x10000000;
46-
_MEMORY_ROM_SIZE_ = 0x01800;
47-
_MEMORY_ROM_END_ = 0x100017FF;
48-
4941

5042
MEMORY_FLASH_APP_OFFSET = DEFINED(MEMORY_FLASH_APP_OFFSET) ? (MEMORY_FLASH_APP_OFFSET) : (LD_FLASH_OFFSET) ;
5143
MEMORY_FLASH_APP_SIZE = DEFINED(MEMORY_FLASH_APP_SIZE) ? (MEMORY_FLASH_APP_SIZE) : (_MEMORY_FLASH_SIZE_ - MEMORY_FLASH_APP_OFFSET);
@@ -66,7 +58,6 @@ MEMORY
6658
RAM (xrw) : ORIGIN = _MEMORY_RAM_BEGIN_, LENGTH = _MEMORY_RAM_SIZE_
6759
REGION_FLASH_BOOTLOADER (rx) : ORIGIN = _MEMORY_FLASH_BEGIN_, LENGTH = MEMORY_FLASH_APP_OFFSET
6860
FLASH (rx) : ORIGIN = _MEMORY_FLASH_BEGIN_ + MEMORY_FLASH_APP_OFFSET, LENGTH = MEMORY_FLASH_APP_SIZE
69-
REGION_ROM (rx) : ORIGIN = _MEMORY_ROM_BEGIN_, LENGTH = _MEMORY_ROM_SIZE_
7061
}
7162

7263
/* Define output sections */
@@ -199,13 +190,6 @@ SECTIONS
199190
. = ALIGN(4);
200191
} > RAM
201192

202-
.rom_info (NOLOAD) :
203-
{
204-
. = ALIGN(4);
205-
KEEP(*(.rom_info))
206-
. = ALIGN(4);
207-
} >REGION_ROM
208-
209193
/* Remove information from the standard libraries */
210194
/DISCARD/ :
211195
{

0 commit comments

Comments
 (0)