klipper/src/sam3x8e
Grigori Goronzy ebd9035325 SPI: introduce spi_prepare function
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>
2018-07-08 09:25:11 -04:00
..
Kconfig sam3x8e: Add SPI support 2018-05-07 09:10:34 -04:00
Makefile sam3x8e: Add SPI support 2018-05-07 09:10:34 -04:00
gpio.c stepper: Introduce and use gpio_out_toggle_noirq() 2018-05-15 17:09:11 -04:00
gpio.h SPI: introduce spi_prepare function 2018-07-08 09:25:11 -04:00
main.c sam3x8e: Fix watchdog timeout calculation 2017-08-08 00:27:27 -04:00
serial.c serial_irq: Add new generic/serial_irq.c code 2018-04-20 11:19:37 -04:00
spi.c SPI: introduce spi_prepare function 2018-07-08 09:25:11 -04:00
timer.c sched: Implement generic sleep mechanism based on tasks pending 2017-08-08 00:27:28 -04:00