mirror of
https://github.com/openmv/openmv.git
synced 2025-11-04 14:49:50 +08:00
Add VOSPI memory region.
This commit is contained in:
parent
45293c1dce
commit
6df8ab7187
@ -60,6 +60,7 @@
|
||||
#define OMV_DMA_MEMORY AXI_SRAM // DMA buffers memory.
|
||||
#define OMV_FB_MEMORY AXI_SRAM // Framebuffer, fb_alloc
|
||||
#define OMV_JPEG_MEMORY SRAM3 // JPEG buffer memory.
|
||||
#define OMV_VOSPI_MEMORY SRAM4 // VoSPI buffer memory.
|
||||
|
||||
#define OMV_FB_SIZE (400K) // FB memory: header + VGA/GS image
|
||||
#define OMV_FB_ALLOC_SIZE (100K) // minimum fb alloc size
|
||||
|
||||
@ -43,6 +43,10 @@ _ffs_cache = ORIGIN(OMV_FFS_MEMORY);
|
||||
_jpeg_buf = ORIGIN(OMV_JPEG_MEMORY);
|
||||
#endif
|
||||
|
||||
#if defined(OMV_VOSPI_MEMORY)
|
||||
_vospi_buf = ORIGIN(OMV_VOSPI_MEMORY);
|
||||
#endif
|
||||
|
||||
_heap_size = OMV_HEAP_SIZE; /* required amount of heap */
|
||||
_stack_size = OMV_STACK_SIZE; /* minimum amount of stack */
|
||||
|
||||
|
||||
@ -43,6 +43,10 @@ _ffs_cache = ORIGIN(OMV_FFS_MEMORY);
|
||||
_jpeg_buf = ORIGIN(OMV_JPEG_MEMORY);
|
||||
#endif
|
||||
|
||||
#if defined(OMV_VOSPI_MEMORY)
|
||||
_vospi_buf = ORIGIN(OMV_VOSPI_MEMORY);
|
||||
#endif
|
||||
|
||||
_heap_size = OMV_HEAP_SIZE; /* required amount of heap */
|
||||
_stack_size = OMV_STACK_SIZE; /* minimum amount of stack */
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user