Skip to content

Commit 4682beb

Browse files
committed
giga: relocate llext heap and main stack
1 parent 08570b2 commit 4682beb

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

variants/arduino_giga_r1_stm32h747xx_m7/arduino_giga_r1_stm32h747xx_m7.conf

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,14 @@ CONFIG_CDC_ACM_DTE_RATE_CALLBACK_SUPPORT=y
1111

1212
CONFIG_LLEXT_STORAGE_WRITABLE=n
1313
CONFIG_SHARED_MULTI_HEAP=y
14-
CONFIG_HEAP_MEM_POOL_SIZE=24576
15-
CONFIG_SHELL_STACK_SIZE=32768
14+
CONFIG_HEAP_MEM_POOL_SIZE=32768
1615
CONFIG_MAIN_STACK_SIZE=32768
1716
CONFIG_LLEXT_HEAP_SIZE=128
17+
CONFIG_COMMON_LIBC_MALLOC_ARENA_SIZE=-1
18+
19+
CONFIG_CODE_DATA_RELOCATION=y
20+
CONFIG_MAIN_STACK_REGION="DTCM"
21+
CONFIG_LLEXT_HEAP_REGION="SRAM2"
1822

1923
CONFIG_CPP=n
2024
CONFIG_SHELL=n

0 commit comments

Comments
 (0)