summaryrefslogtreecommitdiff
path: root/nuttx/configs/mikroe-stm32f4/src/mikroe-stm32f4-internal.h
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2013-05-11 16:04:47 -0600
committerGregory Nutt <gnutt@nuttx.org>2013-05-11 16:04:47 -0600
commit5b0a06cafebd0a0dc8060f7e7a4208cac06dcaaa (patch)
treeb3674dc512e2d3b33aa90acbeceecdea3247c341 /nuttx/configs/mikroe-stm32f4/src/mikroe-stm32f4-internal.h
parent1593bc8ff58f1a833872daec312f326b50bffaf5 (diff)
downloadpx4-nuttx-5b0a06cafebd0a0dc8060f7e7a4208cac06dcaaa.tar.gz
px4-nuttx-5b0a06cafebd0a0dc8060f7e7a4208cac06dcaaa.tar.bz2
px4-nuttx-5b0a06cafebd0a0dc8060f7e7a4208cac06dcaaa.zip
Changes to get the Mikroe STM32F4 touchscreen working from Ken Pettit
Diffstat (limited to 'nuttx/configs/mikroe-stm32f4/src/mikroe-stm32f4-internal.h')
-rw-r--r--nuttx/configs/mikroe-stm32f4/src/mikroe-stm32f4-internal.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/nuttx/configs/mikroe-stm32f4/src/mikroe-stm32f4-internal.h b/nuttx/configs/mikroe-stm32f4/src/mikroe-stm32f4-internal.h
index 5364d8bd0..d1a69547e 100644
--- a/nuttx/configs/mikroe-stm32f4/src/mikroe-stm32f4-internal.h
+++ b/nuttx/configs/mikroe-stm32f4/src/mikroe-stm32f4-internal.h
@@ -176,7 +176,11 @@
GPIO_OUTPUT_SET|GPIO_PORTB|GPIO_PIN8)
#define GPIO_TP_DRIVEB (GPIO_OUTPUT|GPIO_PUSHPULL|GPIO_SPEED_50MHz|\
- GPIO_OUTPUT_SET|GPIO_PORTB|GPIO_PIN9)
+ GPIO_PORTB|GPIO_PIN9)
+
+#define GPIO_TP_YD (GPIO_ANALOG|GPIO_PORTB|GPIO_PIN0)
+
+#define GPIO_TP_XL (GPIO_ANALOG|GPIO_PORTB|GPIO_PIN1)
/****************************************************************************************************
* Public Types