This commit is contained in:
Dmitry Borisenko
2020-12-19 00:10:45 +01:00
parent 17162a2d85
commit fe029a624c
3 changed files with 5 additions and 4 deletions

Binary file not shown.

View File

@@ -55,6 +55,7 @@ board_build.filesystem = littlefs
[env:esp8266] [env:esp8266]
framework = arduino framework = arduino
board = nodemcuv2 board = nodemcuv2
board_build.ldscript = eagle.flash.4m1m.ld
platform = https://github.com/platformio/platform-espressif8266.git platform = https://github.com/platformio/platform-espressif8266.git
lib_deps = lib_deps =
${common_env_data.lib_deps_external} ${common_env_data.lib_deps_external}

View File

@@ -3,10 +3,10 @@
void getFSInfo() { void getFSInfo() {
// Информация о ФС // Информация о ФС
size_t totalBytes; // всего //size_t totalBytes; // всего
size_t usedBytes; // использовано //size_t usedBytes; // использовано
size_t maxOpenFiles; // лимит на открые файлы //size_t maxOpenFiles; // лимит на открые файлы
size_t maxPathLength; // лимит на полное пути + имя файла //size_t maxPathLength; // лимит на полное пути + имя файла
FSInfo buf; FSInfo buf;
getInfo(buf); getInfo(buf);