import uos, esp
blksize = uos.statvfs('/')[0]
fbs = uos.statvfs('/')[3]
print ("Avilable storage is:",(blksize*fbs)/1024, "KB", "out of:", esp.flash_size()/1024,"KB",sep=" ")
Search found 1 match
- Sat Aug 07, 2021 5:15 pm
- Forum: ESP8266 boards
- Topic: How to get free space of internal file system?
- Replies: 13
- Views: 26268