summaryrefslogtreecommitdiff
path: root/nuttx/arch/mips/src/pic32mx/pic32mx-config.h
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-10-11 20:50:10 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-10-11 20:50:10 +0000
commitebebf7f4acbae1c917962c14d21e86a5cf0484c2 (patch)
tree9e719b791f2addbec3b4cab37c3ed166c4f2b952 /nuttx/arch/mips/src/pic32mx/pic32mx-config.h
parent7155446ba1a312a61d55d0c6dab9cc621112d743 (diff)
downloadpx4-nuttx-ebebf7f4acbae1c917962c14d21e86a5cf0484c2.tar.gz
px4-nuttx-ebebf7f4acbae1c917962c14d21e86a5cf0484c2.tar.bz2
px4-nuttx-ebebf7f4acbae1c917962c14d21e86a5cf0484c2.zip
Add PIC32MX GPIO handling; add button/LED support for the Sure PIC32MX
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4040 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/arch/mips/src/pic32mx/pic32mx-config.h')
-rw-r--r--nuttx/arch/mips/src/pic32mx/pic32mx-config.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/nuttx/arch/mips/src/pic32mx/pic32mx-config.h b/nuttx/arch/mips/src/pic32mx/pic32mx-config.h
index 2eee06ae6..689a6d261 100644
--- a/nuttx/arch/mips/src/pic32mx/pic32mx-config.h
+++ b/nuttx/arch/mips/src/pic32mx/pic32mx-config.h
@@ -354,14 +354,14 @@
# error "CONFIG_PIC32MX_UART2PRIO is too large"
#endif
-#ifndef CONFIG_PIC32MX_CN /* Input Change Interrupt */
-# define CONFIG_PIC32MX_CN (INT_ICP_MID_PRIORITY << 2)
+#ifndef CONFIG_PIC32MX_CNPRIO /* Input Change Interrupt */
+# define CONFIG_PIC32MX_CNPRIO (INT_ICP_MID_PRIORITY << 2)
#endif
-#if CONFIG_PIC32MX_CN < 4
-# error "CONFIG_PIC32MX_CN is too small"
+#if CONFIG_PIC32MX_CNPRIO < 4
+# error "CONFIG_PIC32MX_CNPRIO is too small"
#endif
-#if CONFIG_PIC32MX_CN > 31
-# error "CONFIG_PIC32MX_CN is too large"
+#if CONFIG_PIC32MX_CNPRIO > 31
+# error "CONFIG_PIC32MX_CNPRIO is too large"
#endif
#ifndef CONFIG_PIC32MX_ADCPRIO /* ADC1 Convert Done */