Alloc FatFS LFN buffer on stack.

* Saves 512 bytes
This commit is contained in:
iabdalkader 2016-02-28 21:54:30 +02:00
parent 052d64e79c
commit d4e1e3d323
2 changed files with 2 additions and 2 deletions

View File

@ -97,7 +97,7 @@
/ 1 - ASCII (No extended character. Valid for only non-LFN configuration.) */
#define _USE_LFN 1
#define _USE_LFN 2
#define _MAX_LFN 255
/* The _USE_LFN option switches the LFN feature.
/

View File

@ -60,7 +60,7 @@ _ram_end = 0x10010000; /* 64KB CCM */
_fb_base = 0x20000000;
_stack_size = 0xC00; /* minimum amount of stack */
_heap_size = 0xCD00; /* required amount of heap */
_heap_size = 0xCF00; /* required amount of heap */
_fs_cache = 0x20030000-(16*1024);
/* This needs to be max_line * 4 (VGA_line * 4)*/
_line_buf = _fs_cache - (640*4);