aboutsummaryrefslogtreecommitdiff
path: root/nuttx/arch/arm/src/stm32/Make.defs
diff options
context:
space:
mode:
authorpatacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679>2012-03-22 14:07:45 +0000
committerpatacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679>2012-03-22 14:07:45 +0000
commit1460fecc90e84216347a075548e9c625aeb8541a (patch)
tree433a83ad007b7ff22d900f2178dc1235420002f7 /nuttx/arch/arm/src/stm32/Make.defs
parent1018c9e4410f651f9025fd28471ef99bae903e92 (diff)
downloadpx4-firmware-1460fecc90e84216347a075548e9c625aeb8541a.tar.gz
px4-firmware-1460fecc90e84216347a075548e9c625aeb8541a.tar.bz2
px4-firmware-1460fecc90e84216347a075548e9c625aeb8541a.zip
Change STM32 so that stm32_pmstop.c and stm32_pmstandby are built even if CONFIG_PM is not defined
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4502 7fd9a85b-ad96-42d3-883c-3090e2eb8679
Diffstat (limited to 'nuttx/arch/arm/src/stm32/Make.defs')
-rw-r--r--nuttx/arch/arm/src/stm32/Make.defs3
1 files changed, 2 insertions, 1 deletions
diff --git a/nuttx/arch/arm/src/stm32/Make.defs b/nuttx/arch/arm/src/stm32/Make.defs
index 79f0979cc..516cc434e 100644
--- a/nuttx/arch/arm/src/stm32/Make.defs
+++ b/nuttx/arch/arm/src/stm32/Make.defs
@@ -76,8 +76,9 @@ ifneq ($(CONFIG_IDLE_CUSTOM),y)
CHIP_CSRCS += stm32_idle.c
endif
+CHIP_CSRCS += stm32_pmstop.c stm32_pmstandby.c
ifeq ($(CONFIG_PM),y)
-CHIP_CSRCS += stm32_pminitialize.c stm32_pmstop.c stm32_pmstandby.c
+CHIP_CSRCS += stm32_pminitialize.c
endif
ifeq ($(CONFIG_STM32_ETHMAC),y)