2020-05-04 05:08 AM
Petit fatfs file sysytem consumes ram 290 bytes instead of 44 bytes mention on the document.
http://elm-chan.org/fsw/ff/00index_p.html
Also pff.c file consumes all ram
2020-05-04 11:56 AM
Features
...
You forgot the "certain stack" ;) compare it to the "standard" edition of fatFS and you´ll see, it IS small ...
2020-05-05 12:10 AM
thanks for reply , but total how much ram required to run petit fatfs.
2020-05-06 03:14 AM
If you don't know what a stack memory is, then start with learning that!
2020-05-06 06:20 AM
Thanks for reply but my question is still same, how much stack memory it will take and i think its not small memory, it takes over 300 bytes.
2020-05-06 11:05 AM
> Petit fatfs file sysytem consumes ram 290 bytes
How do you know?
JW
2020-05-07 02:54 AM
because value of data in keil shows 300 after compiling with memory error.
2020-05-07 03:11 AM
Observe in mapfile how exacrltly the data are allocated. There may be RAM area lost because of padding/alignment, or inappropriate choice of data width.
Optimization of any kind - here for minimal memory space - requires effort and understanding of the used tools (compiler, linker etc.).
JW