diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2010-05-13 02:13:15 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2010-05-13 02:13:15 +0000 |
commit | c6c6c52fdb8e2fe474563b71437d80f4d3c67e59 (patch) | |
tree | 5b5603b22e87341721d5bcd9c891ec6bf062e2e4 /nuttx/configs/lm3s6965-ek/src/up_boot.c | |
parent | a5e540ac16e48b68d8365cfe912d405871beed5f (diff) | |
download | px4-nuttx-c6c6c52fdb8e2fe474563b71437d80f4d3c67e59.tar.gz px4-nuttx-c6c6c52fdb8e2fe474563b71437d80f4d3c67e59.tar.bz2 px4-nuttx-c6c6c52fdb8e2fe474563b71437d80f4d3c67e59.zip |
Add NX config for lm3s6965-ek
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2668 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/configs/lm3s6965-ek/src/up_boot.c')
-rwxr-xr-x | nuttx/configs/lm3s6965-ek/src/up_boot.c | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/nuttx/configs/lm3s6965-ek/src/up_boot.c b/nuttx/configs/lm3s6965-ek/src/up_boot.c index 9e1091c4c..3e8f54fbf 100755 --- a/nuttx/configs/lm3s6965-ek/src/up_boot.c +++ b/nuttx/configs/lm3s6965-ek/src/up_boot.c @@ -74,13 +74,22 @@ void lm3s_boardinitialize(void) * lm3s_ssiinitialize() has been brought into the link.
*/
-/* The LM3S6965 Eval Kit microSD CS is on SSI0 */
+ /* The LM3S6965 Eval Kit microSD CS and OLED are on SSI0 */
#if !defined(CONFIG_SSI0_DISABLE) /* || !defined(CONFIG_SSI1_DISABLE) */
if (lm3s_ssiinitialize)
{
lm3s_ssiinitialize();
}
+
+ /* Configure the OLED for use */
+
+#ifdef CONFIG_NX_LCDDRIVER
+ if (lm3s_oledinitialize)
+ {
+ lm3s_oledinitialize();
+ }
+#endif
#endif
/* Configure on-board LEDs if LED support has been selected. */
|