summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--nuttx/arch/arm/src/lm3s/lm3s_gpio.c2
-rwxr-xr-xnuttx/configs/lm3s6965-ek/README.txt4
-rwxr-xr-xnuttx/configs/lm3s6965-ek/src/lm3s6965ek_internal.h2
-rwxr-xr-xnuttx/drivers/lcd/p14201.c4
4 files changed, 8 insertions, 4 deletions
diff --git a/nuttx/arch/arm/src/lm3s/lm3s_gpio.c b/nuttx/arch/arm/src/lm3s/lm3s_gpio.c
index 1c792e888..305103143 100644
--- a/nuttx/arch/arm/src/lm3s/lm3s_gpio.c
+++ b/nuttx/arch/arm/src/lm3s/lm3s_gpio.c
@@ -727,7 +727,7 @@ int lm3s_configgpio(uint32_t cfgset)
putreg32(regval, LM3S_SYSCON_RCGC2);
/* First, set the port to digital input. This is the safest state in which
- * to perform reconfiguation.
+ * to perform reconfiguration.
*/
lm3s_gpiofunc(base, pinno, &g_funcbits[0]);
diff --git a/nuttx/configs/lm3s6965-ek/README.txt b/nuttx/configs/lm3s6965-ek/README.txt
index 24a9ab099..a29e27cd7 100755
--- a/nuttx/configs/lm3s6965-ek/README.txt
+++ b/nuttx/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/nuttx/configs/lm3s6965-ek/src/lm3s6965ek_internal.h b/nuttx/configs/lm3s6965-ek/src/lm3s6965ek_internal.h
index 2b7514c21..c0ddfa6d9 100755
--- a/nuttx/configs/lm3s6965-ek/src/lm3s6965ek_internal.h
+++ b/nuttx/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)
diff --git a/nuttx/drivers/lcd/p14201.c b/nuttx/drivers/lcd/p14201.c
index d3ea17576..a8bb347a9 100755
--- a/nuttx/drivers/lcd/p14201.c
+++ b/nuttx/drivers/lcd/p14201.c
@@ -407,14 +407,14 @@ static const uint8_t g_setallcol[] =
{
SSD1329_SET_COLADDR,
0,
- RIT_YRES-1
+ (RIT_XRES/2)-1
};
static const uint8_t g_setallrow[] =
{
SSD1329_SET_ROWADDR,
0,
- RIT_XRES-1
+ RIT_YRES-1
};
/**************************************************************************************