Gregory Nutt
1956f66ee6
apps/examples/pipes: Eliminate some warnings.
2017-11-29 15:19:29 -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
9c69257325
Eliminate some warnings
2017-11-28 12:53:15 -06:00
Alan Carvalho de Assis
9655ab02f7
apps/examples/nunchuck: Add Nunchuck Example Application
2017-11-28 12:18:46 -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
Fabio D'Urso
e414a8f26c
apps/examples: CONFIG_QENCODER was renamed to CONFIG_SENSORS_QENCODER: update README.txt
2017-11-25 18:43:04 -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
f68a44aaea
apps/examples/fb: Add a small delay between updating each rectangular region.
2017-11-25 11:42:10 -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
52dc96e5c3
apps/example/fb: Restores 0205eeef52
. It was correct all along. Also fixes calculation of the end byte position.
2017-11-24 07:10:52 -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
966faf3859
Revert "apps/examples/fb: Fix calculation of a mask value."
...
This reverts commit 0205eeef52
.
2017-11-23 11:39:40 -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
0205eeef52
apps/examples/fb: Fix calculation of a mask value.
2017-11-22 16:14:28 -06:00
Anthony Merlino
4091367401
Merged in antmerlino/apps/i8sak-getset-rxonidle (pull request #124 )
...
i8sak: Adds ability to get/set rxonidle setting for MAC layer
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2017-11-22 21:37:36 +00:00
Anthony Merlino
96acb66d6a
Merged in antmerlino/apps (pull request #123 )
...
i8shark: Adds CONFIG_IEEE802154_I8SHARK_XBEE_APPHDR option to remove XBee's application header before sending to Wireshark. This option will corrupt any traffic received that does not include this application header.
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2017-11-22 21:37:11 +00: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
b3db0c32ec
apps/examples/pdcurses: Eliminate some warnings.
2017-11-19 16:18:32 -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
e33fe59cab
apps/example/pdcurses: Add logic to build one of the several pdcurses demo/test programs
2017-11-18 12:33:10 -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