define __ram_vector_table__ in makefile

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

define __ram_vector_table__ in makefile

2,062 次查看
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?

标记 (2)
0 项奖励
回复
1 回复

1,662 次查看
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 项奖励
回复