Skip to content

Commit 227dfd9

Browse files
author
Wayne Ren
committed
example: kernel: optimize freertos benchmark
for benchmark purpose, no use of code density, stack check, fpu and dsp Signed-off-by: Wayne Ren <[email protected]>
1 parent 5e6722a commit 227dfd9

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

example/freertos/kernel/makefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@ EMBARC_ROOT = ../../..
1111

1212
MID_SEL = common
1313

14+
# for benchmark purporse, no stack check, no code density, no dsp and fpu
15+
APPL_DEFINES = -DARC_FEATURE_STACK_CHECK=0 -DARC_FEATURE_FPU_DSP_CONTEXT=0 \
16+
-DARC_FEATURE_CODE_DENSITY=0
17+
1418
# application source dirs
1519
APPL_CSRC_DIR = .
1620
APPL_ASMSRC_DIR = .

0 commit comments

Comments
 (0)