Commit Graph

331 Commits

Author SHA1 Message Date
Gregory Nutt
c558fce8ad This commit moves the NxWidgets include directories into the correct position in the apps/ source tree.
Squashed commit of the following:

    Clean-up some include path problems introduced with the previous set of changes.

    app/include/graphics, apps/NxWidgets/UnitTests:  Update include paths for file in new location.

    apps/NxWidgets/nxwidgets and nxwm:  Update include paths for file in new location.

    apps/graphics/NxWidgets:  Move nxwidgets and nxwm include/ directories to apps/include/graphics
2018-09-16 17:23:45 -06:00
Gregory Nutt
2a19aab1a5 Eliminate some warnings found in build testing. 2018-09-16 10:11:51 -06:00
Gregory Nutt
cd06134557 graphics/NxWidgets: Fix some issues foundin build testing. 2018-09-16 09:25:32 -06:00
Gregory Nutt
2de0a78202 apps/graphics/NxWidgets: Hooking into build system. 2018-09-16 06:52:25 -06:00
Gregory Nutt
17b69f1515 Directory.mk: If the current directory contains a Kconfig file and MENUDESC is not defined, then Directory.mk must not trash the Kconfig in the current directory. 2018-09-16 06:15:37 -06:00
Gregory Nutt
dfb8359308 apps/graphics/NxWidgets/UnitTests/Makefile: Forget to add file before last commit 2018-09-16 06:00:32 -06:00
Gregory Nutt
07709a11c8 apps/graphics/NxWidgets/UnitTests: Add Unit Test configuration and build logic. 2018-09-15 18:22:56 -06:00
Gregory Nutt
52ac68da04 app/graphics/NxWidgets: Fix-up paths in idempotence definitions of header files. 2018-09-15 16:50:46 -06:00
Gregory Nutt
cb20ed53f3 apps/graphics/NxWidgets: Fix file paths in file headers. Remove some duplicate tools. 2018-09-15 16:46:29 -06:00
Gregory Nutt
76c6c12517 apps/graphics/NxWidgets: Some progress integrating configuration/build system 2018-09-15 16:38:39 -06:00
Gregory Nutt
68877ca48c Merge remote-tracking branch 'apps/NxWidgets' 2018-09-15 15:58:43 -06:00
Gregory Nutt
57bcfdb987 graphics/NxWidgets/.gitignore: Add file lost in the merge 2018-09-15 15:53:29 -06:00
Gregory Nutt
f871cd0911 Move NxWidgets files into graphics/NxWidgets 2018-09-15 15:50:16 -06:00
Gregory Nutt
ec79a44696 Remove old NxWidgets files 2018-09-15 15:38:55 -06:00
Gregory Nutt
c5edf40542 apps/examples/udpblaster: Add option to use poll() on output (only). Also picks up some fixes to various typographical errors. 2018-09-14 06:59:23 -06:00
anchao
b5cfd93444 apps/: Modification to build system: Unified application compilation rules 2018-09-03 09:29:56 -06:00
Xiang Xiao
5304ec5eec Replace all ASSERT calls to DEBUGASSERT 2018-08-24 06:19:35 -06:00
anchao
220653f21c Squashed commit of the following:
Author: anchao <anchao@pinecone.net>

     apps/, most main() function: Correct CONFIG_BUILD_LOADABLE usage
     Loadable apps/: Correct loadable symbol table generate
     apps/system/ubloxmodem:  Fix build break
     apps/examples/ostest: start restart/waitpid/user test from main loop
     apps/nshlib:  Expand reboot and poweroff commands to include a second, optional mode argument

    Author: Gregory Nutt <gnutt@nuttx.org>

     An attempt to fix build issues.  Does not work.
     apps/examples/ostest:  Fix some inappropriate renaming of static functions introduced with recent patches.
     apps/builtin/exec_builtin.c:  Fix a error introduced by recent comments.  Found in build testing.

    Author: anchao <anchao@pinecone.net>

     apps/builtin/exec_builtin.c:  Try posix_spawn if builtin apps do not have have an entry point.
     apps/Application.mk: introduce MODULE config to simplify tristate(m)
     apps/nsh:  Change the nuttx shell module type to tristate
     apps:  Add loadable application support
     script/mksymtab:  Generate symbol table name by default
     apps/builtin:  Allow loadable applications can register with apps/builtin.
