Fix issue with linker script allowing data section to overflow flash

This commit is contained in:
Doug Brown 2023-08-06 20:35:27 -07:00 committed by Doug Brown
parent 78c4068071
commit 34f2364840
2 changed files with 4 additions and 4 deletions

View File

@ -123,7 +123,7 @@ SECTIONS
__etext = .;
.data : AT (__etext)
.data : ALIGN(4)
{
__data_start__ = .;
*(vtable)
@ -155,7 +155,7 @@ SECTIONS
/* All data end */
__data_end__ = .;
} > RAM
} > RAM AT > FLASH
.bss :
{

View File

@ -123,7 +123,7 @@ SECTIONS
__etext = .;
.data : AT (__etext)
.data : ALIGN(4)
{
__data_start__ = .;
*(vtable)
@ -155,7 +155,7 @@ SECTIONS
/* All data end */
__data_end__ = .;
} > RAM
} > RAM AT > FLASH
.bss :
{