Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4821

SDK • Re: Number of free blocks negative value

$
0
0
Hi ,
I have a Raspberry Pi Pico WH. When I execute the micropython code os.statvfs('/') I get negative values (-13, -13) for Size of Total File System and Number of Free Blocks.
What is the reason. Can you help me?
Thanks and Regards
Claus
>>> os.statvfs('/')
(4096, 4096, 212, -13, -13, 0, 0, 0, 0, 255)

Your issue seems to be related to the microPython interpreter, not to the C/C++ SDK?

Maybe the developers at MicroPython responsible for the rp2 (RP2040/Pico) port might be able to give a knowledgeable answer?

Ref: https://github.com/orgs/micropython/discussions

Statistics: Posted by B.Goode — Fri Feb 09, 2024 3:27 pm



Viewing all articles
Browse latest Browse all 4821

Trending Articles