2018-08-23 11:06:15 -06:00
Gregory Nutt
2f982e9c77 Revert "Squashed commit of the following:"
This reverts commit 25b92edd9f.
2018-08-22 12:06:32 -06:00
anchao
25b92edd9f Squashed commit of the following:
apps/builtin/exec_builtin.c:  Try posix_spawn if builtin apps do not have have an entry point.
    apps/Application.mk: introduce MODULE config to simplify tristate(m)
    apps/nsh:  Change the nuttx shell module type to tristate
    apps:  Add loadable application support
    script/mksymtab:  Generate symbol table name by default
    apps/builtin:  Allow loadable applications can register with apps/builtin.
2018-08-22 09:30:38 -06:00
Gregory Nutt
a89f0e3a07 Add missing function names in function headers. 2018-08-13 15:52:59 -06:00
Gregory Nutt
a57610c2c4 Remove trailing spaces at the end of lines. 2018-08-13 07:47:26 -06:00
Alan Carvalho de Assis
3cc79be2fb examples/lvgldemo/ and graphics/littlevgl/: pdate LVGL to version 5.1.1 2018-07-19 08:02:25 -06:00
Gregory Nutt
b3f638b40c Squashed commit of the following:
apps/examples/ft80x:  Fix some errors in co-processor demos.
    apps/examples/ft80x:  Correct an error in the spinner demo.
    apps/examples/ft80x:  Change some unimportant warnings to informational output to reducing debug output.
2018-03-10 10:29:10 -06:00
Gregory Nutt
b0a0a39f7a Squashed commit of the following:
apps/examples/ft80x:  Fix some size calculations.  Add option to disable primitive tests... just too boring to have to watch over and over again.
    apps/graphics/ft80x:  Fix a typo in backlight fade logic; Fix error in formmatted display light debug dump output.
    apps/graphics/ft80x:  Fix some warnings when debug features are enabled.
2018-03-09 12:31:29 -06:00
Gregory Nutt
305e470a90 apps/graphics/ft80x: Add controls for enabling/disabling the audio amplifier; Add general interfaces for controlling FT80x GPIOs. 2018-02-27 08:48:15 -06:00
Gregory Nutt
9f6338566f apps/graphics/ft80x: Add basic support for GPIO and configuration for eventual support of FT80x GPIO audio shutdown controls 2018-02-26 19:08:24 -06:00
Gregory Nutt
685d379542 apps/graphics/ft80x: Add interface to play midi sounds; apps/examples/ft80x: Add an example using stencils. 2018-02-26 15:26:11 -06:00
Gregory Nutt
9d2b92d75d apps/graphics/ft80x: Audio buffer size/offset is now configurable. 2018-02-26 09:58:52 -06:00
Gregory Nutt
d47f474ed6 apps/graphics/ft80x: Fix some circular buffer management logic. 2018-02-26 08:59:41 -06:00
Gregory Nutt
cdfd5afb33 apps/graphics/ft80x: Simplify some interfaces. 2018-02-25 20:26:24 -06:00
Gregory Nutt
621f2f5e83 apps/graphics/ft80x: Fix an incorrect size adjustment. 2018-02-25 18:39:39 -06:00
Gregory Nutt
cccac4932b apps/graphics/ft80x and apps/examples/ft80x: Fix some compile issues with other configuration options are selected. 2018-02-25 18:24:13 -06:00
Gregory Nutt
e734ab1b36 apps/graphics/ft80x: Add 'prototype' quality logic for playing audio files. 2018-02-25 17:14:07 -06:00
Gregory Nutt
4eeadd7b5d apps/graphics/ft80x: Ooops 5 touch points, not 4. apps/examples/ft80x: Re-order to some tests. 2018-02-25 11:45:56 -06:00
Gregory Nutt
e15526f683 apps/graphics/ft80x: Add more touchscreen interfaces. apps/examples/ft80x: Add an interactive example using buttons, keys, and touchscreen input. 2018-02-25 11:20:39 -06:00
Gregory Nutt
9095bd4f1b apps/graphics/ft80x: Add interfaces to control the backlight. apps/examples/ft80x: Fade the display on and off between each example. 2018-02-23 10:49:38 -06:00
Gregory Nutt
4f6984d714 apps/graphics/ft80x: Add capabilitilies to send commands to the co-processor outside of the context of a display list. apps/examples/ft80x: Add another copressor example.. spinner animation. 2018-02-22 10:01:50 -06:00
Gregory Nutt
a0a16e2ec8 apps/graphics/ft80x: Correct time units in usleep call. 2018-02-22 06:30:54 -06:00
Gregory Nutt
5945a09d6d Correct misplaced right bracket 2018-02-22 01:44:08 +00:00
Gregory Nutt
2436e3f85a apps/graphics/ft80x: Add routine to wait for logo animation to complete. apps/examples/ft80x: Add more graphic demonstrations. 2018-02-21 19:17:28 -06:00
Gregory Nutt
a7356b34de Kconfig: Fix a typo in range. range 1 31, not range l 31 2018-02-21 17:47:09 -06:00
Gregory Nutt
157da4f1ab apps/graphics/ft80x: Add support for reading/writing multiple registers. Add interface to obtain the touchscreen transform matrix. apps/examples/ft80x: Add more co-processor demos. 2018-02-21 11:50:06 -06:00
Gregory Nutt
189996add6 apps/graphics/ft80x: Fix a few problems when debug output is enabled. 2018-02-21 06:56:29 -06:00
Gregory Nutt
a2b232f832 Squashed commit of the following:
apps/examples/ft80x:  Add another co-processor demo
    ft80x: Add a few more debug message.
