May I ask how you used that? I read the docs and it seems that heaps live in chunks which can grow and shrink dynamically. Does use::Available() consider this? Will it return the true free memory available for my app.
What I'm doing is creating a cache for some data. I need to know how much memory to allocate for the cache according to the available free memory for my app.
hi How could I know the total memory of flash and available memory of flash. I have done exhaustive search for e32hal.h and hal.h but finding nothing, Can anyone help me. Thanks
hi How could I know the total memory of flash and available memory of flash. I have done exhaustive search for e32hal.h and hal.h but finding nothing, Can anyone help me. Thanks
if your talking bout storage memory (MMC or buildin flash) check RFs::Drive
Forum posts: 205
User::AllocSize
User::Available
also from HAL
EMemoryRAM, EMemoryRAMFree
Best regards,
Michal Laskowski
Forum posts: 2
I really appreciate your help
Forum posts: 33
May I ask how you used that?
I read the docs and it seems that heaps live in chunks which can grow and shrink dynamically. Does use::Available() consider this? Will it return the true free memory available for my app.
What I'm doing is creating a cache for some data. I need to know how much memory to allocate for the cache according to the available free memory for my app.
Thanx
Yaron Tadmor
Forum posts: 239
How could I know the total memory of flash and available memory of flash.
I have done exhaustive search for e32hal.h and hal.h but finding nothing,
Can anyone help me.
Thanks
---------------
Bhatt Kavita
Forum posts: 205
How could I know the total memory of flash and available memory of flash.
I have done exhaustive search for e32hal.h and hal.h but finding nothing,
Can anyone help me.
Thanks
if your talking bout storage memory (MMC or buildin flash) check RFs::Drive
Best regards,
Michal Laskowski
Forum posts: 192
TVolumeInfo has a field `TInt64 iFree` - the amount of free space on the disk in bytes
Forum posts: 205
TVolumeInfo has a field `TInt64 iFree` - the amount of free space on the disk in bytes
ow yes it was RFs::Volume i mistaken functions.
Best regards,
Michal Laskowski