2016-05-25 18:37:40 +03:00
|
|
|
# Main Kconfig settings
|
|
|
|
|
|
|
|
mainmenu "Klipper Firmware Configuration"
|
|
|
|
|
|
|
|
choice
|
|
|
|
prompt "Micro-controller Architecture"
|
|
|
|
config MACH_AVR
|
|
|
|
bool "Atmega AVR"
|
|
|
|
config MACH_SIMU
|
|
|
|
bool "Host simulator"
|
|
|
|
endchoice
|
|
|
|
|
|
|
|
source "src/avr/Kconfig"
|
|
|
|
source "src/simulator/Kconfig"
|
|
|
|
|
2016-06-09 02:32:06 +03:00
|
|
|
# The HAVE_GPIO_x options allow boards to disable support for some
|
|
|
|
# commands if the hardware does not support the feature.
|
|
|
|
config HAVE_GPIO_ADC
|
|
|
|
bool
|
|
|
|
default n
|
2016-06-09 02:35:45 +03:00
|
|
|
config HAVE_GPIO_SPI
|
|
|
|
bool
|
|
|
|
default n
|
2016-06-09 02:32:06 +03:00
|
|
|
|
2016-05-25 18:37:40 +03:00
|
|
|
config INLINE_STEPPER_HACK
|
|
|
|
# Enables gcc to inline stepper_event() into the main timer irq handler
|
|
|
|
bool
|
|
|
|
default y if MACH_AVR
|
|
|
|
default n
|