2018-02-20 18:46:17 -06:00
Gregory Nutt
ecfdf073fc Squashed commit of the following:
apps/graphics/ft80x:  Replace polling logic with gentler signal logic when waitinf for the CMD FIFO to become empty.
    apps/examples/ft80x:  Add first co-processor example.
    apps/graphics:  Extend library to manage display lists either in display memory (RAM DL) or provided directly to th co-processor FIFO (RAM CMD).
    apps/examples/ft80x:  Some minor clean-up.  Trivial changes for coprocessor support.
2018-02-20 15:23:05 -06:00
Gregory Nutt
64a4622437 apps/graphics/ft80x and apps/examples/ft80x: Fix a few compile-relate issues introduced with last merge. 2018-02-19 13:22:23 -06:00
Gregory Nutt
7c9f8ef9eb Squashed commit of the following:
apps/graphics/ft80x:  Add support for accessing graphics ram.  apps/examples/ft80x:  Add more primitive graphics demos.
    apps/examples/ft80x:  Add a couple more demos of primitives.  Use new ft80x_dl_create() to simplify.
    apps/graphics/ft80x:  Add ft80x_dl_create() which simplies writing of very simple display lists.
2018-02-19 13:14:16 -06:00
Gregory Nutt
5dd5908d86 apps/graphics/ft80x: Add register access helpers. 2018-02-18 13:36:08 -06:00
Gregory Nutt
7d245e4b79 apps/graphics/ft80x: Need to include errno.h. 2018-02-18 12:39:58 -06:00
Gregory Nutt
62d6843cb3 apps/graphics/ft80x: Add the beginning of FT80x support library. So far consists only of some display list helpers. 2018-02-18 10:12:53 -06:00
Gregory Nutt
8eb4946e69 apps/graphics/littlevgl/Makefile: Fix a dependency timestamp problem. 2018-01-18 12:50:20 -06:00
Gregory Nutt
157e59b004 apps/examples/lvgldemo: Can no call boardctl() to initialize graphics hardware if needed. 2018-01-18 07:12:31 -06:00
Gregory Nutt
29072596c3 Update apps/graphics/NxWidgets/Kconfig 2018-01-17 09:32:55 -06:00
Alan Carvalho de Assis
f2028411bf Squashed commit of the following:
apps/examples/lvgldemo:  Fix up some include paths
    apps/examples/lvgldemo:  The last final now conforms to the NuttX coding style.
    apps/graphics/littlevgl:  Two more files are closer to the NuttX coding style.
    apps/graphics/littlevgl:  Two more files are closer to the NuttX coding style.
    apps/examples/lvgldemo:  Three more files are closer to the NuttX coding style.
    apps/examples/lvgldemo:  Two more files are closer to the NuttX coding style.
    apps/examples/lvgldemo:  Two more files are closer to the NuttX coding style.
    Add include/graphics/.gitignore
    apps/include/graphics:  Remove lvgl.h.  graphics/littlevgl/Makefile now copies the file into position.
    apps/graphics/littlevgl:  Add .gitignore file
    apps/graphics/littlevgl:  Most of these files follow the coding style now.
    apps/graphics/littlevgl:  This gets a couple of files closer to the NuttX coding style.
    apps/examples/lvgldemo:  Add lvgldemo example
    apps/graphics/littlevgl:  Add littlevgl library
