From 4ec0b5f43461b3ff18f0d0c7eaedb1d6e6485728 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Wed, 15 Jan 2014 02:21:40 +0000 Subject: enable sleep mode for idle thread git-svn-id: https://svn.spreadspace.org/mur.sat@863 7de4ea59-55d0-425e-a1af-a3118ea81d4c --- software/mpu/Makefile | 2 ++ 1 file changed, 2 insertions(+) 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) -- cgit v1.2.3