From bd34482dc4b69fa5f6c3cba88ad9f031edb9bc1e Mon Sep 17 00:00:00 2001 From: patacongo Date: Sat, 15 May 2010 23:03:17 +0000 Subject: [PATCH] more oled fixes git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2677 42af7a65-404d-4744-a932-0658087f49c3 --- configs/lm3s6965-ek/README.txt | 4 ++++ configs/lm3s6965-ek/src/lm3s6965ek_internal.h | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/configs/lm3s6965-ek/README.txt b/configs/lm3s6965-ek/README.txt index 24a9ab099e..a29e27cd7f 100755 --- a/configs/lm3s6965-ek/README.txt +++ b/configs/lm3s6965-ek/README.txt @@ -97,6 +97,10 @@ OLED - PC7: OLED display data/control select (D/Cn) - PA3: OLED display chip select (CSn) + NOTE: Newer versions of the LM3S6965 Evaluation Kit has an OSAM 128x64x4 OLED + display. Some tweaks to drivers/lcd/p14201.c would be required to support that + LCD. + Development Environment ^^^^^^^^^^^^^^^^^^^^^^^ diff --git a/configs/lm3s6965-ek/src/lm3s6965ek_internal.h b/configs/lm3s6965-ek/src/lm3s6965ek_internal.h index 2b7514c21e..c0ddfa6d96 100755 --- a/configs/lm3s6965-ek/src/lm3s6965ek_internal.h +++ b/configs/lm3s6965-ek/src/lm3s6965ek_internal.h @@ -105,7 +105,7 @@ * - PA3: OLED display chip select (CSn) */ -#define OLEDDC_GPIO (GPIO_FUNC_OUTPUT | GPIO_PADTYPE_STDWPU | GPIO_STRENGTH_4MA | \ +#define OLEDDC_GPIO (GPIO_FUNC_OUTPUT | GPIO_PADTYPE_STD | GPIO_STRENGTH_8MA | \ GPIO_VALUE_ONE | GPIO_PORTC | 7) #define OLEDCS_GPIO (GPIO_FUNC_OUTPUT | GPIO_PADTYPE_STDWPU | GPIO_STRENGTH_4MA | \ GPIO_VALUE_ONE | GPIO_PORTA | 3)