simbit18 commented on code in PR #3029:
URL: https://github.com/apache/nuttx-apps/pull/3029#discussion_r2007321202


##########
examples/fbcon/Kconfig:
##########
@@ -0,0 +1,205 @@
+#
+# For a description of the syntax of this configuration file,
+# see the file kconfig-language.txt in the NuttX tools repository.
+#
+
+config EXAMPLES_FBCON
+       tristate "Framebuffer console example"
+       default n
+       ---help---
+               Enable the Framebuffer console example.
+               This example allows STDOUT and/or STDERR to be redirected and 
displayed
+               on a framebuffer character device.
+
+               A chosen builtin app can be spawned - such as "nsh" - to create 
a
+               console and, if required, STDIN can be intercepted to allow 
input
+               characters to be interpreted and pre-processed before passing 
them
+               on to the spawned app.
+
+               Relies on and uses NX and NXFONTS
+
+if EXAMPLES_FBCON
+
+comment "Console STDIN and/or STDOUT setup"
+
+config EXAMPLES_FBCON_PIPE_STDOUT
+       bool "Pipe stdout to this console"
+       default y
+
+config EXAMPLES_FBCON_PIPE_STDERR
+       bool "Pipe stderr to this console"
+       default y
+
+config EXAMPLES_FBCON_PIPE_STDIN
+       bool "Pipe stdin via this console"
+       default y
+       ---help---
+               This is usually needed if the spawned App is "nsh" as we need to
+               intercept input characters in some cases
+
+comment "Console Framebuffer setup"
+
+config EXAMPLES_FBCON_DEF_FB
+       string "Default framebuffer driver"
+       default "/dev/fb0"
+       ---help---
+               Default framebuffer drivers.  This selection can be overridden 
from
+               the command line.
+
+comment "BPP setup"
+
+choice EXAMPLES_FBCON_BPP_SELECTION
+       prompt "BPP Configuration"
+       default EXAMPLES_FBCON_BPP_NX_DEFAULT
+
+config EXAMPLES_FBCON_BPP_NX_DEFAULT
+       bool "Use smallest BPP as enabled via NXFONTS setup"
+
+config EXAMPLES_FBCON_CUSTOM_BPP
+       bool "Choose custom BPP (must not be disabled in NX)"
+

Review Comment:
   @lupyuen the use of two tools can have different behaviors. Then you also 
need a style control tool for the kconfig file. There is no shortage of fun in 
NuttXland !!! :)



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to