Commit Graph
1158 Commits
Author SHA1 Message Date
mmdolze 27bb3801b2 Add new connection type 'piplate' to the hd44780 driver (by J. Brogdon).
In the documentation replace the list of the connection types for hd44780
driver with the table also used in the configuration options description
(use only a single place to list and link everyting). While there, remove the
assembly code for lcdserializer.
2013-04-07 11:50:29 +00:00
mmdolze 03bc533aff Add support for FreeBSD's iic I2C framework. 2013-04-07 11:45:27 +00:00
mmdolze 099b0c6274 Add more icons and some smaller fixes (by M. T Jones). 2013-03-24 13:59:22 +00:00
mmdolze 1465c1c1d3 Fix description of port range. 2013-03-24 13:56:59 +00:00
mmdolze c23077b722 Raspberry Pi driver:
- Correct check for mmap errors (closes #3604495).
- Add 40x4 support (for displays with two controllers).
- Update the documentation.
2013-02-22 15:20:16 +00:00
mmdolze 96502bcfdf Add 'raspberrypi' connection type to HD44780 driver (by P. Corner). 2013-01-27 11:44:42 +00:00
mmdolze 48b1c1ee40 Replace compiler #pragma with comments. 2013-01-27 11:33:21 +00:00
mmdolze 4ba9de40b1 Fix some compiler warnings by making use of necessaryTimeUnits. 2013-01-19 10:25:04 +00:00
mmdolze 66a860d551 Note some restrictions for controllers featuring extended mode. 2013-01-17 22:15:45 +00:00
mmdolze 37563b5fd7 glcd driver: Add direct support for framebuffer with paged memory layout.
'struct glcd_framebuf' now contains a layout type which can either be
FB_TYPE_LINEAR (this is the default) or FB_TYPE_VPAGED. This actually affects
the drawing function and the frame-buffer memory calculation. A new 'size'
field is added to store the pre-calculated length.

Adopt existing driver to make use of the new feature (currently only glcd2usb
driver).
2013-01-17 21:44:30 +00:00
mmdolze cf96068bef Add a missing reference to the main menu. This fixes building with
--enable-permissive-menu-goto (#3599609).
2013-01-17 21:27:27 +00:00
mmdolze 370926811a Fix a problem when using the left key to change the ring and checkbox menu
items. The old code used modulus which does not give the required result,
for C (ISO 1990) and before the result is implementation defined so may have
worked for some compilers / targets but from C (ISO 1999) onwards the sign
of the result comes from the dividend so will not work. (By M. T. Jones)
2012-12-27 11:49:29 +00:00
mmdolze 7b316f4d96 sed1520 driver: Add an option for inverted segment mapping (idea by R. Buchert) 2012-12-27 11:19:41 +00:00
mmdolze 0fdbf82334 Updated URLs for glcdlib and pyramid drivers. 2012-11-04 10:38:46 +00:00
mmdolze f36642ab69 Fix a segmentation fault occuring when using menu_add_item without a text
label. While there sync code and documentation about the possibility to use
a label and options.
2012-10-10 16:29:39 +00:00
mmdolze 8921af95a6 Fix spelling in comment (by P. Corner). 2012-09-01 21:24:39 +00:00
mmdolze 38c7fb27a3 Fix a few text mistaked discovered during merge. 2012-08-19 14:13:26 +00:00
mmdolze d3d80c1b71 Update dates in preparation of release 0.5.6. 2012-08-19 12:52:33 +00:00
mmdolze ec1cabb7d4 Add the current ideas about pictograms. 2012-07-09 18:27:24 +00:00
mmdolze bfd35b4dfc Extend enumerations with the values used for error handling to silence more
clang warnings.
2012-04-25 19:53:15 +00:00
mmdolze 9e4c082fd0 We used a deprecated style of GNU GCC's designated initializers. Change them
to correct C99 style to fix warnings when building with clang.
Fix some typos in hd44780-serial while being there.
2012-04-25 06:34:36 +00:00
mmdolze 83b68ed09a Work around a change in automake 1.11.3 that does not allow 'pkglibdir' to
be used with 'PROGRAMS' any longer (#3494755).
2012-03-11 10:58:23 +00:00
mmdolze dc49e0a96e hd44780/serial: Add support for adjustable backlight. Solve some possible
problems that may arise by comparing signed and unsigned char values.
2012-03-11 07:32:38 +00:00
mmdolze 1579d452d9 Fix a few compiler warning when compiled with -Wextra. 2012-02-29 23:20:37 +00:00
mmdolze a151ee0fc4 Mega change to the LCDd's header files:
1. Use <stdbool.h> if it is available but keep a compatibility shim in
   shared/defines.h in case it is not.
2. Unbreak the circular header dependencies (mostly):
   2a. client.c and client.h may NOT depend on 'struct Menu'. Use a void pointer
       and casts instead.
   2b. Separate the data type definitions in client.h and screen.h from
       function prototypes which may require other data structures. This makes
       header dependencies much more easy to maintain. Usually the data types
       should have been moved to their own files but I (mmdolze) chose to
       separate them using different header guards.
   2c. Remove many now unused header includes.
Apply (old BSD-) style on menuscreens.c.
2012-02-22 22:25:32 +00:00
mmdolze 5e1edf5b60 Fix Doxygen comments. 2012-02-22 22:07:22 +00:00
mmdolze 4ea3f1cf98 hd44780: Added 'usb4all' connection type for USB-4-all devices (T. Mohaupt) 2012-02-18 15:24:43 +00:00
mmdolze a2083da28f Add sdeclcd driver for Watchguard FireBox appliances (by F. Mertz). 2012-02-01 22:42:59 +00:00
mmdolze 69a6f74c76 hd44780/ftdi: Fix a bug in ftdi_HD44780_backlight() and add backlight
switching capability for 4bit mode. Document the different BL line level
and a small switching circuit for it.
2012-01-02 09:22:30 +00:00
mmdolze 6336c6c99e Fix the last line not being used by custom characters (ID: 3466136). There
was a lastline setting used which was neither initialized nor read from config.
While there, re-comment the file.
2011-12-30 01:08:17 +00:00
mmdolze 2228e05187 Heavily re-comment the hd44780-low.h file. 2011-12-30 00:21:30 +00:00
mmdolze 092236f518 Don't typedef the low-level functions structure. Use struct* the two times
where necessary (this avoids confusing Doxygen as well).
2011-12-30 00:20:32 +00:00
mmdolze 1d47d3abc3 Make the sed1520 driver work in 80-family connection style without requiring
an external inverter.
2011-12-29 17:00:49 +00:00
mmdolze cd22706496 Modify the 't' character that looked a little odd. 2011-12-29 16:56:52 +00:00
mmdolze d7f799285f Add code to use libusb-1.0 asynchronous transfers to fix problem of
occasional missed keys and eliminate use of key_timeout which disrupts the
main loop timing (by M. Jones).
2011-12-10 15:39:46 +00:00
mmdolze 7d4dd740eb Add key pad support to the glcd driver. 2011-12-03 20:10:40 +00:00
mmdolze 3f5d81461a Fix backlight setting. 2011-11-27 10:59:43 +00:00
mmdolze 09251fee8c Add the glcd2usb connection type to the glcd driver. 2011-11-27 10:36:50 +00:00
mmdolze b54ffe59b5 glcd driver: Fix doxygen comments and add a section to the User's Guide. 2011-11-24 07:44:25 +00:00
mmdolze eac9d590a8 glcd driver updates:
1. Remove connection type header files and put prototypes locally and in
   glcd-drivers.h. Don't fall into the pitfall of too many header files again.
2. Create a separate frame buffer structure (this allows easier re-use of
   the frame buffer functions).
3. Add a function to retrieve pixel values from framebuffer.
4. Add the 'serdisplib' connection type.
5. Support display width that are not a multiple of 8 (e.g. 122x32).
2011-11-22 23:14:45 +00:00
mmdolze e45822c37d glcd driver: Implement user selectable cell size (if FreeType enabled), big
numbers using FreeType and 16x24 built-in font. Complete API towards LCDd
and connection types.
2011-11-20 11:15:39 +00:00
mmdolze e907d73588 Link LCDd itself with pthread library if available. This should fix lockups
on the lis and xosd drivers.
2011-11-16 21:06:50 +00:00
mmdolze 77bf952dd2 Change icon handling and charmaps:
* The full block icon now has index 0 and the heart has index 7. This makes
  the full block work if vBar custom chars are loaded (which use index 1-7).
* Prevent (hbar, vbar, bignum) modes from overwriting custom chars (except
  full block).
* Prevent the heartbeat from overwriting custom chars in vbar and bignum mode.
* Make the driver point to 0x1A and 0x1B characters for right/left arrow
  characters (those are the codes from HD44780 A02) and make all charmaps
  pointing to the correct characters.
* It is now possible to map the tilde character.
* Update other drivers that use hd44780-charmap.h (IOWarrior and ula200).
* Replace characters using charmaps on input instead of output!
* Remove some unnecessary comments.
2011-11-15 21:40:23 +00:00
mmdolze 438788e157 Remove commented out custom char definitions for which characters from CGROM
are used. Support the selector at left/right icons with newer firmware.
2011-11-15 19:30:39 +00:00
mmdolze fdbfd335ac Fix mapping of the interpunct. 2011-11-15 19:29:18 +00:00
mmdolze 37b931cef6 Fix prototypes. 2011-11-15 19:28:22 +00:00
mmdolze d864da83f0 Include config.h to make debug() work correctly. 2011-11-15 19:27:38 +00:00
mmdolze 0bdbc5f0cd Cfontz: Fix display of bars and output a warning on startup if driver was
not compiles with SEAMLESS_HBARS (hbars will not display correctly then). Also
update User's Guide.
2011-11-07 20:26:17 +00:00
mmdolze 2e2bb53af8 Add PNG connection type and Freetype 2 font rendering to glcd driver. The PNG
image writer is for debugging only. The Freetype font renderer still misses
some features (e.g. big numbers, character encoding, non-standard cell size).
2011-11-03 22:09:24 +00:00
mmdolze b1e8fa9fb8 Make glcd_icon5x8() not calling back drvthis->chr() as this the call-back
function is not configurable and interferes with the Freetype renderer.
2011-11-03 21:58:17 +00:00