[posix-app-config] add UART/SPI config macros and their default value (#4510)

This addresses undefined macro warnings when building posix-app.
This commit is contained in:
Abtin Keshavarzian
2020-02-07 08:27:15 -08:00
committed by Jonathan Hui
parent 53b711e4f4
commit d052f36af8
@@ -67,4 +67,24 @@
#define OPENTHREAD_POSIX_VIRTUAL_TIME 0
#endif
/**
* @def OPENTHREAD_POSIX_RCP_UART_ENABLE
*
* Define as 1 to enable UART interface to RCP.
*
*/
#ifndef OPENTHREAD_POSIX_RCP_UART_ENABLE
#define OPENTHREAD_POSIX_RCP_UART_ENABLE 0
#endif
/**
* @def OPENTHREAD_POSIX_RCP_SPI_ENABLE
*
* Define as 1 to enable SPI interface to RCP.
*
*/
#ifndef OPENTHREAD_POSIX_RCP_SPI_ENABLE
#define OPENTHREAD_POSIX_RCP_SPI_ENABLE 0
#endif
#endif // OPENTHREAD_PLATFORM_CONFIG_H_