Skip to content

Commit 588b082

Browse files
zyczcarlescufi
authored andcommitted
samples: coremark: Set the error log level
Enable the error level in the CoreMark sample. JIRA: NCSDK-30375 Signed-off-by: Jan Zyczkowski <[email protected]>
1 parent 52a02bb commit 588b082

File tree

5 files changed

+10
-15
lines changed

5 files changed

+10
-15
lines changed

samples/benchmarks/coremark/prj.conf

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,10 @@ CONFIG_COREMARK=y
1111
CONFIG_COMPILER_OPT="-O3 -fno-lto -fno-pie -fno-pic -funroll-loops -ffunction-sections -fdata-sections"
1212

1313
# Config results output
14-
# The default logging level is set to the OFF level.
14+
# The default logging level is set to the ERROR level.
1515
# Kernel error logging is enabled to notify the developer about system faults.
1616
CONFIG_LOG=y
17-
CONFIG_LOG_DEFAULT_LEVEL=0
18-
CONFIG_KERNEL_LOG_LEVEL_ERR=y
17+
CONFIG_LOG_DEFAULT_LEVEL=1
1918
CONFIG_CBPRINTF_FP_SUPPORT=y
2019

2120
CONFIG_GPIO=y

samples/benchmarks/coremark/prj_flash_and_run.conf

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,10 @@ CONFIG_COREMARK=y
1111
CONFIG_COMPILER_OPT="-O3 -fno-lto -fno-pie -fno-pic -funroll-loops -ffunction-sections -fdata-sections"
1212

1313
# Config results output
14-
# The default logging level is set to the OFF level.
14+
# The default logging level is set to the ERROR level.
1515
# Kernel error logging is enabled to notify the developer about system faults.
1616
CONFIG_LOG=y
17-
CONFIG_LOG_DEFAULT_LEVEL=0
18-
CONFIG_KERNEL_LOG_LEVEL_ERR=y
17+
CONFIG_LOG_DEFAULT_LEVEL=1
1918
CONFIG_CBPRINTF_FP_SUPPORT=y
2019

2120
CONFIG_GPIO=y

samples/benchmarks/coremark/prj_heap_memory.conf

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,10 @@ CONFIG_COREMARK=y
1111
CONFIG_COMPILER_OPT="-O3 -fno-lto -fno-pie -fno-pic -funroll-loops -ffunction-sections -fdata-sections"
1212

1313
# Config results output
14-
# The default logging level is set to the OFF level.
14+
# The default logging level is set to the ERROR level.
1515
# Kernel error logging is enabled to notify the developer about system faults.
1616
CONFIG_LOG=y
17-
CONFIG_LOG_DEFAULT_LEVEL=0
18-
CONFIG_KERNEL_LOG_LEVEL_ERR=y
17+
CONFIG_LOG_DEFAULT_LEVEL=1
1918
CONFIG_CBPRINTF_FP_SUPPORT=y
2019

2120
CONFIG_GPIO=y

samples/benchmarks/coremark/prj_multiple_threads.conf

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,10 @@ CONFIG_COREMARK=y
1111
CONFIG_COMPILER_OPT="-O3 -fno-lto -fno-pie -fno-pic -funroll-loops -ffunction-sections -fdata-sections"
1212

1313
# Config results output
14-
# The default logging level is set to the OFF level.
14+
# The default logging level is set to the ERROR level.
1515
# Kernel error logging is enabled to notify the developer about system faults.
1616
CONFIG_LOG=y
17-
CONFIG_LOG_DEFAULT_LEVEL=0
18-
CONFIG_KERNEL_LOG_LEVEL_ERR=y
17+
CONFIG_LOG_DEFAULT_LEVEL=1
1918
CONFIG_CBPRINTF_FP_SUPPORT=y
2019

2120
CONFIG_GPIO=y

samples/benchmarks/coremark/prj_static_memory.conf

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,10 @@ CONFIG_COREMARK=y
1111
CONFIG_COMPILER_OPT="-O3 -fno-lto -fno-pie -fno-pic -funroll-loops -ffunction-sections -fdata-sections"
1212

1313
# Config results output
14-
# The default logging level is set to the OFF level.
14+
# The default logging level is set to the ERROR level.
1515
# Kernel error logging is enabled to notify the developer about system faults.
1616
CONFIG_LOG=y
17-
CONFIG_LOG_DEFAULT_LEVEL=0
18-
CONFIG_KERNEL_LOG_LEVEL_ERR=y
17+
CONFIG_LOG_DEFAULT_LEVEL=1
1918
CONFIG_CBPRINTF_FP_SUPPORT=y
2019

2120
CONFIG_GPIO=y

0 commit comments

Comments
 (0)