aboutsummaryrefslogtreecommitdiffstats
path: root/src/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'src/Kconfig')
-rw-r--r--src/Kconfig20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/Kconfig b/src/Kconfig
new file mode 100644
index 00000000..e7460cce
--- /dev/null
+++ b/src/Kconfig
@@ -0,0 +1,20 @@
+# 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"
+
+config INLINE_STEPPER_HACK
+ # Enables gcc to inline stepper_event() into the main timer irq handler
+ bool
+ default y if MACH_AVR
+ default n