diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-01-08 21:33:57 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-01-08 21:33:57 +0000 |
commit | 0bc978aa032d7bd2a60c577cc261ccdcb8dfd628 (patch) | |
tree | 4a16b4b9277f9ddb00b016918c819e991aab8e70 /nuttx/arch/arm/src/stm32/Make.defs | |
parent | f0656284a031663c77d59bd4a7fa3b2857767676 (diff) | |
download | px4-nuttx-0bc978aa032d7bd2a60c577cc261ccdcb8dfd628.tar.gz px4-nuttx-0bc978aa032d7bd2a60c577cc261ccdcb8dfd628.tar.bz2 px4-nuttx-0bc978aa032d7bd2a60c577cc261ccdcb8dfd628.zip |
Replace logic STM32 IDLE loop with standard power management interfaces
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4284 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/arch/arm/src/stm32/Make.defs')
-rw-r--r-- | nuttx/arch/arm/src/stm32/Make.defs | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/nuttx/arch/arm/src/stm32/Make.defs b/nuttx/arch/arm/src/stm32/Make.defs index 0d046ebc3..6306f2a26 100644 --- a/nuttx/arch/arm/src/stm32/Make.defs +++ b/nuttx/arch/arm/src/stm32/Make.defs @@ -1,7 +1,7 @@ ############################################################################ # arch/arm/src/stm32/Make.defs # -# Copyright (C) 2009, 2011 Gregory Nutt. All rights reserved. +# Copyright (C) 2009, 2011-2012 Gregory Nutt. All rights reserved. # Author: Gregory Nutt <gnutt@nuttx.org> # # Redistribution and use in source and binary forms, with or without @@ -57,14 +57,14 @@ CHIP_CSRCS = stm32_allocateheap.c stm32_start.c stm32_rcc.c stm32_lse.c \ stm32_gpio.c stm32_exti.c stm32_flash.c stm32_irq.c \ stm32_timerisr.c stm32_dma.c stm32_lowputc.c stm32_serial.c \ stm32_spi.c stm32_usbdev.c stm32_sdio.c stm32_tim.c stm32_i2c.c \ - stm32_idle.c stm32_waste.c + stm32_waste.c -ifeq ($(CONFIG_STM32_ETHMAC),y) -CHIP_CSRCS += stm32_eth.c +ifneq ($(CONFIG_IDLE_CUSTOM),y) +CHIP_CSRCS += stm32_idle.c endif -ifeq ($(CONFIG_STM32_RCCLOCK),y) -CHIP_CSRCS += stm32_rcclock.c +ifeq ($(CONFIG_STM32_ETHMAC),y) +CHIP_CSRCS += stm32_eth.c endif ifeq ($(CONFIG_STM32_PWR),y) |