mirror of
https://github.com/cesanta/mongoose.git
synced 2026-11-10 16:31:44 +00:00
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:
1 parent
012f241005
commit
4f9627c612
9 files changed
+441
-3
No files matched your search
+2
-2
@@ -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_ */
|
||||
|
||||
Reference in new issue
Block a user