summaryrefslogtreecommitdiff
path: root/nuttx/configs/stm32f4discovery/src/Makefile
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-07-25 13:35:36 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-07-25 13:35:36 +0000
commitf5ab5978905faf5b9bd81c2c2463a25cd75325ae (patch)
tree4db514dfbab62d4ddf161d71cf1c409646cdedb7 /nuttx/configs/stm32f4discovery/src/Makefile
parent79a649dfb7f8673a4150bfdabcf32826619de326 (diff)
downloadpx4-nuttx-f5ab5978905faf5b9bd81c2c2463a25cd75325ae.tar.gz
px4-nuttx-f5ab5978905faf5b9bd81c2c2463a25cd75325ae.tar.bz2
px4-nuttx-f5ab5978905faf5b9bd81c2c2463a25cd75325ae.zip
Add PM support for the STM32F4Discovery -- still a work in progress
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4976 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/configs/stm32f4discovery/src/Makefile')
-rw-r--r--nuttx/configs/stm32f4discovery/src/Makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/nuttx/configs/stm32f4discovery/src/Makefile b/nuttx/configs/stm32f4discovery/src/Makefile
index 0b279b1ba..c1be57268 100644
--- a/nuttx/configs/stm32f4discovery/src/Makefile
+++ b/nuttx/configs/stm32f4discovery/src/Makefile
@@ -72,6 +72,18 @@ ifeq ($(CONFIG_WATCHDOG),y)
CSRCS += up_watchdog.c
endif
+ifeq ($(CONFIG_PM_CUSTOMINIT),y)
+CSRCS += up_pm.c
+endif
+
+ifeq ($(CONFIG_PM_BUTTONS),y)
+CSRCS += up_pmbuttons.c
+endif
+
+ifeq ($(CONFIG_IDLE_CUSTOM),y)
+CSRCS += up_idle.c
+endif
+
ifeq ($(CONFIG_STM32_FSMC),y)
CSRCS += up_extmem.c