File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ BUILD_DIR ?= ./obj
4747OUT_NAME ?= example_cifar10_caffe
4848ifeq ($(TOOLCHAIN ) ,mwdt)
4949# MWDT specific options
50- CFLAGS = -Hnocopyr -Hpurge -Hheap=8K -Hstack=4K -Hfxapi -e_start -Bgrouplib -Hldopt=-q -O0
50+ CFLAGS = -Hnocopyr -Hpurge -Hheap=8K -Hstack=1K -Hfxapi -e_start -Bgrouplib -Hldopt=-q -O0
5151else
5252PREBUILT_LIB ?= $(EMBARC_MLI_DIR ) /examples/prebuilt/libmli.a
5353
@@ -65,7 +65,7 @@ CFLAGS += -DV2DSP_XY
6565
6666# GNU toolchain linker specific options
6767LDFLAGS = --defsym=__DEFAULT_HEAP_SIZE=8k
68- LDFLAGS += --defsym=__DEFAULT_STACK_SIZE=4k
68+ LDFLAGS += --defsym=__DEFAULT_STACK_SIZE=1k
6969LDFLAGS += -Map $(OUT_DIR ) /$(OUT_NAME ) .map
7070
7171# specific options for run the example with the MetaWare Debuger on the nSim simulator.
Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ BUILD_DIR ?= ./obj
4747OUT_NAME ?= example_har_smartphone
4848ifeq ($(TOOLCHAIN ) ,mwdt)
4949# MWDT specific options
50- CFLAGS = -Hnocopyr -Hpurge -Hheap=16K -Hstack=4K -Hfxapi -e_start -Bgrouplib -Hldopt=-q -O0
50+ CFLAGS = -Hnocopyr -Hpurge -Hheap=8K -Hstack=1K -Hfxapi -e_start -Bgrouplib -Hldopt=-q -O0
5151else
5252PREBUILT_LIB ?= $(EMBARC_MLI_DIR ) /examples/prebuilt/libmli.a
5353
@@ -64,8 +64,8 @@ CFLAGS += -DV2DSP_XY
6464# CFLAGS += -DV2DSP_WIDE
6565
6666# GNU toolchain linker specific options
67- LDFLAGS = --defsym=__DEFAULT_HEAP_SIZE=16k
68- LDFLAGS += --defsym=__DEFAULT_STACK_SIZE=4k
67+ LDFLAGS = --defsym=__DEFAULT_HEAP_SIZE=8k
68+ LDFLAGS += --defsym=__DEFAULT_STACK_SIZE=1k
6969LDFLAGS += -Map $(OUT_DIR ) /$(OUT_NAME ) .map
7070
7171# specific options for run the example with the MetaWare Debuger on the nSim simulator.
You can’t perform that action at this time.
0 commit comments