mirror of
https://github.com/espressif/openthread.git
synced 2026-09-08 18:20:06 +00:00
[api] remove UART from in cli/ncp API (#6243)
This commit removes application library CLI/NCP dependency on platform layer UART APIs. Instead, application layer provides callbacks sending CLI/NCP data. With this change, platforms with native support for formatted output can simply implement the CLI output callback with something like `vprintf()`.
This commit is contained in:
@@ -102,7 +102,7 @@ do_scan_build()
|
||||
scan-build-9 ./configure "${configure_options[@]}"
|
||||
scan-build-9 --status-bugs -analyze-headers -v make -j"${OT_BUILD_JOBS}"
|
||||
|
||||
export CPPFLAGS="${options[*]} -DOPENTHREAD_CONFIG_NCP_UART_ENABLE=1"
|
||||
export CPPFLAGS="${options[*]} -DOPENTHREAD_CONFIG_NCP_HDLC_ENABLE=1"
|
||||
scan-build-9 ./configure "${configure_options[@]}"
|
||||
scan-build-9 --status-bugs -analyze-headers -v make -j"${OT_BUILD_JOBS}"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user