summaryrefslogtreecommitdiff
path: root/nuttx/arch/arm/src/stm32/stm32_wdg.h
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-04-16 00:09:13 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-04-16 00:09:13 +0000
commit10565c380b34dc531bb3367c64e2ae973367c61c (patch)
tree1cf88dfa4960d88c5d62b3a274e50b696e62fc4b /nuttx/arch/arm/src/stm32/stm32_wdg.h
parent3a4ec3a93203f710ed190244ef98dd544f718b3b (diff)
downloadpx4-nuttx-10565c380b34dc531bb3367c64e2ae973367c61c.tar.gz
px4-nuttx-10565c380b34dc531bb3367c64e2ae973367c61c.tar.bz2
px4-nuttx-10565c380b34dc531bb3367c64e2ae973367c61c.zip
More Kconfig
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4615 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/arch/arm/src/stm32/stm32_wdg.h')
-rw-r--r--nuttx/arch/arm/src/stm32/stm32_wdg.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/nuttx/arch/arm/src/stm32/stm32_wdg.h b/nuttx/arch/arm/src/stm32/stm32_wdg.h
index ef9a0cb51..38af388f9 100644
--- a/nuttx/arch/arm/src/stm32/stm32_wdg.h
+++ b/nuttx/arch/arm/src/stm32/stm32_wdg.h
@@ -45,6 +45,8 @@
#include "chip.h"
#include "chip/stm32_wdg.h"
+#ifdef CONFIG_WATCHDOG
+
/****************************************************************************
* Pre-processor Definitions
****************************************************************************/
@@ -81,7 +83,9 @@ extern "C" {
*
****************************************************************************/
+#ifdef CONFIG_STM32_IWDG
EXTERN void stm32_iwdginitialize(FAR const char *devpath, uint32_t lsifreq);
+#endif
/****************************************************************************
* Name: stm32_wwdginitialize
@@ -100,7 +104,9 @@ EXTERN void stm32_iwdginitialize(FAR const char *devpath, uint32_t lsifreq);
*
****************************************************************************/
+#ifdef CONFIG_STM32_WWDG
EXTERN void stm32_wwdginitialize(FAR const char *devpath);
+#endif
#undef EXTERN
#if defined(__cplusplus)
@@ -108,4 +114,5 @@ EXTERN void stm32_wwdginitialize(FAR const char *devpath);
#endif
#endif /* __ASSEMBLY__ */
+#endif /* CONFIG_WATCHDOG */
#endif /* __ARCH_ARM_SRC_STM32_STM32_WDG_H */