samples: philosophers: remove redundant items in prj.conf

The normal and posix philosophers samples seemed to have
a number of redundant choices in prj.conf.

Let's reduce to the minimum required for the sample. The
CONFIG_DEBUG_THREAD_INFO option is part of the
documentation, so leave it as-is.

Signed-off-by: Christopher Friedt <cfriedt@meta.com>
This commit is contained in:
Christopher Friedt 2024-01-31 00:35:10 -05:00 committed by Chris Friedt
parent 842fdbdea6
commit dd33a8152a
2 changed files with 1 additions and 18 deletions

View File

@ -1,9 +1,4 @@
CONFIG_STDOUT_CONSOLE=n
CONFIG_ASSERT=y
CONFIG_ASSERT_LEVEL=2
CONFIG_NUM_COOP_PRIORITIES=29
CONFIG_NUM_PREEMPT_PRIORITIES=40
CONFIG_SCHED_SCALABLE=y
CONFIG_MP_MAX_NUM_CPUS=1
#Enable thread awareness for debugging tools supporting it

View File

@ -1,25 +1,13 @@
CONFIG_STDOUT_CONSOLE=n
CONFIG_ASSERT=y
CONFIG_ASSERT_LEVEL=2
CONFIG_NUM_COOP_PRIORITIES=29
CONFIG_NUM_PREEMPT_PRIORITIES=40
CONFIG_SCHED_SCALABLE=y
CONFIG_MP_MAX_NUM_CPUS=1
CONFIG_LOG=y
CONFIG_LOG_MODE_MINIMAL=y
CONFIG_POSIX_API=y
CONFIG_THREAD_STACK_INFO=y
CONFIG_DYNAMIC_THREAD=y
CONFIG_DYNAMIC_THREAD_POOL_SIZE=6
CONFIG_MAX_PTHREAD_COUNT=6
CONFIG_MAX_PTHREAD_MUTEX_COUNT=7
CONFIG_MAX_PTHREAD_MUTEX_COUNT=6
#Enable thread awareness for debugging tools supporting it
CONFIG_DEBUG_THREAD_INFO=y
# CONFIG_SAMPLE_ERROR_CHECKING=y
# CONFIG_PTHREAD_MUTEX_LOG_LEVEL_DBG=y
# CONFIG_PTHREAD_LOG_LEVEL_DBG=y