aboutsummaryrefslogtreecommitdiffstats
path: root/testhal/LPC11xx
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2011-05-13 17:20:39 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2011-05-13 17:20:39 +0000
commit85f17ebe017f0ef2a42d96eb3525346db5b9c65e (patch)
treed8bf0aaf3ff0fc37d9c78eab9206fb2bbd08a823 /testhal/LPC11xx
parent16feb88c2dc82420390b56226e8fe7cbc49aeb3b (diff)
downloadChibiOS-85f17ebe017f0ef2a42d96eb3525346db5b9c65e.tar.gz
ChibiOS-85f17ebe017f0ef2a42d96eb3525346db5b9c65e.tar.bz2
ChibiOS-85f17ebe017f0ef2a42d96eb3525346db5b9c65e.zip
Customer CR.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@2951 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'testhal/LPC11xx')
-rw-r--r--testhal/LPC11xx/IRQ_STORM/chconf.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/testhal/LPC11xx/IRQ_STORM/chconf.h b/testhal/LPC11xx/IRQ_STORM/chconf.h
index 04fa822cc..14109b635 100644
--- a/testhal/LPC11xx/IRQ_STORM/chconf.h
+++ b/testhal/LPC11xx/IRQ_STORM/chconf.h
@@ -90,6 +90,23 @@
#define CH_MEMCORE_SIZE 0
#endif
+/**
+ * @brief Idle thread automatic spawn suppression.
+ * @details When this option is activated the function @p chSysInit()
+ * does not spawn the idle thread automatically. The application has
+ * then the responsibility to do one of the following:
+ * - Spawn a custom idle thread at priority @p IDLEPRIO.
+ * - Change the main() thread priority to @p IDLEPRIO then enter
+ * an endless loop. In this scenario the @p main() thread acts as
+ * the idle thread.
+ * .
+ * @note Unless an idle thread is spawned the @p main() thread must not
+ * enter a sleep state.
+ */
+#if !defined(CH_NO_IDLE_THREAD) || defined(__DOXYGEN__)
+#define CH_NO_IDLE_THREAD FALSE
+#endif
+
/*===========================================================================*/
/* Performance options. */
/*===========================================================================*/