Skip to content

Commit d6846ed

Browse files
committed
Increase stack and heap and memory pool sizes - sketches were not loading
I found that the majority of the sketches I would try would not load with the current default settings. Not sure how large they need to be, but this has worked for most of my sketches and I believe @mjs513 test sketches as well
1 parent 00ec495 commit d6846ed

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

Diff for: .gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
extra/post_build_tool/distrib/
22
build/
33
venv/
4+
api/

Diff for: loader/boards/arduino_giga_r1_m7.conf

+5-1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@ CONFIG_UART_LINE_CTRL=y
1010
CONFIG_CDC_ACM_DTE_RATE_CALLBACK_SUPPORT=y
1111

1212
CONFIG_LLEXT_STORAGE_WRITABLE=n
13+
CONFIG_HEAP_MEM_POOL_SIZE=2048
14+
CONFIG_SHELL_STACK_SIZE=32768
15+
CONFIG_MAIN_STACK_SIZE=32768
16+
CONFIG_LLEXT_HEAP_SIZE=128
1317

1418
CONFIG_FPU=y
1519

@@ -22,4 +26,4 @@ CONFIG_MEMC=y
2226
#CONFIG_VIDEO=y
2327
CONFIG_VIDEO_STM32_DCMI=y
2428
CONFIG_VIDEO_BUFFER_POOL_NUM_MAX=1
25-
CONFIG_VIDEO_BUFFER_POOL_SZ_MAX=160000
29+
CONFIG_VIDEO_BUFFER_POOL_SZ_MAX=160000

0 commit comments

Comments
 (0)