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"
|
2016-06-14 21:27:30 +03:00
|
|
|
config MACH_SAM3X8E
|
|
|
|
bool "SAM3x8e (Arduino Due)"
|
2018-07-28 02:22:44 +03:00
|
|
|
config MACH_SAMD21
|
|
|
|
bool "SAMD21 (Arduino Zero)"
|
2018-08-07 02:03:54 +03:00
|
|
|
config MACH_SAM4E8E
|
|
|
|
bool "SAM4e8e (Duet Wifi/Eth)"
|
2018-05-08 04:32:27 +03:00
|
|
|
config MACH_LPC176X
|
|
|
|
bool "LPC176x (Smoothieboard)"
|
2018-03-31 16:34:59 +03:00
|
|
|
config MACH_STM32F1
|
|
|
|
bool "STMicroelectronics STM32F103"
|
2017-05-07 04:47:04 +03:00
|
|
|
config MACH_PRU
|
|
|
|
bool "Beaglebone PRU"
|
2017-07-20 07:02:43 +03:00
|
|
|
config MACH_LINUX
|
|
|
|
bool "Linux process"
|
2016-05-25 18:37:40 +03:00
|
|
|
config MACH_SIMU
|
|
|
|
bool "Host simulator"
|
|
|
|
endchoice
|
|
|
|
|
|
|
|
source "src/avr/Kconfig"
|
2016-06-14 21:27:30 +03:00
|
|
|
source "src/sam3x8e/Kconfig"
|
2018-07-28 02:22:44 +03:00
|
|
|
source "src/samd21/Kconfig"
|
2018-08-07 02:03:54 +03:00
|
|
|
source "src/sam4e8e/Kconfig"
|
2018-05-08 04:32:27 +03:00
|
|
|
source "src/lpc176x/Kconfig"
|
2018-03-31 16:34:59 +03:00
|
|
|
source "src/stm32f1/Kconfig"
|
2017-05-07 04:47:04 +03:00
|
|
|
source "src/pru/Kconfig"
|
2017-07-20 07:02:43 +03:00
|
|
|
source "src/linux/Kconfig"
|
2016-05-25 18:37:40 +03:00
|
|
|
source "src/simulator/Kconfig"
|
|
|
|
|
2018-08-07 02:03:54 +03:00
|
|
|
|
|
|
|
|
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.
|
2017-07-20 06:59:35 +03:00
|
|
|
config HAVE_GPIO
|
|
|
|
bool
|
|
|
|
default n
|
2016-06-09 02:32:06 +03:00
|
|
|
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:44:34 +03:00
|
|
|
config HAVE_GPIO_HARD_PWM
|
|
|
|
bool
|
|
|
|
default n
|
2018-02-21 04:47:02 +03:00
|
|
|
config HAVE_USER_INTERFACE
|
|
|
|
bool
|
|
|
|
default n
|
2016-06-09 02:32:06 +03:00
|
|
|
|
2016-06-14 02:42:34 +03:00
|
|
|
config NO_UNSTEP_DELAY
|
|
|
|
# Slow micro-controllers do not require a delay before returning a
|
|
|
|
# stepper step pin to its default level. A board can enable this
|
|
|
|
# option to optimize the stepper_event() handler in this case.
|
|
|
|
bool
|
|
|
|
default n
|
|
|
|
|
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
|
2017-07-20 06:59:35 +03:00
|
|
|
depends on HAVE_GPIO
|
2016-06-14 21:27:30 +03:00
|
|
|
default y
|