define __ram_vector_table__ in makefile

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

define __ram_vector_table__ in makefile

1,184 Views
darnaiadam
Contributor III

Hi,

I defined a symbol in my makefile:

      -Xlinker --defsym=__ram_vector_table__=1

This effects the linker if the symbol above is defined, so in a good way M_VECTOR_RAM_SIZE has to be filled with the appropriate value, but in the generated .map file I see that the M_VECTOR_RAM_SIZE is empty. This means the linker doesn't see my define in the makefile:

map_file.jpg

What's the problem with this, and why doesn't see the linker that __ram_vector_table__ is defined?

Tags (2)
0 Kudos
1 Reply

784 Views
danielchen
NXP TechSupport
NXP TechSupport

Hi

I think you can try to set _ram_vector_table_ in configuration file symbol  field which will be added to the linker section

pastedImage_1.png

Regards

Daniel

0 Kudos