mirror of
https://github.com/andreili/klipper.git
synced 2025-09-19 19:34:42 +02:00
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>
21 lines
311 B
Plaintext
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
|