klipper/src/linux/Kconfig
Kevin O'Connor f70fefa06f linux: Convert linux SPI code to use the generic spicmds.c code
Use the generic spi send/receive code on Linux.  Update the replicape
code to use the updated command format.

Also, update the replicape code to turn off the stepper motors on a
shutdown event.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2018-05-07 09:10:34 -04:00

21 lines
311 B
Plaintext

# Kconfig settings for compiling and running the micro-controller code
# in a Linux process
if MACH_LINUX
config LINUX_SELECT
bool
default y
select HAVE_GPIO_ADC
select HAVE_GPIO_SPI
config BOARD_DIRECTORY
string
default "linux"
config CLOCK_FREQ
int
default 20000000
endif