mirror of
https://github.com/openmv/openmv.git
synced 2025-11-04 14:49:50 +08:00
Increase the stack for H7 boards.
* The TF library allocates big buffers on the stack, causing a SoF when running the person detection network. Increase the stack to at least 12KBs.
This commit is contained in:
parent
86a52f8894
commit
61b3216f6e
@ -119,8 +119,8 @@
|
|||||||
|
|
||||||
#define OMV_FB_SIZE (400K) // FB memory: header + VGA/GS image
|
#define OMV_FB_SIZE (400K) // FB memory: header + VGA/GS image
|
||||||
#define OMV_FB_ALLOC_SIZE (96K) // minimum fb alloc size
|
#define OMV_FB_ALLOC_SIZE (96K) // minimum fb alloc size
|
||||||
#define OMV_STACK_SIZE (8K)
|
#define OMV_STACK_SIZE (15K)
|
||||||
#define OMV_HEAP_SIZE (237K)
|
#define OMV_HEAP_SIZE (230K)
|
||||||
|
|
||||||
#define OMV_LINE_BUF_SIZE (3K) // Image line buffer round(640 * 2BPP * 2 buffers).
|
#define OMV_LINE_BUF_SIZE (3K) // Image line buffer round(640 * 2BPP * 2 buffers).
|
||||||
#define OMV_MSC_BUF_SIZE (12K) // USB MSC bot data
|
#define OMV_MSC_BUF_SIZE (12K) // USB MSC bot data
|
||||||
|
|||||||
@ -123,8 +123,8 @@
|
|||||||
|
|
||||||
#define OMV_FB_SIZE (30M) // FB memory: header + VGA/GS image
|
#define OMV_FB_SIZE (30M) // FB memory: header + VGA/GS image
|
||||||
#define OMV_FB_ALLOC_SIZE (1M) // minimum fb alloc size
|
#define OMV_FB_ALLOC_SIZE (1M) // minimum fb alloc size
|
||||||
#define OMV_STACK_SIZE (8K)
|
#define OMV_STACK_SIZE (15K)
|
||||||
#define OMV_HEAP_SIZE (237K)
|
#define OMV_HEAP_SIZE (230K)
|
||||||
#define OMV_SDRAM_SIZE (32 * 1024 * 1024) // This needs to be here for UVC firmware.
|
#define OMV_SDRAM_SIZE (32 * 1024 * 1024) // This needs to be here for UVC firmware.
|
||||||
#define OMV_SDRAM_TEST (0)
|
#define OMV_SDRAM_TEST (0)
|
||||||
|
|
||||||
|
|||||||
@ -116,8 +116,8 @@
|
|||||||
|
|
||||||
#define OMV_FB_SIZE (400K) // FB memory: header + VGA/GS image
|
#define OMV_FB_SIZE (400K) // FB memory: header + VGA/GS image
|
||||||
#define OMV_FB_ALLOC_SIZE (96K) // minimum fb alloc size
|
#define OMV_FB_ALLOC_SIZE (96K) // minimum fb alloc size
|
||||||
#define OMV_STACK_SIZE (8K)
|
#define OMV_STACK_SIZE (12K)
|
||||||
#define OMV_HEAP_SIZE (234K)
|
#define OMV_HEAP_SIZE (230K)
|
||||||
|
|
||||||
#define OMV_LINE_BUF_SIZE (3K) // Image line buffer round(640 * 2BPP * 2 buffers).
|
#define OMV_LINE_BUF_SIZE (3K) // Image line buffer round(640 * 2BPP * 2 buffers).
|
||||||
#define OMV_MSC_BUF_SIZE (12K) // USB MSC bot data
|
#define OMV_MSC_BUF_SIZE (12K) // USB MSC bot data
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user