Hello Kyle,
I'm having the same problem, but the solution doesn't help.
I'm using a FRDM-KL26Z on MCUXpresso 11.3.0 and SDK version 2.2.0; a very similar setup to what you're using. The file compiles seamlessly—there's only one change, but _write never gets called. (Not testing _read)
To reproduce the problem:
Make a new C++ project for the FRDM-KL26Z using the wizard, use all default settings. Replace the fsl_debug_console.c with the one provided by Kyle above. Change thePRINTF("Hello World\n"); line in main() to:
PRINTF("PRINTF Hello World\n");
printf("printf Hello World\n");
PRINTF("look for \"printf Hello World\" above!\n");
Put a breakpoint somewhere early on in:
int _write(int handle, char *buffer, size_t size)
But it never gets called.
What am I doing wrong?
Thank you very kindly for your help,
Andre