Skip to content

Commit dfa80ea

Browse files
authored
Merge pull request #12863 from jeromecoutant/PR_12690_5_15
STM32 GCC Unspecified RTOS error
2 parents 0784ea2 + 267f32c commit dfa80ea

File tree

2 files changed

+2
-8
lines changed

2 files changed

+2
-8
lines changed

targets/TARGET_STM/TARGET_STM32L5/TARGET_STM32L552xx/TOOLCHAIN_GCC_ARM/stm32l552xx.ld

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -111,10 +111,7 @@ SECTIONS
111111
} > FLASH
112112
__exidx_end = .;
113113

114-
/* Location counter can end up 2byte aligned with narrow Thumb code but
115-
__etext is assumed by startup code to be the LMA of a section in RAM
116-
which must be 8-byte aligned */
117-
__etext = ALIGN (8);
114+
__etext = .;
118115
_sidata = .;
119116

120117
.data : AT (__etext)

targets/TARGET_STM/TARGET_STM32L5/TARGET_STM32L562xx/TOOLCHAIN_GCC_ARM/stm32l562xx.ld

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -111,10 +111,7 @@ SECTIONS
111111
} > FLASH
112112
__exidx_end = .;
113113

114-
/* Location counter can end up 2byte aligned with narrow Thumb code but
115-
__etext is assumed by startup code to be the LMA of a section in RAM
116-
which must be 8-byte aligned */
117-
__etext = ALIGN (8);
114+
__etext = .;
118115
_sidata = .;
119116

120117
.data : AT (__etext)

0 commit comments

Comments
 (0)