summaryrefslogtreecommitdiff
path: root/nuttx/include
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-11-08 01:28:32 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-11-08 01:28:32 +0000
commit10abc48ef23af89e79d7e48dcd1e526d091f23fb (patch)
treeb6cc0d59a5880e027da075888e39941f3cc5b0e5 /nuttx/include
parent92ece28c9595ada48bfa172e450338a2a6b0169a (diff)
downloadpx4-nuttx-10abc48ef23af89e79d7e48dcd1e526d091f23fb.tar.gz
px4-nuttx-10abc48ef23af89e79d7e48dcd1e526d091f23fb.tar.bz2
px4-nuttx-10abc48ef23af89e79d7e48dcd1e526d091f23fb.zip
Add UG-2864AMBAG01 initialization for use on STM32F4Discovery
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5321 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/include')
-rw-r--r--nuttx/include/nuttx/lcd/ug-2864ambag01.h13
1 files changed, 11 insertions, 2 deletions
diff --git a/nuttx/include/nuttx/lcd/ug-2864ambag01.h b/nuttx/include/nuttx/lcd/ug-2864ambag01.h
index 86c4a03b4..a7de77efa 100644
--- a/nuttx/include/nuttx/lcd/ug-2864ambag01.h
+++ b/nuttx/include/nuttx/lcd/ug-2864ambag01.h
@@ -47,8 +47,16 @@
* Included Files
**************************************************************************************/
+#include <nuttx/config.h>
+
#include <stdbool.h>
+#include <nuttx/arch.h>
+
+#include "stm32_gpio.h"
+
+#ifdef CONFIG_LCD_UG2864AMBAG01
+
/**************************************************************************************
* Pre-processor Definitions
**************************************************************************************/
@@ -214,8 +222,8 @@ extern "C"
*
**************************************************************************************/
-struct lcd_dev_s; /* See nuttx/lcd.h */
-struct spi_dev_s; /* See nuttx/spi.h */
+struct lcd_dev_s; /* See include/nuttx/lcd/lcd.h */
+struct spi_dev_s; /* See include/nuttx/spi.h */
FAR struct lcd_dev_s *ug2864ambag01_initialize(FAR struct spi_dev_s *spi,
unsigned int devno);
@@ -240,4 +248,5 @@ void ug2864ambag01_fill(FAR struct lcd_dev_s *dev, uint8_t color);
}
#endif
+#endif /* CONFIG_LCD_UG2864AMBAG01 */
#endif /* __INCLUDE_NUTTX_UG_8264AMBAG01_H */