Commit Graph

448 Commits

Author SHA1 Message Date
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
resset
e097426338 SSD2119: first working version of driver
It is a mix of barely changed few drivers already present in ChibiOS/GFX
project. No other routines than initialization ones were changed.
Properly displays "basics" demo.

Main features and changes:
- Based on SSD1289 and SSD1121 in FSMC mode.
- Uses FSMC module. Maybe oneday I will make GPIO version.
- LCD backlight PWM input is tied high (no timer yet).
- Added ssd2119.h with SSD2119 registers' addresses.
- Updated set_cursor and set_viewport functions. Not thoroughly tested,
  however.
- Rewritten GDISP_LLD(init)(void) function.
2013-02-05 23:39:48 +01:00
resset
cb81a0f3fc SSD2119: created board file
Created board support file for Embest DM-STF4BB board with DM-LCD35RT
LCD module. You simply plug STM32F4DISCOVERY into it.
2013-01-26 22:57:39 +01:00
resset
5e40c336f2 initial commit: copy sources from SSD1289
I started project of new driver: SSD2119. This work is based on SSD1289.
I don't know exactly if this one is the most similar to my one. It's
just an experiment. There is no accompanying board file of any flavor,
but the hardware lying on my desk is Embest DM-STF4BB with DM-LCD35RT
LCD module.

Changes already made:
- Copied entire drivers/gdisp/SSD1289 directory into
  drivers/gdisp/SSD2119.
- Changed every occurrence of "SSD1289" to "SSD2119" in each source
  file.
2013-01-26 21:53:16 +01:00
Joel Bodenmann
dae721900b small doxygen fixes 2013-01-11 19:39:36 +01:00
Joel Bodenmann
7a66e63849 cleanup 2013-01-03 18:06:48 +01:00
Joel Bodenmann
7dec36d56d added ILI9325 driver. Thanks to Chris van Dongen aka _Sjaak 2013-01-03 16:20:52 +01:00
Andrew Hannam
5bdab7a8a8 Fixes for the SSD1289 driver
Put aquire_bus() and release_bus() in the right place in the control
routine.
Simplify reset_viewport().
A couple of other simple tidyups.
2012-12-20 18:33:43 +10:00
etmatrix
3c1d87ee4f - clear function: moved call to reset_viewport after aquire_bus, so LCD receive the new viewport
- control function: added call to acquire_bus and release_bus
2012-12-17 22:15:18 +01:00
Joel Bodenmann
f115d43753 SSD1289 calibration clear fix 2012-12-17 22:33:00 +01:00
Joel Bodenmann
69c2c7ef91 dirty dirty dirty very very dirty reset_viewport for mouse calibration fix 2012-12-17 00:27:01 +01:00
Joel Bodenmann
d47cf26d31 SSD1289 reset_viewport quick fix 2012-12-17 00:16:15 +01:00
Andrew Hannam
07f3483535 Restructure
Create global include file called gfx.h which knows about sub-system
dependancies.
Deprecate Touchscreen (GINPUT touch is now working properly)
Merge Graph into GWIN
Change directory structure to reflect sub-system structure
Many small bugs fixed
Split Nokia6610 gdisp driver into GE8 and GE12 controller versions
Fixed broken demos.
GFX sub-systems are now clearly defined and new ones should be much
easier to add.
2012-12-06 18:45:54 +10:00
Joel Bodenmann
537f76bedf ILI9320 fix 2012-12-02 16:06:15 +01:00
Joel Bodenmann
7b2e0d06d4 ILI9320 landscape mode 2012-11-28 22:40:23 +01:00
Joel Bodenmann
fa82491a0b ILI9320 fix 2012-11-27 23:11:34 +01:00
Joel Bodenmann
e6bb13be05 copyright header fixes... 2012-11-26 23:38:11 +01:00
Andrew Hannam
8275c8820f Ginput and structure changes
GINPUT Touch including drivers
GTIMER fixes
GEVENT fixes
GWIN button completion
Structure changes to better seperate sections of a sub-system
2012-11-26 18:45:26 +10:00
Joel Bodenmann
b724f40c3f S6D1121 doxygen 2012-11-23 09:08:51 +01:00
Joel Bodenmann
f82865b88b SSD1289 firebull doc 2012-11-22 21:15:49 +01:00
Joel Bodenmann
437134eb38 SSD1289 - firebull update 2012-11-22 21:12:43 +01:00
Joel Bodenmann
971c9fd0d9 S6D1121 macro fix 2012-11-22 21:23:38 +01:00
Joel Bodenmann
0ef5bf9dfc ported S6D1121 driver 2012-11-22 21:21:34 +01:00
Joel Bodenmann
ffde888bc0 SSD1289 fix 2012-11-21 10:20:28 +01:00
Joel Bodenmann
b77d45350f SSD1289 fix 2012-11-20 23:30:27 +01:00
Joel Bodenmann
a734b10c41 typo fix: aquire_bus -> acquire_bus 2012-11-20 18:56:26 +01:00
Joel Bodenmann
9f2a7c36d9 replaced get_bus by aquire_bus 2012-11-19 21:55:08 +01:00
Joel Bodenmann
8515ed53f5 more SSD1289 and touchscreen workaround 2012-11-17 14:05:23 +01:00
Joel Bodenmann
04cb37f834 SSD1289 fix 2012-11-17 13:52:33 +01:00
Joel Bodenmann
4119264fd6 SSD1289 fix 2012-11-17 13:43:23 +01:00
Andrew Hannam
bbb2d434c4 gdisp Nokia and SSD1289 updates
Convert SSD1289 to use board files.
Update Nokia driver to use short names in the board files.
Full expanded names are not needed as they are all static inline
routines.
2012-11-17 18:11:05 +10:00
Joel Bodenmann
b876f0fd52 removed obselete GDISP_USE_SPI macro in olimex SAM7EX256 board file for Nokia6610 driver 2012-11-16 09:09:50 +01:00
Andrew Hannam
e34ebdcae5 Updates to gdisp Nokia driver
For gdisp Nokia driver
- Add get_bus and release_bus into the board interface definition
- Tidy the code up for readability using some macros.
2012-11-15 15:31:22 +10:00
Andrew Hannam
4d521cff13 Gdisp lld driver corrections
Corrections to Nokia gdisp driver
- Fix for the application calling the unsupported gdispSetOrientation
and gdispSetPower
- Implemented full backlight control (on/off only currently)

