In KDS1.3 / MQX there was API for creating raw devices and define your own IO (init/read/write/ioctl) functions for your hardware IO device. I haven't found this in MCUXpresso SDK. Are there any plans for adding something like that - or what are the alternatives ?
For example In KDS1.3 I could do :
_nio_dev_install("MyDev:", &Nio_MyDevFuncInit, &myDevRawDev, NULL);
myStream = fopen("MyDev:\\stream", "a+");
ioctl(fileno(myStream), NULL, IOCTL_MY_OPTION, aopt);
Then I could could use 'stdio.h' functions like vfprintf etc on those streams.
Also I wonder if newlib-nano library with debug information is available? Once I enter fprintf etc, there is assembly code only. Using MCUXpresso 10.1.0 / GCC / C++ / newlib-nano