Add VOSPI memory region.

This commit is contained in:
iabdalkader 2018-10-09 20:26:29 +02:00
parent 45293c1dce
commit 6df8ab7187
3 changed files with 9 additions and 0 deletions

View File

@ -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

View File

@ -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 */

View File

@ -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 */