mirror of
https://github.com/openmv/openmv.git
synced 2025-11-04 14:49:50 +08:00
ports/stm32: Add memory region for CM4.
This commit is contained in:
parent
f78d191e35
commit
86f1f6e905
@ -44,11 +44,17 @@ MEMORY
|
||||
#if defined(OMV_FLASH_EXT_ORIGIN)
|
||||
FLASH_EXT (rx) : ORIGIN = OMV_FLASH_EXT_ORIGIN, LENGTH = OMV_FLASH_EXT_LENGTH
|
||||
#endif
|
||||
#if defined(OMV_CM4_RAM_ORIGIN)
|
||||
CM4_SRAM (xrw) : ORIGIN = OMV_CM4_RAM_ORIGIN, LENGTH = OMV_CM4_RAM_LENGTH
|
||||
#endif
|
||||
}
|
||||
|
||||
_heap_size = OMV_HEAP_SIZE; /* required amount of heap */
|
||||
_stack_size = OMV_STACK_SIZE; /* minimum amount of stack */
|
||||
_ram_end = ORIGIN(OMV_MAIN_MEMORY) + LENGTH(OMV_MAIN_MEMORY);
|
||||
#if defined(OMV_CM4_RAM_ORIGIN)
|
||||
_cm4_ram_start = ORIGIN(CM4_SRAM);
|
||||
#endif
|
||||
|
||||
#if defined(OMV_JPEG_MEMORY)
|
||||
#if !defined(OMV_JPEG_MEMORY_OFFSET)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user