2018-01-16 15:35:55 -06:00
Gregory Nutt
767ca03b10 apps/graphics/pdcurs34: Remove EXPERIMENTAL from configurations with BPP < 8 bits. 2017-12-03 17:24:27 -06:00
Gregory Nutt
46c10c46f7 apps/graphics/pdcurs34: For BPP < 8 case, correct some index and masking of final unaligned bytes. Also corrects units used in some X conversions. Need units of pixels, not characters 2017-11-29 19:14:10 -06:00
Gregory Nutt
42f66e6e3c apps/graphics/pdcurs34: Correct logic that sets the font buffer to the background color for the case of BPP < 8. 2017-11-29 08:49:24 -06:00
Gregory Nutt
eabd5eeb9b apps/graphics/pdcurses: Cast to uin16_t before shifting uint8_t value. 2017-11-28 14:44:24 -06:00
Gregory Nutt
b749a2a35f apps/graphics/pdcurses: Numerous fixes to effor to get support for 1 BPP framebuffer working. 2017-11-28 11:21:15 -06:00
Gregory Nutt
cab8363d44 apps/graphics/pdcurses: Fix some miscellaneous, harmless typos and standard violations. 2017-11-27 17:31:22 -06:00
Gregory Nutt
2c3042766d Merged pdcurses into master
* apps/graphics/pdcurs34: Initial steps to support less than 8-pixel fonts on less than 8-bit display

* pdcscrn.c edited online with Bitbucket

* apps/graphics/pdcurs34: Calculation of font buffer stride must depend on the configured BPP.

* apps/pdcurs34:  Rearrange some things so that there is slightly less conditional compilation.

* apps/pdcurs34:  Fix a misnamed label; add first cut at function to copy a font into the font buffer; Make better use of macros to reduce code complexity.

* apps/graphics/pdcurses:  Fix a few compile issues with last commit.
2017-11-27 16:23:46 -06:00
Gregory Nutt
efcbb38663 apps/graphics/pdcurs34: Add some convenience definitions. 2017-11-27 06:49:38 -06:00
Gregory Nutt
7081f33ec3 apps/graphics/pdcurses: Fix a typo in a function name 2017-11-26 15:33:54 -06:00
Gregory Nutt
000b52c668 Fix typos in Kconfig files: LCD_PACKEDMSFIRST, not LCD_PACKEDFIRST. 2017-11-26 07:56:16 -06:00
Gregory Nutt
e5ebcddc23 apps/graphics/pdcurs34: Fix LCD display updates... The x and y offsets were being added twice. 2017-11-26 06:09:06 -06:00
Gregory Nutt
9246d03ebd apps/graphics/pdcurses: Fix some display update calculations. 2017-11-25 18:05:07 -06:00
Gregory Nutt
1fbf30e6fe apps/graphics/pdcurses and apps/examples/fb: Both assume that bits are packed MS first. 2017-11-25 13:14:28 -06:00
Gregory Nutt
f42031e65b apps/examples/pdcurses: Add a very simple example that just shows the entire character set (7-bit only). It adapts to the size of the framebuffer and, hence, can be used with very tiny displays. In fact it looks really dumb on big displays. 2017-11-24 09:46:58 -06:00
Gregory Nutt
28f5176a0d apps/graphics/pdcurs34: Fix a bad copy-paste error introduced in last commit. 2017-11-24 08:45:40 -06:00
Gregory Nutt
18a5e074e7 apps/graphics/pdcurs34: Fixes calculation of the final byte position of the case of BPP < 8. 2017-11-24 07:17:10 -06:00
Gregory Nutt
0d4fe9518a NxWidgets: Move from apps/NxWidgts to apps/graphics/NxWidgets 2017-11-24 05:56:51 -06:00
Gregory Nutt
067c14ee05 apps/graphics/pdcurs34: When clearing screen, width calculation should round up for any fractional bytes. When pdcurses is closed, forgot to close the djoystick driver. 2017-11-24 05:45:06 -06:00
Gregory Nutt
a2ee61a124 apps/graphics/pdcurs34: Simply and combine some logic. 2017-11-23 16:31:37 -06:00
Gregory Nutt
421b3009e3 apps/graphics/pdcurs34: Correct logic that clears the screen. For the casee of BPP < 8, it was writing beyond the end of the framebuffer and clobbering things. 2017-11-23 09:30:14 -06:00
Gregory Nutt
611a0e4a79 apps/graphics/pdcurs34: Need to include errno.h in one file when PDC_DEBUG is enabled. 2017-11-23 08:42:03 -06:00
Gregory Nutt
dca1a3a01e Trivial: Fix some typos in comments and debug output. 2017-11-23 07:33:26 -06:00
Gregory Nutt
0861f821fb apps/graphics/pdcurs34: Monochrome/greylevel framebuffer support is now code complete, but untested. Also added support for Y2 and Y2 color formats. 2017-11-22 15:35:38 -06:00
Alan Carvalho de Assis
f20015b164 apps/graphics/pdcurs34: Fix missing ; typo in last commit 2017-11-22 10:47:03 -06:00
Gregory Nutt
56a7ded061 apps/graphics/pdcurses: Fix type used in last commit. 2017-11-22 09:03:44 -06:00
Gregory Nutt
691a22fc08 apps/graphics/pdcurses: Eliminate some redundant calculations. 2017-11-22 09:02:49 -06:00
Gregory Nutt
24dc1b42e4 apps/graphics/pdcurs34: Add support for greylevels vs. RGB. 2017-11-22 08:38:10 -06:00
Gregory Nutt
49dab79a30 apps/pdcur34: Define pdc_color_t based on pixel depth, not on specific color format. 2017-11-22 07:22:03 -06:00
Gregory Nutt
63e3af2d62 apps/graphics/pdcurs34: Fix or remove monst #warning's 2017-11-21 08:18:21 -06:00
Gregory Nutt
678af717c8 apps/graphics/pdcurses: Need to set the global COLORS or else all displays on monochrome. 2017-11-20 15:23:27 -06:00
Gregory Nutt
b346d1d6eb apps/graphics/pdcurses: Add support for discrete joystick input. This is sufficient to get through all menuing tests that do not require text input. 2017-11-20 14:17:45 -06:00
Gregory Nutt
6eae5e0c4c apps/graphics/pdcurs34: Clear the framebuffer when it is initialized. 2017-11-20 08:18:36 -06:00
Gregory Nutt
4eac495713 apps/pdcurses/: Fix a few more bugs found in testing; apps/examples/pdcurses: Brings in the remaining pdcurses demo programs. 2017-11-19 16:14:55 -06:00
Gregory Nutt
42bb5643bf Squashed commit of the following:
apps/graphics/pdcur34:  Various fixes from initial testing.  Still does not work

    apps/graphics/pdcurs34/nuttx:  Completes first cut at framebuffer rendering logic.
