mirror of
https://github.com/espressif/openthread.git
synced 2026-07-29 07:07:47 +00:00
[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:
@@ -70,6 +70,7 @@ endif
|
||||
|
||||
COMMONCFLAGS := \
|
||||
-g \
|
||||
-DOPENTHREAD_CONFIG_UART_CLI_RAW=1 \
|
||||
$(NULL)
|
||||
|
||||
# If the user has asserted COVERAGE, alter the configuration options
|
||||
|
||||
@@ -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
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user