Revert "Squashed commit of the following:"

This reverts commit 25b92edd9f.
This commit is contained in:
Gregory Nutt
2018-08-22 12:06:32 -06:00
parent cd62ab5398
commit 2f982e9c77
326 changed files with 569 additions and 561 deletions

View File

@@ -6,7 +6,7 @@
config EXAMPLES_FLASH_TEST
bool "SMART FLASH block device test"
default n
depends on (!BUILD_PROTECTED && !BUILD_LOADABLE) && MTD_SMART && NSH_BUILTIN_APPS
depends on (!BUILD_PROTECTED && !BUILD_KERNEL) && MTD_SMART && NSH_BUILTIN_APPS
---help---
This logic performs a SMART flash block device test. This test
performs a sector allocate, read, write, free and garbage collection

View File

@@ -61,7 +61,7 @@
* Public Functions
****************************************************************************/
#ifdef CONFIG_BUILD_LOADABLE
#ifdef CONFIG_BUILD_KERNEL
int main(int argc, FAR char *argv[])
#else
int flash_test_main(int argc, char *argv[])