Update README file, comments.
This commit is contained in:
parent
3b1b112153
commit
3deb8eda59
@ -931,57 +931,63 @@ Where <subdir> is one of the following:
|
|||||||
nxwm
|
nxwm
|
||||||
----
|
----
|
||||||
This is a special configuration setup for the NxWM window manager
|
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
|
nuttx-code/NxWidgets/UnitTests/README.txt
|
||||||
the required packages are available in a directory ~/nuttx-code):
|
|
||||||
|
|
||||||
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
|
1. Install the nxwm configuration
|
||||||
$ ./configure.sh stm32f429i-disco/nxwm
|
|
||||||
|
|
||||||
2. Make the build context (only)
|
$ cd ~/nuttx-code/nuttx/tools
|
||||||
|
$ ./configure.sh stm32f429i-disco/nxwm
|
||||||
|
|
||||||
$ cd ..
|
2. Make the build context (only)
|
||||||
$ . ./setenv.sh
|
|
||||||
$ make context
|
|
||||||
...
|
|
||||||
|
|
||||||
3. Install the nxwm unit test
|
$ cd ..
|
||||||
|
$ . ./setenv.sh
|
||||||
|
$ make context
|
||||||
|
...
|
||||||
|
|
||||||
$ cd ~/nuttx-code/NxWidgets
|
3. Install the nxwm unit test
|
||||||
$ tools/install.sh ~/nuttx-code/apps nxwm
|
|
||||||
Creating symbolic link
|
$ cd ~/nuttx-code/NxWidgets
|
||||||
|
$ tools/install.sh ~/nuttx-code/apps nxwm
|
||||||
|
Creating symbolic link
|
||||||
- To ~/nuttx-code/NxWidgets/UnitTests/nxwm
|
- To ~/nuttx-code/NxWidgets/UnitTests/nxwm
|
||||||
- At ~/nuttx-code/apps/external
|
- At ~/nuttx-code/apps/external
|
||||||
|
|
||||||
4. Build the NxWidgets library
|
4. Build the NxWidgets library
|
||||||
|
|
||||||
$ cd ~/nuttx-code/NxWidgets/libnxwidgets
|
$ cd ~/nuttx-code/NxWidgets/libnxwidgets
|
||||||
$ make TOPDIR=~/nuttx-code/nuttx
|
$ make TOPDIR=~/nuttx-code/nuttx
|
||||||
...
|
...
|
||||||
|
|
||||||
5. Build the NxWM library
|
5. Build the NxWM library
|
||||||
|
|
||||||
$ cd ~/nuttx-code/NxWidgets/nxwm
|
$ cd ~/nuttx-code/NxWidgets/nxwm
|
||||||
$ make TOPDIR=~/nuttx-code/nuttx
|
$ 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
|
$ cd ~/nuttx-code/nuttx
|
||||||
$ make
|
$ make
|
||||||
|
|
||||||
|
3. Performance is not so good in this example configuration because it
|
||||||
|
uses the slower SPI interfaces.
|
||||||
|
|
||||||
STATUS:
|
STATUS:
|
||||||
17-01-08: There are instabilities in this configuration that make it
|
17-01-08: There are instabilities in this configuration that make it
|
||||||
|
@ -170,8 +170,7 @@
|
|||||||
ILI9341_MADCTL_LANDSCAPE_BGR | \
|
ILI9341_MADCTL_LANDSCAPE_BGR | \
|
||||||
ILI9341_MADCTL_LANDSCAPE_MH)
|
ILI9341_MADCTL_LANDSCAPE_MH)
|
||||||
|
|
||||||
/*
|
/* Portrait: 00000000 / 00001000 / h08
|
||||||
* Portrait: 00000000 / 00001000 / h08
|
|
||||||
*
|
*
|
||||||
* MY: 0
|
* MY: 0
|
||||||
* MX: 0
|
* MX: 0
|
||||||
@ -199,8 +198,7 @@
|
|||||||
ILI9341_MADCTL_PORTRAIT_BGR | \
|
ILI9341_MADCTL_PORTRAIT_BGR | \
|
||||||
ILI9341_MADCTL_PORTRAIT_MH)
|
ILI9341_MADCTL_PORTRAIT_MH)
|
||||||
|
|
||||||
/*
|
/* RLandscape: 01100000 / 01101000 / h68
|
||||||
* RLandscape: 01100000 / 01101000 / h68
|
|
||||||
*
|
*
|
||||||
* MY: 0
|
* MY: 0
|
||||||
* MX: 1
|
* MX: 1
|
||||||
@ -229,8 +227,7 @@
|
|||||||
ILI9341_MADCTL_RLANDSCAPE_BGR | \
|
ILI9341_MADCTL_RLANDSCAPE_BGR | \
|
||||||
ILI9341_MADCTL_RLANDSCAPE_MH)
|
ILI9341_MADCTL_RLANDSCAPE_MH)
|
||||||
|
|
||||||
/*
|
/* RPortrait: 11000000 / 11001000 / hc8
|
||||||
* RPortrait: 11000000 / 11001000 / hc8
|
|
||||||
*
|
*
|
||||||
* MY: 1
|
* MY: 1
|
||||||
* MX: 1
|
* MX: 1
|
||||||
@ -463,7 +460,6 @@ FAR struct lcd_dev_s *board_lcd_getdev(int lcddev)
|
|||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/************************************************************************************
|
/************************************************************************************
|
||||||
* Name: board_lcd_initialize
|
* Name: board_lcd_initialize
|
||||||
*
|
*
|
||||||
@ -494,8 +490,7 @@ int board_lcd_initialize(void)
|
|||||||
|
|
||||||
if (dev)
|
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
|
* initialization of the LCD Device. Also enables uninitializing of
|
||||||
* the LCD Device.
|
* the LCD Device.
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user