Fix issue with linker script allowing data section to overflow flash

This commit is contained in:
Doug Brown 2023-06-23 19:59:13 -07:00 committed by Doug Brown
parent 7a77d583da
commit 7c368aa816
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 :
{