7f10234468
This change is needed specifically for the case where a bootloader sets the SPE bit before starting NuttX. In that case, the test in the SPI driver is bogus. This change fixes that by assuring that NuttX has booted and initialized at least once (whether or not SPE is set) before the driver starts refusing to initialize. arch/arm/stm32*: Don't rely on SPI_CR1_SPE to determine if peripheral has been initialized yet. Approved-by: GregoryN <gnutt@nuttx.org> |
||
---|---|---|
.. | ||
include | ||
src | ||
Kconfig |