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

cancel
Showing results for 
Search instead for 
Did you mean: 

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

512 Views
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

0 Kudos
2 Replies

403 Views
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 Kudos

402 Views
ErichStyger
Senior Contributor IV

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 Kudos