mirror of
https://github.com/openmv/openmv.git
synced 2025-11-04 14:49:50 +08:00
Alloc FatFS LFN buffer on stack.
* Saves 512 bytes
This commit is contained in:
parent
052d64e79c
commit
d4e1e3d323
@ -97,7 +97,7 @@
|
|||||||
/ 1 - ASCII (No extended character. Valid for only non-LFN configuration.) */
|
/ 1 - ASCII (No extended character. Valid for only non-LFN configuration.) */
|
||||||
|
|
||||||
|
|
||||||
#define _USE_LFN 1
|
#define _USE_LFN 2
|
||||||
#define _MAX_LFN 255
|
#define _MAX_LFN 255
|
||||||
/* The _USE_LFN option switches the LFN feature.
|
/* The _USE_LFN option switches the LFN feature.
|
||||||
/
|
/
|
||||||
|
|||||||
@ -60,7 +60,7 @@ _ram_end = 0x10010000; /* 64KB CCM */
|
|||||||
|
|
||||||
_fb_base = 0x20000000;
|
_fb_base = 0x20000000;
|
||||||
_stack_size = 0xC00; /* minimum amount of stack */
|
_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);
|
_fs_cache = 0x20030000-(16*1024);
|
||||||
/* This needs to be max_line * 4 (VGA_line * 4)*/
|
/* This needs to be max_line * 4 (VGA_line * 4)*/
|
||||||
_line_buf = _fs_cache - (640*4);
|
_line_buf = _fs_cache - (640*4);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user