Crasycat, I have a similar question. I'm using:
CodeWarrior 10.0 Beta 3
DEMOQE128 board
and am building to the MCF51QE128 internal flash target. I've written a simple C++ application that sends some output using "cout", e.g. cout << variable.
First of all, I'd like to be able to to use cout to write to the CW console window, even if there's no DEMOQE128 board connected, but I haven't found yet how to invoke the full chip simulation in the debugger (something that was present in CW 5 and 6). Do you know if CW 10.0 Beta 3 supports simulation?
Second, I haven't found yet how to get a successful build with "cout" in the source. I do have -define CONSOLE_IO_SUPPORT=1 in the compile flags. Here's what goes wrong:
1. If I use #include <iostream> in my source, I get a failure, with "undefined identifier cout" in the compile.
2. If I use <iostream.h> instead, I get these 3 symbols undefined in the link: InitializeUART, ReadUARTN, WriteUARTN
There are 3 files in C:\Program Files\Freescale\CW MCU v10.0\MCU_10.0\ColdFire_Support\ewl\EWL_C\src\coldfire: console_io_cf.c, sci_console_io_cf.c, and uart_console_io_cf.c, but I don't see how they would help.
Am I missing additional includes in my build? Additional sources? Help would be appreciated. Thanks!