<trclass="memdesc:ga028eff2428680ec9e47eed17d7ad6180"><tdclass="mdescLeft"> </td><tdclass="mdescRight">If Non-blocking mode is needed, please define it at project setting, otherwise blocking mode is the default transfer mode. <ahref="#ga028eff2428680ec9e47eed17d7ad6180">More...</a><br/></td></tr>
<trclass="memdesc:gadad6011e61c820f396b1c13568dbfe16"><tdclass="mdescLeft"> </td><tdclass="mdescRight">define the receive buffer length which is used to store the user input, buffer is enabled automatically when non-blocking transfer is using, This value will affect the RAM's ultilization, should be set per paltform's capability and software requirement. <ahref="#gadad6011e61c820f396b1c13568dbfe16">More...</a><br/></td></tr>
<trclass="memdesc:gab2823ff7917ffeaaccf805f739116ec1"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Whether enable the reliable TX function If the macro is zero, the reliable TX function of the debug console is disabled. <ahref="#gab2823ff7917ffeaaccf805f739116ec1">More...</a><br/></td></tr>
<trclass="memdesc:ga27259eda6262948659d081ea4b7ad2fe"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Whether enable the RX function If the macro is zero, the receive function of the debug console is disabled. <br/></td></tr>
<trclass="memdesc:ga9777b06b434b336e5a2c1b21421c9ea3"><tdclass="mdescLeft"> </td><tdclass="mdescRight">define the MAX log length debug console support , that is when you call printf("log", x);, the log length can not bigger than this value. <ahref="#ga9777b06b434b336e5a2c1b21421c9ea3">More...</a><br/></td></tr>
<trclass="memdesc:gab2afcebb59f366867a49bb888b8d043d"><tdclass="mdescLeft"> </td><tdclass="mdescRight">define the buffer support buffer scanf log length, that is when you call scanf("log", &x);, the log length can not bigger than this value. <ahref="#gab2afcebb59f366867a49bb888b8d043d">More...</a><br/></td></tr>
<trclass="memdesc:ga1cbe5dd480860843788779e39d1d0d1e"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Debug console synchronization User should not change these macro for synchronization mode, but add the corresponding synchronization mechanism per different software environment. <ahref="#ga1cbe5dd480860843788779e39d1d0d1e">More...</a><br/></td></tr>
<trclass="memdesc:ga9589914d5a8b1cfedf834d52a6574496"><tdclass="mdescLeft"> </td><tdclass="mdescRight">synchronization for freertos software <br/></td></tr>
<trclass="memdesc:ga7b85f4e4309413064a69c99e7327d3f2"><tdclass="mdescLeft"> </td><tdclass="mdescRight">RTOS synchronization mechanism disable If not defined, default is enable, to avoid multitask log print mess. <ahref="#ga7b85f4e4309413064a69c99e7327d3f2">More...</a><br/></td></tr>
<trclass="memdesc:ga5cc1f7845683fbde63e9619f38aac2d1"><tdclass="mdescLeft"> </td><tdclass="mdescRight">echo function support If you want to use the echo function,please define DEBUG_CONSOLE_ENABLE_ECHO at your project setting. <br/></td></tr>
<trclass="memdesc:ga74776e2523880761897d8b57199e5596"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Definition to select virtual com(USB CDC) as the debug console. <ahref="#ga74776e2523880761897d8b57199e5596">More...</a><br/></td></tr>
<p>Warning: If you want to use non-blocking transfer,please make sure the corresponding IO interrupt is enable, otherwise there is no output. And non-blocking is combine with buffer, no matter bare-metal or rtos. Below shows how to configure in your project if you want to use non-blocking mode. For IAR, right click project and select "Options", define it in "C/C++ Compiler->Preprocessor->Defined symbols". For KEIL, click "Options for Target…", define it in "C/C++->Preprocessor Symbols->Define". For ARMGCC, open CmakeLists.txt and add the following lines, "SET(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -DDEBUG_CONSOLE_TRANSFER_NON_BLOCKING")" for debug target. "SET(CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} -DDEBUG_CONSOLE_TRANSFER_NON_BLOCKING")" for release target. For MCUxpresso, right click project and select "Properties", define it in "C/C++ Build->Settings->MCU C
Complier->Preprocessor".</p>
<p>define the transmit buffer length which is used to store the multi task log, buffer is enabled automatically when non-blocking transfer is using, This value will affect the RAM's ultilization, should be set per paltform's capability and software requirement. If it is configured too small, log maybe missed , because the log will not be buffered if the buffer is full, and the print will return immediately with -1. And this value should be multiple of 4 to meet memory alignment. </p>
<p>If it is configured too small, log maybe missed, because buffer will be overwrited if buffer is too small. And this value should be multiple of 4 to meet memory alignment. </p>
<p>This macro decide the local log buffer length, the buffer locate at stack, the stack maybe overflow if the buffer is too big and current task stack size not big enough. </p>
<p>Such as, if another RTOS is used, add: #define DEBUG_CONSOLE_SYNCHRONIZATION_XXXX 3 in this configuration file and implement the synchronization in fsl.log.c.</p>
<p>If other RTOS is used, you can implement the RTOS's specific synchronization mechanism in fsl.log.c If synchronization is disabled, log maybe messed on terminal. </p>