0xC0040000 0xC2000000
to:
0xC0040000 0xC1F80000
This should have reserved 512k for the file system.
I'm looking at this again because if I use SSL, the certificate and key are also stored in this file system and I want to make sure I have enough room.
I used function FS_DisplayEffsSpaceStats() from file FS_FileSystemUtils.cpp from one of the example programs:
Code: Select all
BYTE FS_DisplayEffsSpaceStats()
{
FS_SPACE space;
volatile int rv;
iprintf( "Retrieving flash usage...\r\n" );
rv = fs_getfreespace( fs_getdrive(), &space );
if ( rv == FS_NOERR )
{
iprintf( "EFFS Flash memory usage (bytes):\r\n" );
iprintf( "%lu total, %lu free, %lu used, %lu bad\r\n", space.total, space.free, space.used, space.bad );
}
else
{
iprintf( "\r\n*** Error in fs_getfreepace(): " );
FS_DisplayEffsErrorCode( rv );
}
return rv;
}
Retrieving flash usage...
EFFS Flash memory usage (bytes):
131072 total, 121856 free, 9216 used, 0 bad
Why is it reporting a size of only 131072?
What is the size of the certificate and key files?
Using v2.9.4 of the tools.