summaryrefslogtreecommitdiff
path: root/software
diff options
context:
space:
mode:
authorChristian Pointner <equinox@mur.at>2014-01-15 02:21:40 +0000
committerChristian Pointner <equinox@mur.at>2014-01-15 02:21:40 +0000
commit4ec0b5f43461b3ff18f0d0c7eaedb1d6e6485728 (patch)
tree2d7c618e832890a9470ebd2a380a95f9b9d57640 /software
parentfixed mcuconf for F405 (diff)
enable sleep mode for idle thread
git-svn-id: https://svn.spreadspace.org/mur.sat@863 7de4ea59-55d0-425e-a1af-a3118ea81d4c
Diffstat (limited to 'software')
-rw-r--r--software/mpu/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/software/mpu/Makefile b/software/mpu/Makefile
index dce1dfe..a1393b1 100644
--- a/software/mpu/Makefile
+++ b/software/mpu/Makefile
@@ -238,6 +238,8 @@ ifeq ($(MCU),cortex-m4)
endif
endif
+DDEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE
+
ifeq ($(USE_FWLIB),yes)
include $(CHIBIOS)/ext/stm32lib/stm32lib.mk
CSRC += $(STM32SRC)