summaryrefslogtreecommitdiff
path: root/Kconfig
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2017-05-13 10:48:31 +0200
committerTrygve Laugstøl <trygvis@inamo.no>2017-05-16 23:24:34 +0200
commit037d84bed61fb93a5292d0194bbf734fd2927378 (patch)
tree1e3062ea7309adcc274cdbe61f3505b04bc68dfe /Kconfig
parentce168959907bc922875902a703a1aebe2296ad2c (diff)
downloadradio-controller-037d84bed61fb93a5292d0194bbf734fd2927378.tar.gz
radio-controller-037d84bed61fb93a5292d0194bbf734fd2927378.tar.bz2
radio-controller-037d84bed61fb93a5292d0194bbf734fd2927378.tar.xz
radio-controller-037d84bed61fb93a5292d0194bbf734fd2927378.zip
wip
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