ebd9035325
The SPI interface needs to be enabled and configured to the correct settings of a given oid before CS is asserted. The new function spi_prepare() allows ports to do that. This port only introduces the new function in all ports with no implementation and adds the call to the Klipper generic firmware code. That means everything still works as before. Ports need to be changed to fix the underlying issue. Discussion about the motivation here: https://github.com/KevinOConnor/klipper/pull/453#issuecomment-403131149 Signed-off-by: Grigori Goronzy <greg@chown.ath.cx> |
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
gpio.c | ||
gpio.h | ||
main.c | ||
serial.c | ||
spi.c | ||
timer.c |