Link fails while using TSS Library on TWRK40X256

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

Link fails while using TSS Library on TWRK40X256

跳至解决方案
740 次查看
friederschrempf
Contributor IV

I try to include the TSS capabilities of the TWRK40X256 board (Touch Electrodes) into an application.

The TSS example compiles and works as intended.

When I use the same code from the example in my own application I get some weird errors in my BSP project about missing definitions. I can't figure out what I missed while porting the example. The references to /lib/twrk40x256.cw10/debug/bsb/tss exist.

I attached a screenshot with the code that causes the errors and the error list.

I use CodeWarrior 10.2 with MQX 4.0.

Thanks for any help

标记 (3)
0 项奖励
回复
1 解答
513 次查看
c0170
Senior Contributor III

Hello Frieder Schrempf,

can you compare linker path settings with the original HMI application (in your monitor application). Are all paths same set ?

It would help you paste them here, linker settings in your application. BSP does not include TSS library, the application's linker must resolve all symbols.

Regards,

MartinK

在原帖中查看解决方案

0 项奖励
回复
2 回复数
514 次查看
c0170
Senior Contributor III

Hello Frieder Schrempf,

can you compare linker path settings with the original HMI application (in your monitor application). Are all paths same set ?

It would help you paste them here, linker settings in your application. BSP does not include TSS library, the application's linker must resolve all symbols.

Regards,

MartinK

0 项奖励
回复
513 次查看
friederschrempf
Contributor IV

Thank you for the quick help!

I did not know that the library has to be added manually.

After including "tss.a" in the Linker settings everything worked.

0 项奖励
回复