CC3200 FS refactoring and basic Mongoose example

Moved filesystem-related code out of SJS and into common.
Made it possible to have one, both or no filesystems enabled.
FailFS is now SimpleLinkFS, SLFS (ahem).

Example just serves a "Hello, world!" index page for now.

PUBLISHED_FROM=0e98ee4b8d95782c10791522c42eae5a7ba314f9
This commit is contained in:
Deomid Ryabkov authored and rojer committed 2016-03-21 22:45:53 +00:00
1 parent 012f241005
commit 4f9627c612
9 files changed
+441 -3

No files matched your search

+2 -2
View File
@@ -561,7 +561,7 @@ int gettimeofday(struct timeval *t, void *tz);
long int random(void);
#ifdef CC3200_ENABLE_SPIFFS
#ifdef CC3200_FS_SPIFFS
#include <common/spiffs/spiffs.h>
typedef struct {
@@ -575,7 +575,7 @@ typedef struct {
DIR *opendir(const char *dir_name);
int closedir(DIR *dir);
struct dirent *readdir(DIR *dir);
#endif
#endif /* CC3200_FS_SPIFFS */
#endif /* CS_PLATFORM == CS_P_CC3200 */
#endif /* CS_COMMON_PLATFORMS_PLATFORM_CC3200_H_ */