summaryrefslogtreecommitdiff
path: root/nuttx/configs/sam4l-xplained
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2013-06-25 09:13:30 -0600
committerGregory Nutt <gnutt@nuttx.org>2013-06-25 09:13:30 -0600
commitbbdf7a9ec4b7af902c0036125da19419ded33d08 (patch)
tree1c910a673550af41969e98a43a6c68cba6b94a49 /nuttx/configs/sam4l-xplained
parent860429a8eaaa2437d7d8e5f1cb6b2b684fbda295 (diff)
downloadnuttx-bbdf7a9ec4b7af902c0036125da19419ded33d08.tar.gz
nuttx-bbdf7a9ec4b7af902c0036125da19419ded33d08.tar.bz2
nuttx-bbdf7a9ec4b7af902c0036125da19419ded33d08.zip
Add support for a separate CCM memory allocator for members of the STM32 family that support CCM memory
Diffstat (limited to 'nuttx/configs/sam4l-xplained')
-rw-r--r--nuttx/configs/sam4l-xplained/README.txt15
-rw-r--r--nuttx/configs/sam4l-xplained/src/sam_spi.c6
2 files changed, 18 insertions, 3 deletions
diff --git a/nuttx/configs/sam4l-xplained/README.txt b/nuttx/configs/sam4l-xplained/README.txt
index 01ee7d996..644c4b401 100644
--- a/nuttx/configs/sam4l-xplained/README.txt
+++ b/nuttx/configs/sam4l-xplained/README.txt
@@ -833,12 +833,12 @@ Configuration sub-directories
CONFIG_NXFONT_SANS17X23B=y : Pick a font (any that will fit)
* This orientation will put the buttons "above" the LCD. The
- reverse landscape configuration (CONFIG_LCD_RLANDSCAPE) should
- "flip" the display so that the buttons are "below" the LCD. That
- configuration, however, is untested.
+ reverse landscape configuration (CONFIG_LCD_RLANDSCAPE) will
+ "flip" the display so that the buttons are "below" the LCD.
** The hardware is write only, but the driver maintains a frame buffer
to support read and read-write-modiry operations on the LCD.
+ Reading from the frame buffer is, however, untested.
Then, in order to use the OLED, you will need to build some kind of
graphics application or use one of the NuttX graphics examples.
@@ -855,6 +855,15 @@ Configuration sub-directories
The default "colors" will give you while text on a black background.
You can override the faults it you want black text on a while background.
+ NOTE: One issue that I have seen with the NXHello example when
+ running as an NSH command is that it only works the first time.
+ So, after you run the 'nxhello' command one time, you will have to
+ reset the board before you run it again.
+
+ This is clearly some issue with initializing, un-initializing, and
+ then re-initializing. If you want to fix this, patches are quite
+ welcome.
+
4. If the LCD1 module is connected to the SAM4L Xplained Pro, then
support for the SLCDt can be enabled by making the following
changes to the configuration:
diff --git a/nuttx/configs/sam4l-xplained/src/sam_spi.c b/nuttx/configs/sam4l-xplained/src/sam_spi.c
index f317c45eb..e1bc73b9c 100644
--- a/nuttx/configs/sam4l-xplained/src/sam_spi.c
+++ b/nuttx/configs/sam4l-xplained/src/sam_spi.c
@@ -54,6 +54,12 @@
/************************************************************************************
* Definitions
************************************************************************************/
+/* Configuration ********************************************************************/
+
+#if defined(CONFIG_SAM4L_XPLAINED_IOMODULE) && \
+ defined(CONFIG_SAM4L_XPLAINED_OLED1MODULE) && defined(CONFIG_SPI_OWNBUS)
+# error CONFIG_SPI_OWNBUS must not defined if using both I/O1 and OLED1 modules
+#endif
/* Enables debug output from this file (needs CONFIG_DEBUG too) */