diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2013-10-30 10:11:43 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2013-10-30 10:11:43 -0600 |
commit | 406681e3fddc5432cb358e5ce464fd16228a47eb (patch) | |
tree | b48253358b2b6c9b415373879e849f76aa3c4abe /apps/platform | |
parent | 2cef539be7d1ed0e21d6fd1d3134a2eb1518019a (diff) | |
download | nuttx-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 'apps/platform')
-rw-r--r-- | apps/platform/Kconfig | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/apps/platform/Kconfig b/apps/platform/Kconfig index d0cfd0f97..9df459c8a 100644 --- a/apps/platform/Kconfig +++ b/apps/platform/Kconfig @@ -3,4 +3,15 @@ # see misc/tools/kconfig-language.txt. # +config PLATFORM_CONFIGDATA + bool "Platform configuration data" + default n + ---help--- + Set this option if the platform retention of configuration data. + This storage mechanism is platform dependent and must be implemented + in the platform specific directory under apps/platform/. The + storage mechanism is not visible to applications so underlying non- + volatile storage can be used: A file, EEPROM, hardcoded values in + FLASH, etc. + source "$APPSDIR/platform/mikroe-stm32f4/Kconfig" |