summaryrefslogtreecommitdiffstats
path: root/spec/build/bsps/sparc/leon2/optconirq.yml
diff options
context:
space:
mode:
Diffstat (limited to 'spec/build/bsps/sparc/leon2/optconirq.yml')
-rw-r--r--spec/build/bsps/sparc/leon2/optconirq.yml16
1 files changed, 16 insertions, 0 deletions
diff --git a/spec/build/bsps/sparc/leon2/optconirq.yml b/spec/build/bsps/sparc/leon2/optconirq.yml
new file mode 100644
index 0000000000..4163b30aff
--- /dev/null
+++ b/spec/build/bsps/sparc/leon2/optconirq.yml
@@ -0,0 +1,16 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- define: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 0
+default-by-variant: []
+description: |
+ The leon2 console driver can operate in either polled or interrupt mode. Under the simulator (especially when FAST_UART is defined), polled seems to operate better. It is common for a task to print a line (like the end of test message) and then exit. In this case, the program returns control to the simulator command line before the program has even queued the output to the uart. Thus sis has no chance of getting the data out.
+enabled-by: true
+format: '{}'
+links: []
+name: CONSOLE_USE_INTERRUPTS
+type: build