mirror of
https://github.com/openmv/openmv.git
synced 2025-11-04 14:49:50 +08:00
Allow FFS cache to not be defined.
This commit is contained in:
parent
8bc62b1034
commit
8a99ad7616
@ -145,7 +145,7 @@ SECTIONS
|
||||
_vfs_buf = .; // VFS sturct + FATFS file buffer (around 624 bytes)
|
||||
. = . + OMV_VFS_BUF_SIZE;
|
||||
|
||||
#if !defined(OMV_FFS_MEMORY)
|
||||
#if !defined(OMV_FFS_MEMORY) && defined(OMV_FFS_BUF_SIZE)
|
||||
. = ALIGN(16);
|
||||
_ffs_cache = .; // Flash filesystem cache
|
||||
. = . + OMV_FFS_BUF_SIZE;
|
||||
|
||||
@ -126,7 +126,7 @@ SECTIONS
|
||||
_vfs_buf = .; // VFS sturct + FATFS file buffer (around 624 bytes)
|
||||
. = . + OMV_VFS_BUF_SIZE;
|
||||
|
||||
#if !defined(OMV_FFS_MEMORY)
|
||||
#if !defined(OMV_FFS_MEMORY) && defined(OMV_FFS_BUF_SIZE)
|
||||
. = ALIGN(16);
|
||||
_ffs_cache = .; // Flash filesystem cache
|
||||
. = . + OMV_FFS_BUF_SIZE;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user