diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2014-07-12 09:45:05 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2014-07-12 09:45:05 -0600 |
commit | 69b52129ceba5237296ad0ba59664b44590cd295 (patch) | |
tree | e2884d30f2b6a70c3fb8274ee3f96fd27f3e2102 /nuttx/configs/sama5d4-ek/README.txt | |
parent | 9565a80fb8b2d64660ba2354b63d69475bfa30e4 (diff) | |
download | px4-nuttx-69b52129ceba5237296ad0ba59664b44590cd295.tar.gz px4-nuttx-69b52129ceba5237296ad0ba59664b44590cd295.tar.bz2 px4-nuttx-69b52129ceba5237296ad0ba59664b44590cd295.zip |
SAMA5D4-EK LCDC: Change source clock to 2*Mck seems to solve stability issues
Diffstat (limited to 'nuttx/configs/sama5d4-ek/README.txt')
-rw-r--r-- | nuttx/configs/sama5d4-ek/README.txt | 156 |
1 files changed, 96 insertions, 60 deletions
diff --git a/nuttx/configs/sama5d4-ek/README.txt b/nuttx/configs/sama5d4-ek/README.txt index d36b4d163..d8b36db7d 100644 --- a/nuttx/configs/sama5d4-ek/README.txt +++ b/nuttx/configs/sama5d4-ek/README.txt @@ -3836,89 +3836,125 @@ Configurations SAMA5 ADC touchscreen controller and provides a more advance graphics demo. It provides an interactive windowing experience. - This configuration is set up generally like the nsh configuration - except that: + NOTES: + + 1. The NxWM window manager is a tiny window manager tailored for use + with smaller LCDs but which is show here on the larger, SAMA5D4-EK + TM7000 LCD. It supports a toolchain, a start window, and + multiple application windows. However, to make the best use of + the visible LCD space, only one application window is visible at + at time. + + The NxWM window manager can be found here: + + nuttx-git/NxWidgets/nxwm + + The NxWM unit test can be found at: + + nuttx-git/NxWidgets/UnitTests/nxwm + + Documentation for installing the NxWM unit test can be found here: + + nuttx-git/NxWidgets/UnitTests/README.txt + + 2. This configuration is set up generally like the nsh configuration + except that: + + - It boots into a graphic, window manage environment instead of + the serial console command line. + - The console command line is still available within NxConsole + windows. + - Obviously, the nx and touchscreen built in applications cannot + be supported. + + 3. NSH Console Access. - - It boots into a graphic, window manage environment instead of - the serial console command line. - - The console command line is still available within NxConsole - windows. - - Obviously, the nx and touchscreen built in applications cannot - be supported. + This configuration boots directly into a graphic, window manage + environment. There is no serial console. Some initial stdout + information will go to the USART3 serial output, but otherwise + the serial port will be silent. - The NxWM window manager is a tiny window manager tailored for use - with smaller LCDs but which is show here on the larger, SAMA5D4-EK - TM7000 LCD. It supports a toolchain, a start window, and - multiple application windows. However, to make the best use of - the visible LCD space, only one application window is visible at - at time. + Access to the NSH console is available in two ways: - The NxWM window manager can be found here: + a. The NxWM provides a graphics-based terminals (called NxConsoles); + The console command line is still available within NxConsole + windows once NxWM is up and running. The console input is still + via stdin (the host terminal window), but console output will go + to the NxConsole terminal. - nuttx-git/NxWidgets/nxwm + NOTES: - The NxWM unit test can be found at: + i) Later I plan to integrate a USB keyboard so that the + console input will come from a keyboard attached to the + SAMA5D4-EK. + ii) It would also not be a difficult task to add a serial console + as part of the NxWM console. That is an option if a serial + console is really necessary but is not currently planned. - nuttx-git/NxWidgets/UnitTests/nxwm + b. Telnet NSH sessions are still supported and this is, in general, + the convenient way to access the shell (and RAMLOG). - Documentation for installing the NxWM unit test can be found here: + As with the NSH configuration, debug output will still go to the + circular RAMLOG buffer but cannot be accessed from a serial console. + Instead, you will need use the dmesg command from an NxConsole or + from a Telnet session to see the debug output - nuttx-git/NxWidgets/UnitTests/README.txt + 4. Here is the quick summary of the build steps. These steps assume + that you have the entire NuttX GIT in some directory ~/nuttx-git. + You may have these components installed elsewhere. In that case, you + will need to adjust all of the paths in the following accordingly: - Here is the quick summary of the build steps. These steps assume that - you have the entire NuttX GIT in some directory ~/nuttx-git. You may - have these components installed elsewhere. In that case, you will need - to adjust all of the paths in the following accordingly: + a. Install the nxwm configuration - 1. Install the nxwm configuration + $ cd ~/nuttx-git/nuttx/tools + $ ./configure.sh sama5d4-ek/nxwm - $ cd ~/nuttx-git/nuttx/tools - $ ./configure.sh sama5d4-ek/nxwm + b. Make the build context (only) - 2. Make the build context (only) + $ cd .. + $ . ./setenv.sh + $ make context + ... - $ cd .. - $ . ./setenv.sh - $ make context - ... + NOTE: the use of the setenv.sh file is optional. All that it + will do is to adjust your PATH variable so that the build system + can find your tools. If you use it, you will most likely need to + modify the script so that it has the correct path to your tool + binary directory. - NOTE: the use of the setenv.sh file is optional. All that it will - do is to adjust your PATH variable so that the build system can find - your tools. If you use it, you will most likely need to modify the - script so that it has the correct path to your tool binaries - directory. + c. Install the nxwm unit test - 3. Install the nxwm unit test + $ cd ~/nuttx-git/NxWidgets + $ tools/install.sh ~/nuttx-git/apps nxwm + Creating symbolic link + - To ~/nuttx-git/NxWidgets/UnitTests/nxwm + - At ~/nuttx-git/apps/external - $ cd ~/nuttx-git/NxWidgets - $ tools/install.sh ~/nuttx-git/apps nxwm - Creating symbolic link - - To ~/nuttx-git/NxWidgets/UnitTests/nxwm - - At ~/nuttx-git/apps/external + d. Build the NxWidgets library - 4. Build the NxWidgets library + $ cd ~/nuttx-git/NxWidgets/libnxwidgets + $ make TOPDIR=~/nuttx-git/nuttx + ... - $ cd ~/nuttx-git/NxWidgets/libnxwidgets - $ make TOPDIR=~/nuttx-git/nuttx - ... + e. Build the NxWM library - 5. Build the NxWM library + $ cd ~/nuttx-git/NxWidgets/nxwm + $ make TOPDIR=~/nuttx-git/nuttx + ... - $ cd ~/nuttx-git/NxWidgets/nxwm - $ make TOPDIR=~/nuttx-git/nuttx - ... + f. Built NuttX with the installed unit test as the application - 6. Built NuttX with the installed unit test as the application + $ cd ~/nuttx-git/nuttx + $ make - $ cd ~/nuttx-git/nuttx - $ make + 5. The NxWM example was designed tiny displays. On this larger 800x480 + display, the icons are too tiny to be usable. I have created a + larger 320x320 logo for the opening screen and added image scaling + to expand the images in the taskbar. The expanded images are not + great. The same problems exist in the application toolbar and in the + start window. These icons are not yet scaled. - NOTE: The NxWM example was designed tiny displays. On this larger - 800x480 display, the icons are too tiny to be usable. I have created - a larger 320x320 logo for the opening screen and added image scaling - to expand the images in the taskbar. The expanded images are not great. - The same problems exist in the application toolbar and in the start - window. These icons are not yet scaled. + I plan to correct these images in the very near future. STATUS: See the To-Do list below |