define __ram_vector_table__ in makefile

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

define __ram_vector_table__ in makefile

2,072件の閲覧回数
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,672件の閲覧回数
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 件の賞賛
返信