redlib C++ support (Kinetis) ?

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

redlib C++ support (Kinetis) ?

3,386 次查看
davenadler
Senior Contributor II

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 项奖励
回复
1 回复

3,055 次查看
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 项奖励
回复