How do I move the stdio port after initialization? I want to move it from ttye: to iodebug:
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.
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);
Retrieving data ...