mirror of
https://github.com/openmv/openmv.git
synced 2025-11-04 14:49:50 +08:00
Merge pull request #2482 from openmv/stm32_ffs_fix
ports/stm32: Check if FFS region is defined.
This commit is contained in:
commit
557d293538
@ -64,9 +64,11 @@ MEMORY
|
||||
_ram_start = ORIGIN(OMV_MAIN_MEMORY);
|
||||
_ram_end = ORIGIN(OMV_MAIN_MEMORY) + LENGTH(OMV_MAIN_MEMORY);
|
||||
|
||||
#if defined(OMV_FLASH_FFS_ORIGIN)
|
||||
// Location of filesystem flash storage
|
||||
_micropy_hw_internal_flash_storage_start = ORIGIN(FLASH_FFS);
|
||||
_micropy_hw_internal_flash_storage_end = ORIGIN(FLASH_FFS) + LENGTH(FLASH_FFS);
|
||||
#endif
|
||||
|
||||
#if defined(OMV_FFS_MEMORY)
|
||||
#if !defined(OMV_FFS_MEMORY_OFFSET)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user