Hi David,
I'm using TWR-K70F120M board under MCU V10.5 with MQX V4.1.
I've plugged the TWR-SER to a RS232/USB adaptor which is plugged on my PC through USB Port.
I've created a new project based on MQX V4.1 Cplus project.
I've rebuild the MQX libraries according to the Cplus project requirement.
The application is working fine and the Terminal shows:
++++++++++++++
global: Constructed OK
local: Constructed OK
heap: Constructed OK
heap: deallocation
local: deallocation
++++++++++++++
By default the Language Standard is defined by:
Compiler Default (ISO 1998 C++ with GNU extensions).
1- I changed it to ISO 2009 C++ with GNU extensions (-std=gnu++0x).
-> the application is running fine too.
2- added your files (3 files).
-> I got 2 errors.
By default the MQX project is using its own printf definition which is defined in fio.h file.
If I'm right you added a file cmds_memory.cpp which is not using the printf definition of MQX but EWL definition.
Is it the issue ?
Regards
Pascal