Commit Graph

421 Commits

Author SHA1 Message Date
inmarket
795b8a5e7d Fix optimization code that broke the SSD1306 for I2C interfaces. 2015-02-06 16:25:16 +10:00
inmarket
ada8d42f33 Updates to TLS8204 driver 2015-02-05 00:19:43 +10:00
inmarket
288a8afb95 Driver bugfix 2015-02-05 00:19:11 +10:00
inmarket
c9f0c1748d Missing definition in driver board template file 2015-02-05 00:18:46 +10:00
inmarket
17cc2d7d5e Missing definition in driver board template file 2015-02-05 00:18:25 +10:00
Joel Bodenmann
d8e46a098d Fixing SSD2119 orientation bug 2015-02-04 14:16:07 +01:00
inmarket
606eeff79f Add TLS8204 monochrome display. Not fully tested yet. 2015-01-27 13:42:46 +10:00
inmarket
fa8167b94d Big file rename to reduce problems with brain-dead IDE's that don't handle project file hierarchies well.
Naming is more consistent with the new scheme.
May affect some third party drivers (header file renames).
2015-01-21 17:26:24 +10:00
inmarket
e5d69abf02 Update SSD1289 and SSD2119 drivers to support using CCM memory for stack when using DMA.
Use GDISP_NO_DMA_FROM_STACK.
2014-12-17 10:49:09 +10:00
inmarket
05354e057d Had to revert the new method of orientation support for SSD1306.
Unfortunately the new method immediately flipped orientation rather than just affecting drawing operations.
As both methods can be supported by the hardware/code we always use drawing only orientation support.
Updated the new fill routine to match.
Also fixed color black bug and moved variable definitions to start of a block as is required by pure C compilers.
2014-12-16 23:07:14 +10:00
ergosys
3811a03239 Merge branch 'master' into ssd1306 2014-12-15 14:00:24 -08:00
inmarket
17b921204c Split SSD1306 spi board example into 2 files.
Revert chibios 3.x use of bool as a base type for bool_t. back to char
bool is available on c++ compilers only!!!!
2014-12-15 18:32:45 +10:00
inmarket
3936c63061 Updates for the EMBEST board and a small fix to the SSD2119 driver. 2014-12-15 18:17:52 +10:00
ergosys
555fda2170 Implement "hardware" fills
Implement hardware fills by drawing on the framebuffer. This provides a
significant performance boost for filled geometric primitives and a
small one for font drawing.  Tested at all orientations.
2014-12-13 15:09:37 -08:00
ergosys
d3b3020a07 use gdispColor2Native to get fill color 2014-12-13 15:09:37 -08:00
ergosys
9618d7917b Partially handle screen rotation using remapping
Use row and column remapping to change either row or column addressing
for each orientation.  This removes the need to reverse the drawing
direction of either x or y in the drawing routines.  However in the 90
and 270 case x and y must still be swapped.