2017-11-19 13:35:20 -06:00
Gregory Nutt
ad54b77f33 apps/graphics/pdcurs34: Add NuttX framebuffer color managment and beginning of some rendering logic. 2017-11-18 19:30:19 -06:00
Gregory Nutt
65555542e5 apps/graphics/pdcurs34/nuttx: Add framebuffer initialization logic. 2017-11-18 15:27:12 -06:00
Gregory Nutt
7664889170 apps/graphics/pdcurs34: Extend configuration to select the font size. 2017-11-18 12:11:02 -06:00
Gregory Nutt
eb065a756e apps/examples/pdcurses: Bring pdcurses demos and make them conform to the NuttX coding style (not yet hooked into the build system). 2017-11-17 18:23:23 -06:00
Gregory Nutt
25e4f6b57b apps/graphics/pdcurses: Add dummy files with placeholders for the logic that needs to be implemented to integrated pdcurses with NuttX. 2017-11-17 14:50:10 -06:00
Gregory Nutt
69bea27b20 Remove some dangling whitespace at the end of lines. 2017-11-17 13:23:02 -06:00
Gregory Nutt
7ba2110c83 apps/graphics/pdcurs34: This commit brings the basic public domain pdcurses library into NuttX. This library is complete but not yet usuable because it still requires the NuttX interfacing code needed hook pdcurses into the NuttX graphics drivers. Also test cases are needed to verify the pdcurses integration. 2017-11-17 13:12:59 -06:00
Gregory Nutt
4bff47a80f graphics/traveler: Conver to use the framebuffer driver. 2017-10-16 07:13:38 -06:00
Gregory Nutt
90d4cf6ede This removes the last traces of single-user mode. 2017-10-15 09:36:55 -06:00
Gregory Nutt
47dabf17aa graphics/traveler: Restore most of what was removed in the previous commit. That non-standard logic is currently needed by the simulation. It should be replaced with use of a framebuffer driver. 2017-10-14 12:25:41 -06:00
Gregory Nutt
fda6713854 graphics/traveler: No longer supports single user graphics mode. 2017-10-14 11:51:58 -06:00