redlib C++ support (Kinetis) ?

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

redlib C++ support (Kinetis) ?

1,268 Views
davenadler
Senior Contributor I

Some very old documentation (cut-and-pasted from CodeRed days) says redlib doesn't support C++.
With latest MCUXpresso, creating a new C++ project gives redlib as an option.

  1. Does redlib support C++, or is the above a bug in MCUXpresso?
  2. What C++ features are omitted from redlib?

Thanks!
Best Regards, Dave

0 Kudos
1 Reply

937 Views
lpcxpresso_supp
NXP Employee
NXP Employee

As per the MCUXpresso IDE v10.0.0 User Guide, chapter 11, "C/C++ Library Support", Redlib is still a C90 standard C library (with a few C99 extensions). There are no plans to add C++ support to Redlib.

Generally for C++, use Newlib-Nano (which is what the IDE's SDK new project wizard will default to using). Otherwise, you can use Newlib.

Regards,

MCUXpresso IDE Support

0 Kudos