mirror of
https://github.com/cesanta/mongoose.git
synced 2026-11-07 16:01:30 +00:00
CC3200 fixes
Increase heap size to 44K (13K free after init) Add File.list() support Fix a bunch of bugs in file support Disable sys_init.js, there just isn't enough RAM... PUBLISHED_FROM=2121b8758f0596da39c3eafcfff36337a1b90b74
This commit is contained in:
1 parent
1d0a89879c
commit
72cf78de2c
1 file changed
+16
+16
@@ -555,6 +555,22 @@ int gettimeofday(struct timeval *t, void *tz);
|
|||||||
|
|
||||||
long int random(void);
|
long int random(void);
|
||||||
|
|
||||||
|
#ifdef CC3200_ENABLE_SPIFFS
|
||||||
|
#include <common/spiffs/spiffs.h>
|
||||||
|
|
||||||
|
typedef struct {
|
||||||
|
spiffs_DIR dh;
|
||||||
|
struct spiffs_dirent de;
|
||||||
|
} DIR;
|
||||||
|
|
||||||
|
#define d_name name
|
||||||
|
#define dirent spiffs_dirent
|
||||||
|
|
||||||
|
DIR *opendir(const char *dir_name);
|
||||||
|
int closedir(DIR *dir);
|
||||||
|
struct dirent *readdir(DIR *dir);
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif /* CS_PLATFORM == CS_P_CC3200 */
|
#endif /* CS_PLATFORM == CS_P_CC3200 */
|
||||||
#endif /* CS_COMMON_PLATFORMS_PLATFORM_CC3200_H_ */
|
#endif /* CS_COMMON_PLATFORMS_PLATFORM_CC3200_H_ */
|
||||||
/*
|
/*
|
||||||
|
|||||||
Reference in new issue
Block a user