Skip to content

Commit 53e7d9a

Browse files
committed
CMSIS-NN: Reduced stack/heap config for CIFAR-10 example targeting Cortex-M4.
It was out of sync with other targets and with default memory settings. That caused linking to fail. Change-Id: I76466c56295a71bb3adb205cbfad9fce8230f975
1 parent e3ed488 commit 53e7d9a

File tree

1 file changed

+2
-2
lines changed
  • CMSIS/NN/Examples/ARM/arm_nn_examples/cifar10/RTE/Device/ARMCM4_FP

1 file changed

+2
-2
lines changed

CMSIS/NN/Examples/ARM/arm_nn_examples/cifar10/RTE/Device/ARMCM4_FP/startup_ARMCM4.s

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
; <o> Stack Size (in Bytes) <0x0-0xFFFFFFFF:8>
3333
; </h>
3434

35-
Stack_Size EQU 0x00000800
35+
Stack_Size EQU 0x00000400
3636

3737
AREA STACK, NOINIT, READWRITE, ALIGN=3
3838
Stack_Mem SPACE Stack_Size
@@ -43,7 +43,7 @@ __initial_sp
4343
; <o> Heap Size (in Bytes) <0x0-0xFFFFFFFF:8>
4444
; </h>
4545

46-
Heap_Size EQU 0x00080000
46+
Heap_Size EQU 0x00000C00
4747

4848
AREA HEAP, NOINIT, READWRITE, ALIGN=3
4949
__heap_base

0 commit comments

Comments
 (0)