drivers/rpmsg/Kconfig: Add SPI dependency for RPMSG_PORT_SPI
If SPI dependency is not set, the following warning will be generated during compilation:
[109/1450] Building C object drivers/CMakeFiles/drivers.dir/rpmsg/rpmsg_port_spi.c.o
/data/code/nuttxspace/nuttx/drivers/rpmsg/rpmsg_port_spi.c: In function ‘rpmsg_port_spi_exchange’:
/data/code/nuttxspace/nuttx/drivers/rpmsg/rpmsg_port_spi.c:233:3: warning: implicit declaration of function ‘SPI_EXCHANGE’ [-Wimplicit-function-declaration]
233 | SPI_EXCHANGE(rpspi->spi, txhdr, rpspi->rxhdr,
| ^~~~~~~~~~~~
[1450/1450] Pac SIM with dynamic libs in nuttx.tgz
Signed-off-by: lijing.ly <lijing.ly@bytedance.com>
This commit is contained in:
parent
2ebce06b79
commit
6bd191e7e0
1 changed files with 1 additions and 0 deletions
|
|
@ -40,6 +40,7 @@ config RPMSG_PORT
|
|||
config RPMSG_PORT_SPI
|
||||
bool "Rpmsg SPI Port Driver Support"
|
||||
default n
|
||||
depends on SPI
|
||||
select RPMSG_PORT
|
||||
---help---
|
||||
Rpmsg SPI Port driver used for cross chip communication.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue