summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Walsh <benjamin.walsh@windriver.com>2016-11-18 16:29:21 -0500
committerAnas Nashif <anas.nashif@intel.com>2016-11-18 18:46:15 -0500
commit796a6bb4d88db3e4f1e5a047dcd59b61a43297d4 (patch)
tree7307544f3f2fbfb114441737bcf2d042f1eb8118
parent385e02ba5235345f6bf3c8d3acb26ef1dc530c20 (diff)
samples: configure philosophers with more than 32 priorities
To have one project use more than 32 priorities. The preempt priorities are also aligned so that they straddle two priority bitmaps. Change-Id: I0f0862110d876e40fde45a0d105b769e8603d644 Signed-off-by: Benjamin Walsh <benjamin.walsh@windriver.com>
-rw-r--r--samples/philosophers/prj.conf4
1 files changed, 2 insertions, 2 deletions
diff --git a/samples/philosophers/prj.conf b/samples/philosophers/prj.conf
index 3e577b46a..ef7f1ecb7 100644
--- a/samples/philosophers/prj.conf
+++ b/samples/philosophers/prj.conf
@@ -3,5 +3,5 @@ CONFIG_INIT_STACKS=y
CONFIG_SYS_CLOCK_TICKS_PER_SEC=100
CONFIG_ASSERT=y
CONFIG_ASSERT_LEVEL=2
-CONFIG_NUM_COOP_PRIORITIES=2
-CONFIG_NUM_PREEMPT_PRIORITIES=6
+CONFIG_NUM_COOP_PRIORITIES=29
+CONFIG_NUM_PREEMPT_PRIORITIES=40