mirror of
https://github.com/espressif/openthread.git
synced 2026-08-14 06:37:46 +00:00
[posix-app] add error if no RCP interface (SPI/UART) is enabled (#4510)
This commit is contained in:
committed by
Jonathan Hui
parent
26d6e7faf0
commit
3d30955a3b
@@ -46,6 +46,10 @@
|
||||
#include "spi_interface.hpp"
|
||||
#endif
|
||||
|
||||
#if !OPENTHREAD_POSIX_RCP_UART_ENABLE && !OPENTHREAD_POSIX_RCP_SPI_ENABLE
|
||||
#error "Please enable either OPENTHREAD_POSIX_RCP_UART_ENABLE or OPENTHREAD_POSIX_RCP_SPI_ENABLE."
|
||||
#endif
|
||||
|
||||
#include "spinel_interface.hpp"
|
||||
#include "ncp/ncp_config.h"
|
||||
#include "ncp/spinel.h"
|
||||
|
||||
Reference in New Issue
Block a user