Commit Graph

354 Commits (c5a86757bd8309027d50f82d8947250c8e1197e6)

Author SHA1 Message Date
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
inmarket 5541e6a96c Nokia6610 streaming driver orientation is NOT supported yet 2013-09-25 17:28:49 +10:00
Petteri Aimonen a8688eef39 Add driver for ED060SC4 e-ink display panel 2013-09-25 17:22:28 +10:00
inmarket 5eabbaf7bf Nokia6610 streaming driver. Orientation not supported yet in this new driver version. 2013-09-25 17:18:18 +10:00
Petteri Aimonen 8940b4872e Add driver for ED060SC4 e-ink display panel 2013-09-24 22:15:55 +03:00
Joel Bodenmann bf3761e0f2 Added ST7565 driver by user sam0737 2013-09-15 00:32:57 +02:00
Joel Bodenmann 05039b6af2 fixed SSD1306 license headers 2013-08-29 01:54:51 +02:00
Joel Bodenmann fa5962eef0 Added SSD1306 driver by user goeck 2013-08-26 00:50:47 +02:00
Joel Bodenmann e3eaad114f added SSD1963 example files 2013-08-03 14:43:41 +02:00
Joel Bodenmann 2ad2bdf06e RA8875 now GOS compatible 2013-07-22 04:27:01 +02:00
Joel Bodenmann 73c5ef26f8 fixed license headers 2013-07-21 22:20:37 +02:00
Joel Bodenmann a675834266 doxygen updates 2013-07-21 22:02:57 +02:00
Joel Bodenmann d98e6c5d0d cleaned up board file mess 2013-07-21 17:42:25 +02:00
Joel Bodenmann b91097e311 RA8875 fix 2013-07-20 00:24:49 +02:00
inmarket 0f3f885e4d RA8875 changes from v1.7 2013-07-19 13:22:42 +10:00
Joel Bodenmann 6107cd7918 Added RA8875 GDISP driver 2013-06-22 03:09:45 +02:00
Mateusz Tomaszkiewicz 129041e791 Various README updates
Changed misleading description.
2013-06-21 00:02:54 +02:00
Mateusz Tomaszkiewicz d57eacc345 SSD2119: FSMC settings tuned
With FSMC BTR timing register settings tuned and DMA on, we get over
10.2 Mpx/s instead of 4.7 Mpx/s.
2013-06-20 22:49:36 +02:00
Mateusz Tomaszkiewicz f820fb90d5 SSD2119: GDISP_USE_FSMC "switch" added
Enable FSMC functions only when GDISP_USE_FSMC is set.
2013-06-18 23:32:22 +02:00
Mateusz Tomaszkiewicz 2a65ea5388 Various readme update
For GDISP drivers SSD2119 & SSD1289.
2013-06-18 23:32:22 +02:00
Mateusz Tomaszkiewicz 767188ed8d SSD2119: make use of DMA
This is mostly a copy from Eddie's work posted here:
http://forum.chibios.org/phpbb/viewtopic.php?f=11&t=851#p11054
No work was done towards making it work as fast as possible.
Tested with:
https://github.com/etmatrix/ChibiOS-GFX-Example/blob/master/bench/main.c
Results show performance of ~5.34 Mpx/s with use of DMA compared to
~4.78 Mpx/s without.
2013-06-18 23:32:22 +02:00
inmarket ed0bac9765 License header updates 2013-06-15 21:37:22 +10:00
Joel Bodenmann f14ed21d5d SSD1289 update by user Eddie 2013-06-04 00:34:47 +02:00
Joel Bodenmann e12a213ff1 doxygen fixes 2013-06-01 01:57:20 +02:00
inmarket 7fbfde42aa GOS module, for operating system independance
GMISC fast floating point trig
GMISC fast fixed point trig
2013-05-25 01:26:52 +10:00
Joel Bodenmann 86951a8b2f Added HX8347D driver by the user Eddie 2013-05-21 00:13:22 +02:00
Joel Bodenmann 6c38d5b310 updated license headers 2013-05-03 16:36:17 +02:00
Joel Bodenmann 296e74f3e0 Revert "updated license headers"
This reverts commit 0a26d9983b.
2013-05-02 01:53:28 +02:00
Joel Bodenmann 0a26d9983b updated license headers 2013-05-02 01:50:09 +02:00
Abhishek Kumar 048a057902 Renamed HVGA_X81 to ILI9481 2013-04-30 17:47:25 +07:00
Abhishek Kumar b2252bb7be New LLD: HVGA_X81
For HVGA : 320 x 480, 16bpp displays,
controlled by ILI9481 or compatible controllers.

