mirror of
https://github.com/espressif/openthread.git
synced 2026-08-17 07:59:51 +00:00
[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:
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_
|
||||
|
||||
Reference in New Issue
Block a user