summaryrefslogtreecommitdiff
path: root/NxWidgets/Kconfig
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2013-10-30 10:11:43 -0600
committerGregory Nutt <gnutt@nuttx.org>2013-10-30 10:11:43 -0600
commit406681e3fddc5432cb358e5ce464fd16228a47eb (patch)
treeb48253358b2b6c9b415373879e849f76aa3c4abe /NxWidgets/Kconfig
parent2cef539be7d1ed0e21d6fd1d3134a2eb1518019a (diff)
downloadnuttx-406681e3fddc5432cb358e5ce464fd16228a47eb.tar.gz
nuttx-406681e3fddc5432cb358e5ce464fd16228a47eb.tar.bz2
nuttx-406681e3fddc5432cb358e5ce464fd16228a47eb.zip
Add interface definition for platform-specific storage of configuration data; Modify NxWM unit test to use these interfaces, if available, to save and restore touchscreen calibration data.
Diffstat (limited to 'NxWidgets/Kconfig')
-rw-r--r--NxWidgets/Kconfig10
1 files changed, 10 insertions, 0 deletions
diff --git a/NxWidgets/Kconfig b/NxWidgets/Kconfig
index ef512a5e5..ae71bf997 100644
--- a/NxWidgets/Kconfig
+++ b/NxWidgets/Kconfig
@@ -741,6 +741,16 @@ config NXWM_TOUCHSCREEN_LISTENERSTACK
---help---
Touchscreen listener thread stack size. Default 1024
+config NXWM_TOUSCHCREEN_CONFIGDATA
+ bool "Touchscreen configuration data"
+ default n
+ depends on PLATFORM_CONFIGDATA
+ ---help---
+ If the architecture supports retention of configuration data, then
+ you may select this option to save touchscreen configuration data.
+ Otherwise, the touchscreen calibration must be performed each time
+ that you boot the system.
+
endif # NXWM_TOUCHSCREEN
endmenu # NxWM Touchscreen Configuration