donghengqaz commented on code in PR #8047:
URL: https://github.com/apache/nuttx/pull/8047#discussion_r1064248927


##########
arch/xtensa/src/esp32/Kconfig:
##########
@@ -1158,6 +1158,37 @@ config ESP32_SPI2_MISOPIN
        default 12
        range 0 39
 
+choice ESP32_SPI2_MASTER_IO
+       prompt "SPI2 master I/O mode"
+       default ESP32_SPI2_MASTER_IO_RW

Review Comment:
   It may not depend on "SPI_SLAVE", because users may use SPI2 as SPI master 
and SPI3 as SPI slave, so we should keep SPI2 or SPI3 master mode when 
selecting SPI_SLAVE.



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to