mirror of
https://github.com/openmv/openmv.git
synced 2025-11-04 14:49:50 +08:00
Move H7 main memory to SRAM1.
* We can't use the CCM for main memory because it's only accessible by MDMA.
This commit is contained in:
parent
bff8b86744
commit
60ee2ecfe9
@ -40,13 +40,13 @@
|
||||
// Linker script constants (see the linker script template stm32fxxx.ld.S).
|
||||
// Note: fb_alloc is a stack-based, dynamically allocated memory on FB.
|
||||
// The maximum available fb_alloc memory = FB_ALLOC_SIZE + FB_SIZE - (w*h*bpp).
|
||||
#define OMV_MAIN_MEMORY CCM // data, bss, stack and heap
|
||||
#define OMV_FFS_MEMORY SRAM1 // Flash filesystem cache memory
|
||||
#define OMV_FFS_MEMORY CCM // Flash filesystem cache memory
|
||||
#define OMV_MAIN_MEMORY SRAM1 // data, bss, stack and heap
|
||||
#define OMV_DMA_MEMORY SRAM3 // DMA buffers memory (32KBs)
|
||||
#define OMV_FB_MEMORY AXI_SRAM // Framebuffer, fb_alloc
|
||||
|
||||
#define OMV_FB_SIZE (412K) // FB memory: header + VGA/GS image
|
||||
#define OMV_FB_ALLOC_SIZE (100K) // minimum fb alloc size
|
||||
#define OMV_FB_SIZE (400K) // FB memory: header + VGA/GS image
|
||||
#define OMV_FB_ALLOC_SIZE (112K) // minimum fb alloc size
|
||||
#define OMV_STACK_SIZE (8K)
|
||||
#define OMV_HEAP_SIZE (64K)
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user