mirror of
https://github.com/IoTManagerProject/IoTManager.git
synced 2026-03-30 11:59:12 +03:00
some
This commit is contained in:
Binary file not shown.
@@ -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}
|
||||||
|
|||||||
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user