xiaoxiang781216 commented on code in PR #3660:
URL: https://github.com/apache/nuttx-apps/pull/3660#discussion_r3789185017


##########
examples/calculator/calculator_main.c:
##########
@@ -36,30 +36,13 @@
 
 #include <system/nxstore_chrome.h>
 
-/****************************************************************************
- * Pre-processor Definitions
- ****************************************************************************/
-
-#undef NEED_BOARDINIT
-
-#if defined(CONFIG_BOARDCTL) && !defined(CONFIG_NSH_ARCHINIT)

Review Comment:
   squash int one patch



##########
examples/calculator/Kconfig:
##########
@@ -0,0 +1,35 @@
+#
+# For a description of the syntax of this configuration file,
+# see the file kconfig-language.txt in the NuttX tools repository.
+#
+
+menuconfig EXAMPLES_CALCULATOR
+       tristate "Calculator"
+       default n
+       depends on GRAPHICS_LVGL && INPUT_TOUCHSCREEN
+       ---help---
+               Enable the simple LVGL touchscreen calculator example.
+
+if EXAMPLES_CALCULATOR
+
+config EXAMPLES_CALCULATOR_PRIORITY
+       int "calculator task priority"
+       default 100
+
+config EXAMPLES_CALCULATOR_STACKSIZE
+       int "calculator stack size"
+       default 16384
+
+config EXAMPLES_CALCULATOR_INPUT_DEVPATH
+       string "Touchscreen device path"
+       default "/dev/input0"
+       ---help---
+               The path to the touchscreen device. Default: "/dev/input0"
+
+config EXAMPLES_CALCULATOR_FBDEVPATH

Review Comment:
   EXAMPLES_CALCULATOR_FB_DEVPATH



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to