From 037d84bed61fb93a5292d0194bbf734fd2927378 Mon Sep 17 00:00:00 2001 From: Trygve Laugstøl Date: Sat, 13 May 2017 10:48:31 +0200 Subject: wip --- Kconfig | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 Kconfig (limited to 'Kconfig') 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 -- cgit v1.2.3