Referencing to ORIGIN(L2) in .vectors and .l2_data sections.

This commit is contained in:
Yvan Tortorella 2023-10-20 00:09:59 +02:00
parent 45de393f94
commit 96a6336e8a

View file

@ -178,7 +178,7 @@ SECTIONS
* Contains FC code
*/
.vectors MAX(0x78008000,ALIGN(256)) :
.vectors MAX(ORIGIN(L2)+0x8000,ALIGN(256)) :
{
/*. = ALIGN(256);*/
__irq_vector_base = .;
@ -207,7 +207,7 @@ SECTIONS
* Contains other data such as peripheral data and cluster code and data
*/
.l2_data MAX(0x78010000,ALIGN(4)) :
.l2_data MAX(ORIGIN(L2)+0x10000,ALIGN(4)) :
{
. = ALIGN(4);
__cluster_text_start = .;