Does the MCUXpresso IDE include a Cpp compiler for Kinetics and LPC controllers, and does the IDE allow to program/debug Cpp code.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Does the MCUXpresso IDE include a Cpp compiler for Kinetics and LPC controllers, and does the IDE allow to program/debug Cpp code.

3,649 Views
ishwarlal
Contributor III

Hi I was wondering if MCUXpresso support C++? or it is a pure C base IDE?

Regards Lal

Tags (2)
6 Replies

2,413 Views
otrnda
Contributor II

Is there any simple way to convert c MCUXpresso project to c++ MCUEpresso project ?

0 Kudos
Reply

2,413 Views
mesdouaabderraz
Contributor III

Yes me too, I encounter the same problem.

Especially since all the code examples are in .c

I will keep you informed as soon as I have new

0 Kudos
Reply

2,413 Views
otrnda
Contributor II

Well, I found an answer on Eclipse forum. You can add

<nature>org.eclipse.cdt.core.ccnature</nature>

to the the <natures></natures> tag of your

.project file

2,413 Views
BlackNight
NXP Employee
NXP Employee

Hi Lal,

I wondering why you think the MCUXpresso IDE would be for C only? Because it supports with its toolchain assembly, C and C++ programming.

I hope this helps,

Erich

2,413 Views
ishwarlal
Contributor III

I think (but I am not sure) the earlier versions of KDS (kinetics design studio) were limited to C only (as I said I am not sure), so that is why I was wondering if MCUXpresso is a C only IDE. But I just checked the Latest KDS (kinetics design studio) it also allows C++.

Any way thanks for you help Erich.

Regards

Lal

0 Kudos
Reply

2,413 Views
BlackNight
NXP Employee
NXP Employee

Hi Ishwar,

KDS has supported assembly, C and C++ from the beginning too. It was only that the Kinetis SDK (not the IDE!) were providing C only projects. But the IDE (and the GNU for ARM Embedded) always has supported C++ too.

Regards,

Erich

0 Kudos
Reply