Also, rename the SSD1306 remapping command names so they are more
descriptive.
2014-12-13 15:09:37 -08:00
ergosys
bdfafbcf9f slightly faster flush and clear 2014-12-12 16:21:09 -08:00
ergosys
3b12678e6e add hardware clear 2014-12-12 16:21:08 -08:00
ergosys
96a5f5fbea fix GDISP_ROTATE_270 case 2014-12-12 16:21:08 -08:00
ergosys
a43a9b25f6 add missing bus acquisition 2014-12-12 16:21:08 -08:00
inmarket
599a163181 Spacing, comments and spelling mistakes 2014-11-15 15:19:46 +10:00
inmarket
0d90611c82 SSD1963 driver updates originally by steved 2014-11-15 15:17:28 +10:00
inmarket
f793194e43 Fix GDISP_NEED_CONTROL for the STM32F429i-Discovery board. 2014-11-07 13:06:21 +10:00
inmarket
523730bd08 Cleanups and updates to the STM32F429i-Discovery gdisp driver 2014-11-07 12:05:54 +10:00
inmarket
2284e5e9cf STM32F429i-Discovery board is now a supported board with an example project.
New gdisp driver (currently non-accelerated)
Mouse and other drivers still to come.
The board file is currently ChibiOS specific however the gdisp driver is suitable for any OS.
2014-11-05 19:33:22 +10:00
Joel Bodenmann
3356b5a544 Fixing wrong driver name 2014-10-26 15:18:03 +01:00
inmarket
a40283c92b Replace ChibiOS specific delays with generic uGFX delays in ILI9341 driver 2014-10-07 21:56:27 +10:00
inmarket
7f8e1a7dea Create a readme for the gdisp drivers directory listing what hardware each driver can drive. 2014-09-17 08:45:24 +10:00
inmarket
8c953378ca Doco updates 2014-08-23 13:00:10 +10:00
inmarket
1a495f3013 Rename all driver makefiles to driver.mk 2014-08-22 18:20:02 +10:00
inmarket
117e195354 Update to the SPFD54124B gdisp driver.
Added an example board file for it to the boards/addons/gdisp directory
2014-08-21 09:11:10 +10:00
Joel Bodenmann
d6e57525ff whitespaces 2014-08-20 00:42:19 +02:00
Joel Bodenmann
bf164b4583 added SPFD54124B driver by user shilow 2014-08-20 00:39:52 +02:00
Joel Bodenmann
6ff7d90500 Updating SSD1963 driver 2014-08-08 14:18:07 +02:00
inmarket
0d982a5578 trunet contributed R61505U gdisp driver 2014-07-17 18:17:34 +10:00
Joel Bodenman
2f1af41b27 Merged in pashamray/ugfx/pcf8812 (pull request #14)
fix SPI send data
2014-07-12 11:47:42 +02:00
Paul Shamray
214c2d2d0b Merged master into pcd8544 2014-07-12 11:04:23 +03:00
root
1104638ff0 fix SPI send data 2014-07-12 11:00:39 +03:00
root
94bc703fe2 fix SPI send data 2014-07-12 10:55:42 +03:00
root
1f72ee9f43 driver.mk is missed 2014-07-10 23:16:00 +03:00
root
7f7e2e5e1d fix SPI 2014-07-10 23:07:13 +03:00
Joel Bodenmann
5c8c0c7b36 more whitepsaces 2014-07-09 22:57:57 +02:00
Joel Bodenmann
538f9fcea3 whitespaces 2014-07-09 22:53:01 +02:00
Joel Bodenman
6925b4bfa6 Merged in pashamray/ugfx/pcd8544 (pull request #10)
Driver for PCD8544 controller
2014-07-09 22:33:17 +02:00
root
a3de59d7ad first commit 2014-07-09 22:01:59 +03:00
root
0afcec1ddb finish commit 2014-07-09 21:25:02 +03:00
pashamray
4611a10bc9 README.md 2014-07-07 08:54:14 +00:00
pashamray
f103da84bc README.md 2014-07-07 08:49:57 +00:00
root
b2a8500231 power manager 2014-07-06 21:14:24 +03:00
root
76625b646b fixed orientation 90 degree 2014-07-06 19:56:54 +03:00
root
28f9e7f766 fixed orientation 0 90 180 270 degree 2014-07-06 19:29:50 +03:00
root
71892bf761 fixed height bug and add actual display size 96*65 pixels 2014-07-06 13:57:28 +03:00
root
d8d47f804e work driver pcf8812 2014-07-03 18:13:49 +03:00
root
fd17106f99 work 2014-07-03 00:19:39 +03:00
root
5c421b09f7 edit 2014-07-02 15:05:12 +03:00
pashamray
8e13c10f39 remove not use code 2014-06-18 21:43:14 +03:00
pashamray
a38fd71311 gdisp_lld_PCF8812.c отредактирован онлайн на Bitbucket 2014-06-13 12:05:41 +00:00
p.shamray
f3870ce441 first commit PCF8812 driver 2014-06-12 11:05:53 +03:00
inmarket
285bd0f4d6 GDISP framebuffer driver + an implementation for the linux kernel framebuffer device 2014-05-22 17:21:19 +10:00
Joel Bodenmann
d76104fefe Added ILI93xx drived by user xlh1460 2014-04-24 22:52:37 +02:00
Joel Bodenmann
1454d20f2e Added LGDP4532 display driver 2014-04-17 23:06:45 +02:00
Joel Bodenmann
08e1b0ebc7 Removed the doxygen inside of every driver as doxygen is only meant for highlevel API documentation.
Documenting the drivers interface should be done inside a template driver or the gdisp LLD abstraction.
2014-03-28 19:45:08 +01:00
inmarket
863e5a6b2d Fix 90 and 270 rotations in ILI9320 driver (Thanks jkjk) 2014-03-22 11:12:27 +10:00
inmarket
34818d21e8 Whitespaces 2014-03-22 11:06:52 +10:00
inmarket
712ff73f77 Some fixes for the Nokia6610GE8 display driver 2014-03-20 23:34:37 +10:00
inmarket
c3dcfc5764 A couple of include paths need fixing 2014-02-19 12:25:51 +10:00
inmarket
37966ff16d Integrate the include files with each module. Simplifies structure of code. 2014-02-19 00:36:52 +10:00
inmarket
961b15cafe Remove superfluous driver file 2014-02-19 00:26:15 +10:00
inmarket
23bb9e659a Driver fix 2014-02-16 17:20:31 +10:00
omriiluz
e40375c4f2 Allow for LCD specific configuration -
Bias
Horizontal/Vertical flipping
Page Mapping per hard wiring of the LCD panel
2013-12-14 03:11:48 -08:00
Joel Bodenmann
2e9592c49c removed obsolet file 2013-12-07 15:26:48 +01:00
inmarket
7f1b78a067 Replace color format conversion macros with proper routines to prevent side effects with using the macro.
Also fix a number of compiler warnings.
2013-11-17 23:32:19 +10:00
Joel Bodenmann
bca78196f5 missing semicolon 2013-11-12 20:29:04 +01:00
Joel Bodenmann
da2740b706 merging GDISPStreaming 2013-11-10 21:07:16 +01:00
inmarket
a8e860678d New GDISP now supports multiple controllers with different pixel formats.
You can now have a main color display and a secondary monochrome display.
You can now optionally set GDISP_PIXELFORMAT to any color or grayscale format for your application and the driver will internally convert to the display hardware format.
2013-11-05 19:34:12 +10:00
inmarket
ece5bcd6ab Auto-generate pixel formats using macro's.
Prepare for (but not yet complete) supporting a different high level GDISP pixel format to the low level driver format.
This will be useful in multiple display scenario's where displays have different pixel formats.
2013-11-05 00:36:54 +10:00
inmarket
ffee80299d ILI9341 driver fixes 2013-10-29 01:12:03 +10:00
inmarket
555257933a Clean up the driver directory structure by moving all board specific files into the boards sub-structure. 2013-10-28 20:04:03 +10:00
inmarket
737ac5be97 Create uGFX board directories which include example Makefiles.
Currently only done for the Olimex-SAM7EX256 board.
2013-10-28 19:06:16 +10:00
inmarket
b05a29f830 Rename GDISP driver files to prevent problems when compiling for multiple controllers on platforms that put all generated object files into a single directory. 2013-10-28 11:03:39 +10:00
inmarket
9e5ed28f98 New ILI9341 driver - not working fully yet (some display issues) 2013-10-28 10:48:09 +10:00
Joel Bodenmann
9fa856cdd7 no doxygen for drivers... 2013-10-28 01:07:24 +01:00
Joel Bodenmann
c03add3334 drivers are not supposed to be included in the doxygen docs 2013-10-28 00:46:28 +01:00
Joel Bodenmann
579a780671 Test fix for ILI9320 driver. 2013-10-27 00:09:53 +10:00
Joel Bodenmann
45eb9b0c79 Merge branch 'GDISPStreaming' of bitbucket.org:Tectu/ugfx into GDISPStreaming 2013-10-26 17:51:45 +02:00
Joel Bodenmann
aca01e68a2 whitespaces 2013-10-26 17:51:27 +02:00
Joel Bodenmann
a756806b77 Compile Fix for Nokia6610GE12 2013-10-26 23:29:38 +10:00
inmarket
3a14be55eb Merge branch 'GDISPStreaming' of https://bitbucket.org/Tectu/ugfx into GDISPStreaming 2013-10-26 21:33:20 +10:00
Joel Bodenmann
438f9d895c Merge branch 'GDISPStreaming' of bitbucket.org:Tectu/ugfx into GDISPStreaming 2013-10-26 15:00:28 +02:00
Joel Bodenmann
2112074e79 Nokia6610GE8 compiler warning 2013-10-26 14:59:52 +02:00
inmarket
9f1e371681 Compile fix for GE12 2013-10-26 21:32:55 +10:00
inmarket
1346f48204 Merge remote-tracking branch 'origin/GDISPStreaming' into GDISPStreaming 2013-10-25 14:42:09 +10:00
inmarket
e0b2406da6 Fix SSD1306 driver and board files to allow for seamless transfer of the command byte with the page line data without copying the data on to the stack. 2013-10-25 14:39:56 +10:00
Joel Bodenmann
af3963d341 fixed RA8875 board file for marlin 2013-10-24 14:49:00 +02:00
Joel Bodenmann
f3f7eba73c fixed board file name (all the others are upper case as well) 2013-10-24 14:08:35 +02:00
inmarket
90ad93c41f Updates to SSD1306 driver to raise thread priority during flushing. 2013-10-24 11:59:41 +10:00
inmarket
4a5506df0a Fixes to GDISP for streaming drivers.
Turn optimisation back on for SSD1289 driver
2013-10-24 11:32:46 +10:00
inmarket
5f17570ebc Convert ED060SC4 to new driver format 2013-10-23 01:34:56 +10:00
inmarket
c353b6e9b0 Remove superflous defines 2013-10-23 01:33:43 +10:00
inmarket
92b00e125c Convert ST7565 driver to new driver format. 2013-10-22 19:53:39 +10:00
inmarket
299cb353af Bug fixes to SSD1306. Orientation in all directions is also now supported. 2013-10-22 19:52:54 +10:00
inmarket
5e9e1a36ab Convert SSD2119 to new driver format 2013-10-22 18:38:56 +10:00
inmarket
27b5383c1b Fix typos in drivers 2013-10-22 15:52:31 +10:00
inmarket
22b59b8b4f Test for SSD 1289 driver bug. 2013-10-22 09:19:22 +10:00
Joel Bodenmann
86ae017301 Porting SSD2219 driver - WORK IN PROGRES!!!! 2013-10-21 15:40:40 +02:00
Joel Bodenmann
f285a24a90 SSD1289 fixes 2013-10-21 14:27:29 +02:00
Joel Bodenmann
459fbf6781 fixes 2013-10-21 13:47:59 +02:00
inmarket
4e8d2569d6 Convert SSD1963 driver to new format.
Intergrate the old panel include file into the board file.
2013-10-21 19:38:15 +10:00
inmarket
f4b9f0bcfe Convert SSD1306 driver to new driver format.
This driver requires the new flush operation.
2013-10-21 17:12:48 +10:00
inmarket
1b3297aeae Fix a bug in Contrast handling in the Nokia drivers 2013-10-21 17:11:46 +10:00
inmarket
0698fd28c0 Comment fixes. 2013-10-21 17:11:07 +10:00
inmarket
0535c67eab Add support for a driver private area (as well as a board private area) 2013-10-21 15:13:10 +10:00
inmarket
929dbabf68 Convert S6D1121 driver to new format 2013-10-19 17:58:57 +10:00
inmarket
9a8b5b4163 Fix White spacing 2013-10-19 17:58:18 +10:00
inmarket
6ac1710dc5 Converted TestStub driver to new format. 2013-10-19 16:45:01 +10:00
inmarket
b6986f5b16 Convert Nokia6610GE8 driver to the new format. 2013-10-19 16:33:56 +10:00
inmarket
ad416c32b3 Small fix to the Nokia6610GE12 driver 2013-10-19 16:33:13 +10:00
inmarket
e9895b5d14 Convert Nokia6610GE12 driver to new format. 2013-10-19 15:38:00 +10:00
inmarket
87a6af81f4 Change to gdisp low level driver API. Display number is now in the GDriver structure (It was required for a Nokia driver). 2013-10-19 15:36:05 +10:00
inmarket
443d14c21f Convert driver ILI9481 to new format 2013-10-18 17:29:27 +10:00
inmarket
29cf77746c Fix doxygen comments. 2013-10-18 17:10:15 +10:00
inmarket
668afded53 Convert ILI9325 driver to new format 2013-10-18 17:08:21 +10:00
inmarket
313956b215 Remove incorrect comment. 2013-10-18 17:07:53 +10:00
inmarket
a3714ae7c4 Bug fix ILI9320 driver 2013-10-18 17:07:26 +10:00
inmarket
9eabf4576d Convert ILI9320 driver to new format 2013-10-18 16:45:35 +10:00
inmarket
c9311d9851 Changed board_XXXX_template.h so that it can be directly copied to board_XXXX.h in the project directory and it will compile with stub functions. 2013-10-18 16:44:56 +10:00
inmarket
66d2d27967 Fix compile error 2013-10-18 16:43:09 +10:00
inmarket
c4ae7fd6c8 Convert HX8437D driver to new format 2013-10-18 15:57:13 +10:00
inmarket
257f7364f8 Update some doxygen documentation 2013-10-18 15:56:30 +10:00
inmarket
3cacf9cee2 Remove unnecessary file from RA8875 driver. 2013-10-17 17:38:44 +10:00
inmarket
8210418402 Driver RA8875 converted to new driver format. 2013-10-17 17:33:56 +10:00
inmarket
8fb676f73b Added a post_init_board() routine to SSD1289 to allow bus timings to be changed after controller initialisation is complete. 2013-10-17 17:33:04 +10:00
inmarket
e1744e59ab SSD1289 driver updated for multiple display support 2013-10-17 14:57:47 +10:00
inmarket
d7d02395d0 Updates to ported drivers to support new optimisation method.
Includes Bug fixes.
2013-10-02 16:30:06 +10:00
inmarket
8408e020b4 Compile error fix.
Nokia GE8 - scale contrast correctly.
2013-10-02 00:56:57 +10:00
inmarket
77872d8560 Nokia6610 GE12 driver ported to streaming.
Also added orientation and power control.
Untested.
2013-10-01 21:11:42 +10:00
inmarket
9413f04672 Driver ILI9481 ported to streaming driver 2013-09-30 17:31:58 +10:00
inmarket
7d95523946 ILI9325 driver ported to streaming interface 2013-09-30 17:05:06 +10:00
inmarket
c132a5bb8a Tidy up some code so it looks more standard accross drivers 2013-09-30 17:04:13 +10:00
inmarket
fd01f1a4f3 ILI9320 driver ported to streaming interface. 2013-09-30 16:25:46 +10:00
inmarket
07f96ec3ee HX8347D driver ported to new streaming structure (untested) 2013-09-30 15:41:32 +10:00
inmarket
dd54d42f00 Allow initial driver settings to be overridden by the board file 2013-09-30 15:40:52 +10:00
inmarket
2c11cc3b94 SSD1289 tidy up 2013-09-30 13:39:39 +10:00
inmarket
3480001a79 More orientation fixes for SSD1289.
Orientation is now supported purely in RAM addressing direction which means the orientation of the display can be changed without affecting existing information on the display. Drawing then occurs in the new orientation.
2013-09-30 13:33:35 +10:00
inmarket
fdb74b412a More SSD1289 orientation fixes and tidy-up 2013-09-30 01:21:10 +10:00
Joel Bodenmann
3b1b5a4208 SSD1289 fixes 2013-09-29 18:43:59 +02:00
inmarket
6499da5be3 SSD1289 streaming driver (untested)
X streaming driver (untested)
Nokia6610 fixes
Read pixel streaming support for low level driver.
2013-09-30 00:05:07 +10:00
Joel Bodenmann
ebecc79807 SSD1289 area filling fix 2013-09-28 02:24:09 +02:00
Joel Bodenmann
3b8f14e2c8 SSD1289 Area fill fix 2013-09-28 08:45:46 +10:00
inmarket
c71a227efd Nokia6610 GE8 driver: Orientation support and fixes for some controller nasties 2013-09-27 01:38:37 +10:00