Corrections to the Ili9320 driver
- Fix for the application calling the unsupported gdispSetOrientation
- Fix for initialisation of the backlight
- Fix for backlight when using display low power modes.
2012-11-15 02:55:21 +10:00
Joel Bodenmann
903adb1c24 ILI9320 update 2012-11-13 23:59:45 +01:00
Joel Bodenmann
a95c4933c4 Backlight fix 2012-11-13 23:54:50 +01:00
Joel Bodenmann
6d18ad18c3 typo fix 2012-11-13 23:47:48 +01:00
Joel Bodenmann
4467b814f2 implemented contrast and backlight functions for GDISP. Implemented those into ILI9320 2012-11-13 23:31:21 +01:00
Joel Bodenmann
2a01ab6762 typo 2012-11-13 12:37:25 +01:00
Joel Bodenmann
93901d8f17 ILI9320 update 2012-11-12 23:56:09 +01:00
Joel Bodenmann
f66e79b648 new ILI9320 driver - please use as template 2012-11-12 23:51:20 +01:00
Andrew Hannam
67ae847970 Win32 orientation & gwin console line clear fixes
Fixes to Win32 orientation for scrolling
Improve the way line clearing is handled in gwin consoles.
2012-11-12 18:49:47 +10:00
Andrew Hannam
014330d3a0 gdisp Win32 Orientation support. Revert Macro
gdisp Win32 orientation support.
Revert to producing an error if GDISP_NEED_TEXT is not defined when
GWIN_NEED_CONSOLE or GWIN_NEED_BUTTON is defined.
2012-11-12 17:00:26 +10:00
Joel Bodenmann
ed73471f99 removed false ILI9320 code 2012-11-12 02:51:06 +01:00
Joel Bodenmann
7ccd3da85f implemented power modes for ILI9320 2012-11-12 02:35:06 +01:00
Joel Bodenmann
0e6ddaf7ff added ILI3920 orientation dummies 2012-11-11 18:56:30 +01:00
Joel Bodenmann
eb6e5760fc added ILI9320 driver - not finished yet, but working 2012-11-11 18:20:23 +01:00
Andrew Hannam
8b51bcf46f Touch Fixes. Deprecate Console
Touch:
- Move defines that may be altered by the touch config file to the lld
header file.
- Move the definition of the Touch driver structure to the lld config
file.
- Changed CONVERSIONS macro to TOUCHSCREEN_CONVERSIONS
- Replaced references to GDISP_SCREEN_WIDTH with gdispGetWidth
- Renamed TOUCHSCREEN_HAS_IRQ to TOUCHSCREEN_HAS_PRESSED to match new
function name.
- Added prototypes for calibration storage functions to
touchscreen_lld.h so that either the lld driver or the application can
define the function.

