mirror of
https://github.com/openmv/openmv.git
synced 2025-11-04 14:49:50 +08:00
Merge pull request #1773 from openmv/openmv4_pro_qspi
boards/OPENMV4_PRO: Enable QSPI Flash.
This commit is contained in:
commit
73d730a74b
@ -1 +1 @@
|
||||
Subproject commit f24085de888dbf219a32480b0a8128c79fdc461b
|
||||
Subproject commit d8e38d0d151bd0786f250cd19c8118dff9ea51a3
|
||||
@ -147,7 +147,6 @@
|
||||
// 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_FFS_MEMORY DTCM // Flash filesystem cache memory
|
||||
#define OMV_MAIN_MEMORY SRAM1 // data, bss and heap
|
||||
#define OMV_STACK_MEMORY ITCM // stack memory
|
||||
#define OMV_DMA_MEMORY SRAM3 // Misc DMA buffers memory.
|
||||
@ -164,7 +163,7 @@
|
||||
#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 (64K)
|
||||
#define OMV_HEAP_SIZE (198K)
|
||||
#define OMV_HEAP_SIZE (197K)
|
||||
#define OMV_SDRAM_SIZE (32 * 1024 * 1024) // This needs to be here for UVC firmware.
|
||||
|
||||
#define OMV_LINE_BUF_SIZE (11 * 1024) // Image line buffer round(2592 * 2BPP * 2 buffers).
|
||||
|
||||
@ -38,7 +38,7 @@
|
||||
|
||||
// QSPI Flash layout for the bootloader.
|
||||
// First block, maximum block, block size in bytes.
|
||||
//#define OMV_BOOT_QSPIF_LAYOUT {0, 511, 64*1024}
|
||||
#define OMV_BOOT_QSPIF_LAYOUT {0, 511, 64*1024}
|
||||
|
||||
// QSPI flash configuration for the bootloader.
|
||||
#define OMV_BOOT_QSPIF_SIZE_BITS (25) // 2**25 == 32MBytes.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user