aboutsummaryrefslogtreecommitdiffstats
path: root/ports/ARM7
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2009-01-10 15:02:43 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2009-01-10 15:02:43 +0000
commit48c87272fef9287a301176e9a83737fb5e78ba51 (patch)
tree12c9b277378ec0e4fbeb4e0ee9f00fc0abf6e3e5 /ports/ARM7
parent6ed1607bcbc481444e8aaff5a06e771bdaa4f21e (diff)
downloadChibiOS-48c87272fef9287a301176e9a83737fb5e78ba51.tar.gz
ChibiOS-48c87272fef9287a301176e9a83737fb5e78ba51.tar.bz2
ChibiOS-48c87272fef9287a301176e9a83737fb5e78ba51.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@608 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'ports/ARM7')
-rw-r--r--ports/ARM7/chcore.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/ports/ARM7/chcore.h b/ports/ARM7/chcore.h
index ae914b8bd..a446fdb7e 100644
--- a/ports/ARM7/chcore.h
+++ b/ports/ARM7/chcore.h
@@ -26,6 +26,13 @@
#define _CHCORE_H_
/**
+ * If enabled allows the idle thread to enter a low power mode.
+ */
+#ifndef ENABLE_WFI_IDLE
+#define ENABLE_WFI_IDLE 0
+#endif
+
+/**
* Macro defining the ARM7 architecture.
*/
#define CH_ARCHITECTURE_ARM7