mirror of
https://github.com/IoTManagerProject/IoTManager.git
synced 2026-03-26 22:22:16 +03:00
some
This commit is contained in:
Binary file not shown.
@@ -55,6 +55,7 @@ board_build.filesystem = littlefs
|
||||
[env:esp8266]
|
||||
framework = arduino
|
||||
board = nodemcuv2
|
||||
board_build.ldscript = eagle.flash.4m1m.ld
|
||||
platform = https://github.com/platformio/platform-espressif8266.git
|
||||
lib_deps =
|
||||
${common_env_data.lib_deps_external}
|
||||
|
||||
@@ -3,10 +3,10 @@
|
||||
|
||||
void getFSInfo() {
|
||||
// Информация о ФС
|
||||
size_t totalBytes; // всего
|
||||
size_t usedBytes; // использовано
|
||||
size_t maxOpenFiles; // лимит на открые файлы
|
||||
size_t maxPathLength; // лимит на полное пути + имя файла
|
||||
//size_t totalBytes; // всего
|
||||
//size_t usedBytes; // использовано
|
||||
//size_t maxOpenFiles; // лимит на открые файлы
|
||||
//size_t maxPathLength; // лимит на полное пути + имя файла
|
||||
|
||||
FSInfo buf;
|
||||
getInfo(buf);
|
||||
|
||||
Reference in New Issue
Block a user