summaryrefslogtreecommitdiff
path: root/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'Kconfig')
-rw-r--r--Kconfig30
1 files changed, 30 insertions, 0 deletions
diff --git a/Kconfig b/Kconfig
new file mode 100644
index 0000000..0fd66ed
--- /dev/null
+++ b/Kconfig
@@ -0,0 +1,30 @@
+mainmenu "MCU C++ Configuration"
+
+config TINYPRINTF
+ bool "Enable tinyprintf"
+
+choice PRINTF_TARGET
+ prompt "printf() target"
+
+ config PRINTF_TARGET_SEMIHOSTING
+ bool "Semihosting"
+
+ config PRINTF_TARGET_UART
+ bool "UART"
+
+endchoice
+
+config SEMIHOSTING
+ bool "Enable semihosting"
+
+menu "Semihosting settings"
+ depends on SEMIHOSTING
+
+config SEMIHOSTING_PUTCHAR
+ bool "Enable putchar() implementation with semihosting"
+ default y
+
+config SEMIHOSTING_PUTS
+ bool "Enable puts() implementation with semihosting"
+ default y
+endmenu