From c1b8886c0fd617a78a0ee93b8d86a35b33ab0f21 Mon Sep 17 00:00:00 2001 From: Eric Callahan Date: Mon, 16 May 2022 17:07:15 -0400 Subject: [PATCH] kconfig: add choice for lpc176x Signed-off-by: Eric Callahan --- src/Kconfig | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/src/Kconfig b/src/Kconfig index b5b5b2c..909a453 100644 --- a/src/Kconfig +++ b/src/Kconfig @@ -6,11 +6,16 @@ config LOW_LEVEL_OPTIONS bool default y -config MACH_STM32 - bool - default y +choice + prompt "Micro-controller Architecture" + config MACH_STM32 + bool "STMicroelectronics STM32" + config MACH_LPC176X + bool "LPC176x (Smoothieboard)" +endchoice source "src/stm32/Kconfig" +source "src/lpc176x/Kconfig" # Generic configuration options for serial ports config SERIAL_BAUD