From 3deb8eda59dd07053f3f6a0c650ebbc3d7f3b14e Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Sun, 8 Jan 2017 18:10:56 -0600 Subject: [PATCH] Update README file, comments. --- configs/stm32f429i-disco/README.txt | 68 +++++++++++++----------- configs/stm32f429i-disco/src/stm32_lcd.c | 13 ++--- 2 files changed, 41 insertions(+), 40 deletions(-) diff --git a/configs/stm32f429i-disco/README.txt b/configs/stm32f429i-disco/README.txt index c7fd6b2bf8..5eb382ec28 100644 --- a/configs/stm32f429i-disco/README.txt +++ b/configs/stm32f429i-disco/README.txt @@ -931,57 +931,63 @@ Where is one of the following: nxwm ---- This is a special configuration setup for the NxWM window manager - UnitTest. The NxWM window manager can be found here: + UnitTest. - nuttx-code/NxWidgets/nxwm + NOTES: + 1. The NxWM window manager can be found here: - The NxWM unit test can be found at: + nuttx-code/NxWidgets/nxwm - nuttx-code/NxWidgets/UnitTests/nxwm + The NxWM unit test can be found at: - Documentation for installing the NxWM unit test can be found here: + nuttx-code/NxWidgets/UnitTests/nxwm - nuttx-code/NxWidgets/UnitTests/README.txt + Documentation for installing the NxWM unit test can be found here: - Here is the quick summary of the build steps (Assuming that all of - the required packages are available in a directory ~/nuttx-code): + nuttx-code/NxWidgets/UnitTests/README.txt - 1. Install the nxwm configuration + 2. Here is the quick summary of the build steps (Assuming that all of + the required packages are available in a directory ~/nuttx-code): - $ cd ~/nuttx-code/nuttx/tools - $ ./configure.sh stm32f429i-disco/nxwm + 1. Install the nxwm configuration - 2. Make the build context (only) + $ cd ~/nuttx-code/nuttx/tools + $ ./configure.sh stm32f429i-disco/nxwm - $ cd .. - $ . ./setenv.sh - $ make context - ... + 2. Make the build context (only) - 3. Install the nxwm unit test + $ cd .. + $ . ./setenv.sh + $ make context + ... - $ cd ~/nuttx-code/NxWidgets - $ tools/install.sh ~/nuttx-code/apps nxwm - Creating symbolic link + 3. Install the nxwm unit test + + $ cd ~/nuttx-code/NxWidgets + $ tools/install.sh ~/nuttx-code/apps nxwm + Creating symbolic link - To ~/nuttx-code/NxWidgets/UnitTests/nxwm - At ~/nuttx-code/apps/external - 4. Build the NxWidgets library + 4. Build the NxWidgets library - $ cd ~/nuttx-code/NxWidgets/libnxwidgets - $ make TOPDIR=~/nuttx-code/nuttx - ... + $ cd ~/nuttx-code/NxWidgets/libnxwidgets + $ make TOPDIR=~/nuttx-code/nuttx + ... - 5. Build the NxWM library + 5. Build the NxWM library - $ cd ~/nuttx-code/NxWidgets/nxwm - $ make TOPDIR=~/nuttx-code/nuttx - ... + $ cd ~/nuttx-code/NxWidgets/nxwm + $ make TOPDIR=~/nuttx-code/nuttx + ... - 6. Built NuttX with the installed unit test as the application + 6. Built NuttX with the installed unit test as the application - $ cd ~/nuttx-code/nuttx - $ make + $ cd ~/nuttx-code/nuttx + $ make + + 3. Performance is not so good in this example configuration because it + uses the slower SPI interfaces. STATUS: 17-01-08: There are instabilities in this configuration that make it diff --git a/configs/stm32f429i-disco/src/stm32_lcd.c b/configs/stm32f429i-disco/src/stm32_lcd.c index 7aa094e57a..581216274b 100644 --- a/configs/stm32f429i-disco/src/stm32_lcd.c +++ b/configs/stm32f429i-disco/src/stm32_lcd.c @@ -170,8 +170,7 @@ ILI9341_MADCTL_LANDSCAPE_BGR | \ ILI9341_MADCTL_LANDSCAPE_MH) -/* - * Portrait: 00000000 / 00001000 / h08 +/* Portrait: 00000000 / 00001000 / h08 * * MY: 0 * MX: 0 @@ -199,8 +198,7 @@ ILI9341_MADCTL_PORTRAIT_BGR | \ ILI9341_MADCTL_PORTRAIT_MH) -/* - * RLandscape: 01100000 / 01101000 / h68 +/* RLandscape: 01100000 / 01101000 / h68 * * MY: 0 * MX: 1 @@ -229,8 +227,7 @@ ILI9341_MADCTL_RLANDSCAPE_BGR | \ ILI9341_MADCTL_RLANDSCAPE_MH) -/* - * RPortrait: 11000000 / 11001000 / hc8 +/* RPortrait: 11000000 / 11001000 / hc8 * * MY: 1 * MX: 1 @@ -463,7 +460,6 @@ FAR struct lcd_dev_s *board_lcd_getdev(int lcddev) return NULL; } - /************************************************************************************ * Name: board_lcd_initialize * @@ -494,8 +490,7 @@ int board_lcd_initialize(void) if (dev) { - /* - * Get a reference to valid lcd driver structure to avoid repeated + /* Get a reference to valid lcd driver structure to avoid repeated * initialization of the LCD Device. Also enables uninitializing of * the LCD Device. */