mirror of
https://github.com/openmv/openmv.git
synced 2025-11-04 14:49:50 +08:00
Fixed buffer size on the 2/3 and reduced the frame buffer to 20M on the plus
This commit is contained in:
parent
45e7f055ec
commit
3a790a8271
@ -77,8 +77,8 @@
|
||||
#define OMV_MAIN_MEMORY CCM // data, bss, stack and heap
|
||||
#define OMV_DMA_MEMORY SRAM2 // Misc DMA buffers
|
||||
|
||||
#define OMV_FB_SIZE (151K) // FB memory: header + QVGA/GS image
|
||||
#define OMV_FB_ALLOC_SIZE (12K) // minimum fb alloc size
|
||||
#define OMV_FB_SIZE (150K) // FB memory: header + QVGA/GS image
|
||||
#define OMV_FB_ALLOC_SIZE (13K) // minimum fb alloc size
|
||||
#define OMV_STACK_SIZE (4K)
|
||||
#define OMV_HEAP_SIZE (51K)
|
||||
|
||||
|
||||
@ -77,8 +77,8 @@
|
||||
#define OMV_MAIN_MEMORY CCM // data, bss, stack and heap
|
||||
#define OMV_DMA_MEMORY CCM // Misc DMA buffers
|
||||
|
||||
#define OMV_FB_SIZE (301K) // FB memory: header + VGA/GS image
|
||||
#define OMV_FB_ALLOC_SIZE (83K) // minimum fb alloc size
|
||||
#define OMV_FB_SIZE (300K) // FB memory: header + VGA/GS image
|
||||
#define OMV_FB_ALLOC_SIZE (84K) // minimum fb alloc size
|
||||
#define OMV_STACK_SIZE (4K)
|
||||
#define OMV_HEAP_SIZE (54K)
|
||||
|
||||
|
||||
@ -44,7 +44,7 @@
|
||||
#define OMV_BOOTLDR_LED_PORT (GPIOC)
|
||||
|
||||
// RAW buffer size
|
||||
#define OMV_RAW_BUF_SIZE (31457280)
|
||||
#define OMV_RAW_BUF_SIZE (20971520)
|
||||
|
||||
// Enable hardware JPEG
|
||||
#define OMV_HARDWARE_JPEG (1)
|
||||
@ -121,8 +121,8 @@
|
||||
#define OMV_FB_OVERLAY_MEMORY AXI_SRAM // _fballoc_overlay memory.
|
||||
#define OMV_FB_OVERLAY_MEMORY_OFFSET (480*1024) // _fballoc_overlay
|
||||
|
||||
#define OMV_FB_SIZE (30M) // FB memory: header + VGA/GS image
|
||||
#define OMV_FB_ALLOC_SIZE (1M) // minimum fb alloc size
|
||||
#define OMV_FB_SIZE (20M) // FB memory: header + VGA/GS image
|
||||
#define OMV_FB_ALLOC_SIZE (11M) // minimum fb alloc size
|
||||
#define OMV_STACK_SIZE (15K)
|
||||
#define OMV_HEAP_SIZE (229K)
|
||||
#define OMV_SDRAM_SIZE (32 * 1024 * 1024) // This needs to be here for UVC firmware.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user