flashfs:Track upstream nuttx CONFIG_ARCH_HAVE_PROGMEM

Upstream header file is conditional on CONFIG_ARCH_HAVE_PROGMEM
This commit is contained in:
David Sidrane
2018-12-14 09:56:51 -08:00
parent 8f308efa88
commit 0cc3bfb10b
+3
View File
@@ -55,6 +55,8 @@
#include <nuttx/compiler.h>
#include <nuttx/progmem.h>
#if defined(CONFIG_ARCH_HAVE_PROGMEM)
/****************************************************************************
* Pre-processor Definitions
****************************************************************************/
@@ -1116,3 +1118,4 @@ __EXPORT void test(void)
free(buffer);
}
#endif /* FLASH_UNIT_TEST */
#endif /* CONFIG_ARCH_HAVE_PROGMEM */