[posix] use raw mode for CLI (#5377)

This commit turns on CLI raw mode on POSIX platform, which is causing
some unstable issues in CI tests.
This commit is contained in:
Yakun Xu
2020-08-11 13:23:34 -07:00
committed by GitHub
parent b47dda45cf
commit f2d026729d
3 changed files with 5 additions and 2 deletions
+1
View File
@@ -70,6 +70,7 @@ endif
COMMONCFLAGS := \
-g \
-DOPENTHREAD_CONFIG_UART_CLI_RAW=1 \
$(NULL)
# If the user has asserted COVERAGE, alter the configuration options
+4
View File
@@ -26,6 +26,10 @@
# POSSIBILITY OF SUCH DAMAGE.
#
target_compile_definitions(ot-config INTERFACE
OPENTHREAD_CONFIG_UART_CLI_RAW=1
)
add_executable(ot-cli
main.c
$<$<BOOL:${READLINE}>:console_cli.cpp>
@@ -86,8 +86,6 @@
#define OPENTHREAD_CONFIG_IP6_SLAAC_ENABLE 1
#endif
#define OPENTHREAD_CONFIG_UART_CLI_RAW 1
/**
* @def OPENTHREAD_CONFIG_NCP_UART_ENABLE
*