* Pixel readback TODO
* Powermodes: Sleep implemented
2013-04-30 17:35:57 +07:00
Joel Bodenmann b2a67d818b some doxygen fixes 2013-04-08 00:24:45 +02:00
Dmytro Milinevskyy e51d3591ad [ILI9320][olimex][pic32] extra dummy read after index write 2013-04-07 06:37:05 +02:00
Dmytro Milinevskyy dc14f8713e [ILI9320] LLD for olimex pic32 demo board 2013-04-05 22:33:52 +02:00
Dmytro Milinevskyy d1448817cd [ILI9325] read LCD version 2013-04-05 22:33:52 +02:00
Dmytro Milinevskyy 2ad62e1ed7 [ILI9320/ILI9325] use correct lld accessor to read the data from the LCD 2013-04-04 23:59:41 +02:00
mobyfab 55d41fe007 SSD1963 - Removed unused function that what using an inline macro. 2013-04-04 19:22:07 +02:00
mobyfab e400fd01e2 SSD1963 Driver - Removed old config files 2013-04-04 16:50:09 +02:00
mobyfab 348868cece Fixed SSD1963 Driver to work with latest GDISP. 2013-04-04 16:47:47 +02:00
Mateusz Tomaszkiewicz 17a17421b4 SSD2119: readme fix 2013-04-04 00:21:10 +02:00
Joel Bodenmann 8b21c08096 ILI9320 fix 2013-04-03 18:02:38 +02:00
Abhishek Kumar 674bcb52d2 GPIO interface-related fixes
Adding acquire_bus() and release_bus()
so that orientation setting commands are
not ignored.
2013-03-30 16:08:47 +05:30
Joel Bodenmann 2510f3e75b board file fix 2013-03-29 18:14:35 +01:00
Joel Bodenmann d6b75429b2 STMPE811 - initial 2013-03-29 18:10:22 +01:00
Mateusz Tomaszkiewicz 15d76cb5fc SSD1289 SSD2119: fixed warning messages
Few type castings in order to suppress warnings (-Wsign-compare):
"comparison between signed and unsigned integer expressions"
"signed and unsigned type in conditional expression"
2013-03-20 22:15:18 +01:00
Joel Bodenmann 88765396bf SSD1963 rework by user: fred 2013-03-14 19:46:40 +01:00
Joel Bodenmann f552098116 embest DMSTF4BB board fix - removed FSMC suffix because only FSMC exists 2013-03-08 09:20:51 +01:00
Andrew Hannam ce5f3b3d70 Nokia6610GE8 driver updates
Fix screen size to ignore hidden pixels.
Add orientation support.
Fix bit blitting boundary conditions.
Add power modes support.
This driver is now fully implemented.
2013-03-08 00:53:34 +10:00
Joel Bodenmann e315480c71 updated copyright - 2013 2013-03-06 23:11:01 +01:00
Joel Bodenmann b91e619573 __inline becomes inline because most compilers dont like the prefix 2013-03-04 23:50:21 +01:00
Andrew Hannam 2d7c95d20a Add PWM backlight control to Nokia6610GE8
Add PWM backlight control to Nokia6610GE8 for the Olimex SAM7EX256
board.
2013-03-04 19:56:46 +10:00
Joel Bodenmann b51342d41c ILI9320 update 2013-03-03 13:46:14 +01:00
Mateusz Tomaszkiewicz 7ba69f556b SSD2119: readme fix 2013-03-02 13:33:19 +01:00
Mateusz Tomaszkiewicz 57f1016573 SSD2119: GPIO board file removal
Removed GPIO board file. It did not work (it wasn't finished nor started
to be honest). It is always possible to make it, general idea is exactly
the same as in SSD1289 driver.
2013-03-02 00:32:51 +01:00
Mateusz Tomaszkiewicz 2bc2dc6f68 SSD2119: updated scroll function name
Changed to new scheme: gdisp_lld_*.
2013-03-01 22:54:52 +01:00
Mateusz Tomaszkiewicz e5543face9 SSD2119: orientation control
All angles supported: 0, 90, 180, 270.
2013-02-28 00:31:46 +01:00
Mateusz Tomaszkiewicz bbdd57d9c1 SSD2119: power control
All modes are working: powerOff, powerOn, powerSleep and powerDeepSleep.
2013-02-25 00:35:13 +01:00
Mateusz Tomaszkiewicz 51b292d3b9 SSD2119: PWM period change
100 kHz PWM period made small induction coil onboard LCD to moan if the
pulse width was smaller than 100%. I changed it to 1MHz.
2013-02-22 00:54:11 +01:00
Mateusz Tomaszkiewicz cec4628a97 SSD2119: backlight control
- Backlight uses PWM on TIM4 CH2.
- Updated readme.
- Updated gdisp_lld.c: moved from lld_gdisp_* to gdisp_lld_* functions
  names format.
- One forgotten GDISP_LLD() macro removal.
- General code cleanup (make diff with -w parameter ;))
2013-02-21 22:46:47 +01:00
Mateusz Tomaszkiewicz d9a92aa30c Merge branch 'master' into SSD2119 2013-02-19 23:30:33 +01:00
Andrew Hannam 9329b22086 Fix compile error in GDISP
Fix compile error with wrongly named include file
Revert lld_gdisp naming convention to gdisp_lld to fix problem and be
consitant with all other low level drivers.
2013-02-18 17:29:08 +10:00
Mateusz Tomaszkiewicz dd79671730 SSD2119: GDISP_LLD() macro removal 2013-02-13 22:02:13 +01:00
Mateusz Tomaszkiewicz e8ce8a36fb Merge branch 'master' into SSD2119 2013-02-13 21:38:31 +01:00
Joel Bodenmann 60b16e8685 more GDISP_LLD() cleanup 2013-02-11 10:26:34 +01:00
Joel Bodenmann 1bfc5a9f85 removed GDISP_LLD() macro - fix 2013-02-11 09:25:45 +01:00
Joel Bodenmann 885b3d53b3 removed GDISP_LLD() macro 2013-02-11 09:25:26 +01:00
Mateusz Tomaszkiewicz c42602375b SSD2119: code & comments cleanup 2013-02-07 16:01:07 +01:00
resset 2de39e3302 SSD2119: reorganization of files
- Added FSMC board file (_fsmc suffix) - working.
- Added GPIO board file (no suffix) - not working.
- Removed unneeded files.
2013-02-07 01:44:00 +01:00