Hello @krzysztofglinie,
In the SDK, if you set the following define, the DbgConsole_TryGetchar should be available:
DEBUG_CONSOLE_TRANSFER_NON_BLOCKING
Best Regards,
Alexis Andalon
Hello,
Actually no, because of a macro in fsl_debug_console.h :
#if (defined(DEBUG_CONSOLE_TRANSFER_NON_BLOCKING))
#error DEBUG_CONSOLE_TRANSFER_NON_BLOCKING should not be defined. Remove DEBUG_CONSOLE_TRANSFER_NON_BLOCKING from the project setting or defines.
#endif
Regards,
Emmanuel
I had the same problem.
If someone happens to be in the same situation:
I had to check the box "Enable Non-blocking mode" in the device configuration tool for the UART used for the console. Then I was allowed to set DEBUG_CONSOLE_TRANSFER_NON_BLOCKING then it worked.
Different MCU, different SDK, but it may apply to others also.