diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2014-02-11 09:21:53 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2014-02-11 09:21:53 +0000 |
commit | 47f0e8fb7f337b65f848bf4cd59577d3967d0862 (patch) | |
tree | 9718f86035a7e04c5350043f0a207fc488a21de9 /demos | |
parent | 7f3221216d3e50c69db7d3f08595db7cfccd4424 (diff) | |
download | ChibiOS-47f0e8fb7f337b65f848bf4cd59577d3967d0862.tar.gz ChibiOS-47f0e8fb7f337b65f848bf4cd59577d3967d0862.tar.bz2 ChibiOS-47f0e8fb7f337b65f848bf4cd59577d3967d0862.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/kernel_3_dev@6699 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'demos')
-rw-r--r-- | demos/nil/NIL-STM32F303-DISCOVERY/main.c | 3 | ||||
-rw-r--r-- | demos/nil/NIL-STM32F303-DISCOVERY/nilconf.h | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/demos/nil/NIL-STM32F303-DISCOVERY/main.c b/demos/nil/NIL-STM32F303-DISCOVERY/main.c index db842415f..2b648ff29 100644 --- a/demos/nil/NIL-STM32F303-DISCOVERY/main.c +++ b/demos/nil/NIL-STM32F303-DISCOVERY/main.c @@ -78,7 +78,7 @@ static THD_FUNCTION(Thread2, arg) { }
/*
- * Hello thread.
+ * Tester thread.
*/
THD_WORKING_AREA(waThread3, 128);
THD_FUNCTION(Thread3, arg) {
@@ -111,6 +111,7 @@ THD_FUNCTION(Thread3, arg) { THD_TABLE_BEGIN
THD_TABLE_ENTRY(waThread1, "blinker1", Thread1, NULL)
THD_TABLE_ENTRY(waThread2, "blinker2", Thread2, NULL)
+ THD_TABLE_ENTRY(wa_test_support, "test_support", test_support, NULL)
THD_TABLE_ENTRY(waThread3, "tester", Thread3, NULL)
THD_TABLE_END
diff --git a/demos/nil/NIL-STM32F303-DISCOVERY/nilconf.h b/demos/nil/NIL-STM32F303-DISCOVERY/nilconf.h index 35504197e..76028b31d 100644 --- a/demos/nil/NIL-STM32F303-DISCOVERY/nilconf.h +++ b/demos/nil/NIL-STM32F303-DISCOVERY/nilconf.h @@ -40,7 +40,7 @@ * @note This number is not inclusive of the idle thread which is
* Implicitly handled.
*/
-#define NIL_CFG_NUM_THREADS 3
+#define NIL_CFG_NUM_THREADS 4
/** @} */
|