Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Coremark issues for NCS 3.0.0 #19958

Merged
merged 3 commits into from
Jan 20, 2025
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
samples: coremark: Add compiler flags
Add compiler flags to increase performance.

JIRA: NCSDK-30665

Signed-off-by: Jan Zyczkowski <jan.zyczkowski@nordicsemi.no>
  • Loading branch information
zycz committed Jan 17, 2025
commit de5196fcddea5726819c8e38e810b4ff0c1c0598
2 changes: 1 addition & 1 deletion samples/benchmarks/coremark/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
CONFIG_COREMARK=y

# Compiler options
CONFIG_COMPILER_OPT="-O3"
CONFIG_COMPILER_OPT="-O3 -fno-lto -fno-pie -fno-pic -funroll-loops -ffunction-sections -fdata-sections"

# Config results output
# The default logging level is set to the OFF level.
Expand Down
2 changes: 1 addition & 1 deletion samples/benchmarks/coremark/prj_flash_and_run.conf
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
CONFIG_COREMARK=y

# Compiler options
CONFIG_COMPILER_OPT="-O3"
CONFIG_COMPILER_OPT="-O3 -fno-lto -fno-pie -fno-pic -funroll-loops -ffunction-sections -fdata-sections"

# Config results output
# The default logging level is set to the OFF level.
Expand Down
2 changes: 1 addition & 1 deletion samples/benchmarks/coremark/prj_heap_memory.conf
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
CONFIG_COREMARK=y

# Compiler options
CONFIG_COMPILER_OPT="-O3"
CONFIG_COMPILER_OPT="-O3 -fno-lto -fno-pie -fno-pic -funroll-loops -ffunction-sections -fdata-sections"

# Config results output
# The default logging level is set to the OFF level.
Expand Down
2 changes: 1 addition & 1 deletion samples/benchmarks/coremark/prj_multiple_threads.conf
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
CONFIG_COREMARK=y

# Compiler options
CONFIG_COMPILER_OPT="-O3"
CONFIG_COMPILER_OPT="-O3 -fno-lto -fno-pie -fno-pic -funroll-loops -ffunction-sections -fdata-sections"

# Config results output
# The default logging level is set to the OFF level.
Expand Down
2 changes: 1 addition & 1 deletion samples/benchmarks/coremark/prj_static_memory.conf
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
CONFIG_COREMARK=y

# Compiler options
CONFIG_COMPILER_OPT="-O3"
CONFIG_COMPILER_OPT="-O3 -fno-lto -fno-pie -fno-pic -funroll-loops -ffunction-sections -fdata-sections"

# Config results output
# The default logging level is set to the OFF level.
Expand Down