Console:
-Deprecated into "old" directory. Functionality replaced by gwin.
2012-11-11 19:03:30 +10:00
Joel Bodenmann
5a5db64288 renamed tsIRQ() into tsPressed() 2012-11-10 16:46:02 +01:00
Andrew Hannam
77e1371b86 Added touch to gdisp Win32 driver
GDISP Win32 driver:
Fixed a window sizing bug
Added hardware scroll support
Added touchscreen integrated driver into this driver
2012-11-10 17:45:53 +10:00
Joel Bodenmann
17857d6e97 big doxygen update - now it works as it should 2012-11-07 01:47:53 +01:00
Joel Bodenmann
5b7b4c2db6 moar docs 2012-11-03 02:28:02 +01:00
Joel Bodenmann
75de4fe1db docs 2012-11-03 02:23:34 +01:00
Joel Bodenmann
1294824260 moar doxygen fixes 2012-11-02 20:26:06 +01:00
Andrew Hannam
9fcff16f7e Fixes to gdisp Win32 driver
Fixes to gdisp Win32 driver. This is now fully operational.
2012-10-28 16:24:13 +10:00
Andrew Hannam
b051ab8ef7 Fixes to Nokia6610 driver, add Win32 driver
Fix errors that crept in recent macro changes to the Nokia6610 driver.
Removed some redundant code from Nokia6610 driver now that it is
functional for the GE8 controller.
Add Win32 driver. Untested at present as ChibiOS Win32 compile appears
broken.
2012-10-27 16:04:24 +10:00
Joel Bodenmann
e0c8011553 graph grid drawing fix 2012-10-24 16:38:43 +02:00
Joel Bodenmann
216c5471ca Revert "S6D1121 FSMC timing cleanup"
This reverts commit e46b6b6024.
2012-10-23 18:05:34 +02:00
Joel Bodenmann
e46b6b6024 S6D1121 FSMC timing cleanup 2012-10-23 17:59:31 +02:00
Joel Bodenmann
8da73efced SSD1289 setViewPort bugfix 2012-10-23 02:34:20 +02:00
Joel Bodenmann
be15a90885 whitespaces 2012-10-23 01:14:25 +02:00
Joel Bodenmann
5f4ff22707 SSD1289 FSMC fix - thanks to Mobyfab 2012-10-22 17:48:40 +02:00
Joel Bodenmann
8b29fb3064 GPIO interface rename -> http://chibios-gfx.com/blog/96-renamed-gpio-interface 2012-10-21 02:11:27 +02:00
Joel Bodenmann
7b277edc59 renamed macros 2012-10-21 01:47:11 +02:00
mobyfab
3d87df4383 F2/F4 FSMC support for SSD1289 2012-10-17 19:12:33 +02:00
Joel Bodenmann
830fa4b755 #error optimization 2012-10-13 19:11:37 +02:00
Joel Bodenmann
cf1a759ad6 SCREEN_WIDTH and SCREEN_HEIGHT renamed to GDISP_SCREEN_WIDTH and GDISP_SCREEN_HEIGHT 2012-10-11 01:41:18 +02:00
Joel Bodenmann
19afa19bd3 SSD1289 cleanup 2012-10-10 10:35:17 +02:00
mobyfab
52e9fb7d59 Merge branch 'master' of https://github.com/Tectu/ChibiOS-GFX 2012-10-06 14:37:13 +02:00
Kumar Abhishek
e74e2e1e32 S6D1121 Orientation-related fixes
S6D1121 set cursor and set viewPort functions validated.
GPIO interface readback shall be included in the next commit.
2012-10-06 00:38:34 +05:30
Joel Bodenmann
643983c0b6 SSD1289 fix 2012-10-05 22:45:43 +02:00
mobyfab
142ee8f26d Updated SSD1963 default rotation. 2012-10-05 16:27:50 +02:00
Joel Bodenmann
1ccb7f4660 rename of orientation 2012-10-05 09:20:39 +02:00
Joel Bodenmann
ec637ad2df Revert "rename of orientation"
This reverts commit d6b17a1573.
2012-10-05 09:12:57 +02:00
Joel Bodenmann
d6b17a1573 rename of orientation 2012-10-05 09:09:59 +02:00
Joel Bodenmann
27276101ee Makefile LCD replaced with GFX 2012-10-04 09:09:03 +02:00
Joel Bodenmann
30d03a620c replaced every LCD_XXX macro with GDISP_XXX 2012-09-29 20:56:30 +02:00
Joel Bodenmann
5fc59f35f9 SSD1289 fix 2012-09-28 19:55:32 +02:00
Joel Bodenmann
1003c37e0b cleanups 2012-09-26 20:18:18 +02:00
Joel Bodenmann
1d6a1b5338 compiler warning fix 2012-09-26 13:52:36 +02:00
Joel Bodenmann
50022e7984 compiler warning fix 2012-09-26 13:48:24 +02:00
Joel Bodenmann
0ba16c35af renaming from ChibiOS-LCD-Driver to ChibiOS/GFX 2012-09-25 00:19:10 +02:00
mobyfab
da83b0955f Some cleaning.
Fixed and tested DMA blitarea for SSD1963.
2012-09-18 22:55:02 +02:00
mobyfab
8e89654081 More info in the readme file. 2012-09-18 12:45:32 +02:00
mobyfab
9718d39d30 Fixed indentation 2012-09-18 12:06:45 +02:00
mobyfab
b9618a99d7 Cleaning GCC warnings for unused variables 2012-09-18 11:59:50 +02:00
mobyfab
4991834cbb DMA fixed and tested for SSD1963 2012-09-17 22:51:02 +02:00
mobyfab
ac228656ae DMA fixes, splitting the requests since 65535 is the max count 2012-09-17 19:35:10 +02:00
mobyfab
9921d74243 Testing DMA 2012-09-17 18:49:34 +02:00
Andrew Hannam
7025d927ca Clip Boundary Conditions & Nokia6610 Fixes
Clipping Boundary Conditions are now fixed.
Nokia6610 Driver now works properly, also supports setting LCD contrast.
2012-09-10 20:38:54 +10:00
Andrew Hannam
3a8d39980b Changes to Console, VMT, BitBlt, Clip & Drivers
Console - Fix compile, add GDISP_NEED_CONSOLE for compilation
VMT - Fix after directory structure changes
BitBlt - Update API to allow a source bitmap position.
Clip - Add clipping support into gdisp
Arc - Allow hardware accelleration of Arc routines
Nokia6610 - Fixes to BitBlt.
2012-09-10 15:54:22 +10:00
mobyfab
8cbb746065 Increased FSMC delays. They were too low. 2012-09-06 23:11:03 +02:00
mobyfab
75a3a98228 Adding GPIO to SSD1963 2012-09-04 12:51:35 +02:00
Tectu
bdd794b836 header adjustments on SSD1963 2012-09-03 00:52:40 +02:00
mobyfab
3c7ac9c2cf updated comments, cleaning 2012-08-31 20:09:22 +02:00
mobyfab
aba929d18b modifications, fixes.
first working version with a couple hardware features.
2012-08-31 19:59:05 +02:00
mobyfab
c67453a0be Adding SSD1963 2012-08-30 22:40:28 +02:00
Tectu
a0162b98c8 fixed SSD1289 driver 2012-08-24 10:43:09 +02:00
Tectu
217f15b4d3 compiler warning fix 2012-08-22 16:06:43 +02:00
Tectu
bb6bad936a removed deviceCode readout of SSD1289 2012-08-20 21:01:50 +02:00
Tectu
7bfaea1ca9 readme updates 2012-08-17 09:23:15 +02:00
Tectu
e6373df68b removed gdisp prefix on gdisp drivers 2012-08-14 02:10:57 +02:00
Tectu
7d336b5e01 SSD1289 fix 2012-08-14 01:54:46 +02:00
Tectu
8142d6c931 gdispVMT makefile update 2012-08-13 08:11:19 +02:00
Tectu
e27d04d002 restructure 2012-08-13 04:12:42 +02:00