Hi,
How do I move the stdio port after initialization? I want to move it from ttye: to iodebug:
Thanks,
-Mike
Hi Mike:
These settings is set in user_config.h
#define BSP_DEFAULT_IO_CHANNEL "iodebug:"
#define BSP_DEFAULT_IO_CHANNEL_DEFINED
The io demo maybe helpful, please refer to it.
Freescale_MQX_4_2\mqx\examples\io
Regards
Daniel
Hi Daniel,
I'm using these calls but it seems to only change stdio for the calling task. Is there a global replace?
_io_set_handle(IO_STDIN, console_dev);
_io_set_handle(IO_STDOUT, console_dev);
_io_set_handle(IO_STDERR, console_dev);
Regards,
-Mike