mirror of
https://github.com/espressif/openthread.git
synced 2026-08-20 17:39:51 +00:00
[cmake] make UART RAW config visible in daemon mode (#5535)
This fixes UART RAW mode not enabled in ot-br-posix.
This commit is contained in:
@@ -26,6 +26,10 @@
|
||||
# POSSIBILITY OF SUCH DAMAGE.
|
||||
#
|
||||
|
||||
target_compile_definitions(ot-config INTERFACE
|
||||
OPENTHREAD_CONFIG_UART_CLI_RAW=1
|
||||
)
|
||||
|
||||
set(COMMON_INCLUDES
|
||||
${OT_PUBLIC_INCLUDES}
|
||||
${PROJECT_SOURCE_DIR}/src
|
||||
|
||||
@@ -26,10 +26,6 @@
|
||||
# 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>
|
||||
|
||||
Reference in New Issue
Block a user