summaryrefslogtreecommitdiff
path: root/nuttx/arch/arm/src/stm32/Make.defs
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-06-26 12:39:23 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-06-26 12:39:23 +0000
commit9eb6e49a56899f4347f96a6fbaa4bc89fd6e411c (patch)
treee7a8ec3cdf98cfb7dc1c2083f5425dd7511428ac /nuttx/arch/arm/src/stm32/Make.defs
parent45062eebeb8e3cca452ad08861f047106a101597 (diff)
downloadpx4-nuttx-9eb6e49a56899f4347f96a6fbaa4bc89fd6e411c.tar.gz
px4-nuttx-9eb6e49a56899f4347f96a6fbaa4bc89fd6e411c.tar.bz2
px4-nuttx-9eb6e49a56899f4347f96a6fbaa4bc89fd6e411c.zip
Simplify STM32 PM infrastructure
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4870 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/arch/arm/src/stm32/Make.defs')
-rw-r--r--nuttx/arch/arm/src/stm32/Make.defs2
1 files changed, 2 insertions, 0 deletions
diff --git a/nuttx/arch/arm/src/stm32/Make.defs b/nuttx/arch/arm/src/stm32/Make.defs
index 88ac64812..cae6bfc57 100644
--- a/nuttx/arch/arm/src/stm32/Make.defs
+++ b/nuttx/arch/arm/src/stm32/Make.defs
@@ -86,8 +86,10 @@ endif
CHIP_CSRCS += stm32_pmstop.c stm32_pmstandby.c
ifeq ($(CONFIG_PM),y)
+ifneq ($(CONFIG_PM_CUSTOMINIT),y)
CHIP_CSRCS += stm32_pminitialize.c
endif
+endif
ifeq ($(CONFIG_STM32_ETHMAC),y)
CHIP_CSRCS += stm32_eth.c