summaryrefslogtreecommitdiff
path: root/nuttx/arch/mips/src/pic32mz/chip/pic32mz-features.h
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2015-02-24 11:16:32 -0600
committerGregory Nutt <gnutt@nuttx.org>2015-02-24 11:16:32 -0600
commit11209a27acdf3954bef9be508851bb30ba1c02c2 (patch)
tree0219ff4675c98ab492c8d47eaed2f6c3d873f4f9 /nuttx/arch/mips/src/pic32mz/chip/pic32mz-features.h
parentd8874e37bdd21f45cb03cf33596fafe00d45288f (diff)
downloadnuttx-11209a27acdf3954bef9be508851bb30ba1c02c2.tar.gz
nuttx-11209a27acdf3954bef9be508851bb30ba1c02c2.tar.bz2
nuttx-11209a27acdf3954bef9be508851bb30ba1c02c2.zip
PIC32MZ: Add Oscillator header file; Add logic to set up peripheral clocks on reset
Diffstat (limited to 'nuttx/arch/mips/src/pic32mz/chip/pic32mz-features.h')
-rw-r--r--nuttx/arch/mips/src/pic32mz/chip/pic32mz-features.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/nuttx/arch/mips/src/pic32mz/chip/pic32mz-features.h b/nuttx/arch/mips/src/pic32mz/chip/pic32mz-features.h
index 8e395a72e..4bc21f258 100644
--- a/nuttx/arch/mips/src/pic32mz/chip/pic32mz-features.h
+++ b/nuttx/arch/mips/src/pic32mz/chip/pic32mz-features.h
@@ -42,10 +42,10 @@
#include <nuttx/config.h>
-#if defined(CHIP_PIC32MZEC) || defined(CHIP_PIC32MZ2)
+#if defined(CONFIG_ARCH_CHIP_PIC32MZEC)
# include <chip/pic32mzec-features.h>
#else
-# error "Unknown PIC32MZ family
+# error Unknown PIC32MZ family
#endif
#endif /* __ARCH_MIPS_SRC_PIC32MZ_CHIP_PIC32MZ_FEATURES_H */