NXP S32148 C++ start-up code and linker script

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

NXP S32148 C++ start-up code and linker script

898 次查看
saireddy_saredd
Contributor III

Hi

Can Any body provide me startup code and linker script for Nxps32k148 micro controller for C++ ??

I have the startup and linker script for C code but I hvae problem with C++. For C++ code ctor is not allocated.

Best Regards,

Sai

标记 (4)
0 项奖励
2 回复数

789 次查看
alexanderfedoto
NXP Employee
NXP Employee

Hello saireddy.sareddy@gmail.com

What S32DS version do you use ? Default S32DS Application project supports C++. Perhaps you modified source somehow.

Could you please share your project ? You can cut off your proprietary code if necessary.

0 项奖励

788 次查看
ErichStyger
Senior Contributor V

Hi Sai,

It depends on the (GNU) library you are using. You might have a look at C++ with Kinetis Design Studio | MCU on Eclipse. But basically check your startup code and insteas of calling directly main() call the library initializer function(s).

I hope this helps,

Erich

0 项奖励