Skip to content

Commit a1c159e

Browse files
committed
STM32 GCC Unspecified RTOS error
1 parent 5d64e55 commit a1c159e

File tree

10 files changed

+10
-40
lines changed

10 files changed

+10
-40
lines changed

targets/TARGET_STM/TARGET_STM32G0/TARGET_STM32G030xx/TOOLCHAIN_GCC_ARM/stm32g030xx.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_STM32G0/TARGET_STM32G031xx/TOOLCHAIN_GCC_ARM/stm32g031xx.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_STM32G0/TARGET_STM32G041xx/TOOLCHAIN_GCC_ARM/stm32g041xx.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_STM32G0/TARGET_STM32G070xx/TOOLCHAIN_GCC_ARM/stm32g070xx.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_STM32G0/TARGET_STM32G071xx/TOOLCHAIN_GCC_ARM/stm32g071xx.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_STM32G0/TARGET_STM32G081xx/TOOLCHAIN_GCC_ARM/stm32g081xx.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_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)

targets/TARGET_STM/TARGET_STM32WB/TARGET_STM32WB50xx/TOOLCHAIN_GCC_ARM/stm32wb50xx.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_STM32WB/TARGET_STM32WB55xx/TOOLCHAIN_GCC_ARM/stm32wb55xx.ld

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -115,10 +115,7 @@ SECTIONS
115115
} > FLASH
116116
__exidx_end = .;
117117

118-
/* Location counter can end up 2byte aligned with narrow Thumb code but
119-
__etext is assumed by startup code to be the LMA of a section in RAM
120-
which must be 8-byte aligned */
121-
__etext = ALIGN (8);
118+
__etext = .;
122119
_sidata = .;
123120

124121
.data : AT (__etext)

0 commit comments

Comments
 (0)