sszllxos opened a new pull request, #15869:
URL: https://github.com/apache/nuttx/pull/15869

   
   ## Summary
   
   If you do not configure SPI after configuring RPMSG_PORT_SPI, 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
   
   *Note: Please adhere to [Contributing 
Guidelines](https://github.com/apache/nuttx/blob/master/CONTRIBUTING.md).*
   
   ## Impact
   
   Fix compilation warning issues
   
   ## Testing
   
   N/A
   
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to