Commit Graph

274 Commits (b95151c7c22eed7336fdef3a3587138cddf070e4)

Author SHA1 Message Date
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
Andrew Hannam 1985906bea TDISP cleanup
Seperate High level and low level code better
Implement tdispControl
Cleanup
2013-01-19 03:00:05 +10:00
Joel Bodenmann 7d1dcb0d08 TDISP cleanup 2013-01-17 09:16:59 +01:00
Joel Bodenmann 1a05e4a89a some more TDISP cleanup 2013-01-16 15:20:47 +01:00
Joel Bodenmann a278e1c113 removed internal TDISP_LLD() macro 2013-01-16 10:37:56 +01:00
Joel Bodenmann 1f1dd62687 TDISP update 2013-01-16 10:27:42 +01:00
Joel Bodenmann 1c1b3c8d74 TDISP: added custom character routine 2013-01-12 09:38:38 +01:00
Joel Bodenmann 66bb4ecb85 Merge branch 'tdisp' 2013-01-11 15:04:40 +01:00
Joel Bodenmann dae721900b small doxygen fixes 2013-01-11 19:39:36 +01:00
Joel Bodenmann 77a93bb43d TDISP update 2013-01-10 15:03:34 +01:00
Joel Bodenmann d5e7afe756 4-bit mode implemented 2013-01-10 14:51:31 +01:00
Joel Bodenmann 6cc67bad84 some TDISP doxygen 2013-01-10 19:47:50 +01:00
Joel Bodenmann a2a87ddd45 added TDISP - experimental 2013-01-09 14:29:32 +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
Joel Bodenmann a520a32209 more doxygen 2012-12-18 23:15:47 +01:00
Joel Bodenmann 756a79a2cc XPT2046 removed 2012-12-18 22:06:17 +01:00
Joel Bodenmann 8bc7b22ce7 doxygen 2012-12-18 22:04:35 +01:00
Joel Bodenmann 4f1af08bd4 added Olimex STM32 E407 touchscreen file 2012-12-18 20:06:52 +01:00
Joel Bodenmann e1de308dfa ginput doxygen 2012-12-18 20:06:10 +01: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
etmatrix e39e9e7604 correct typo 2012-12-17 21:23:23 +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
Joel Bodenmann 58b9938db2 typo fix - thanks to etmatrix 2012-12-16 23:11:08 +01:00
Joel Bodenmann 8d048ea4e2 removed touchscreen drivers 2012-12-16 23:10:16 +01:00
Andrew Hannam c0f68cd748 Fix header files for ginput touch drivers 2012-12-08 13:09:56 +10:00
Andrew Hannam 5873d87ca2 Add GDISP font routines. Fix demo bugs
Add GDISP font routines to Open and Close a font by name.
Allows wildcard searching for fonts.
Old global font variables are now only optionally included (soon to be
deprecated).
More demo fixing
2012-12-07 00:52:01 +10: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 2d449b1f7c fix 2012-12-02 15:36:55 +01:00
Joel Bodenmann ae7da0770b GINPUT MCU driver update 2012-12-02 15:26:14 +01:00
Andrew Hannam d24aa689e9 Win32 Hardware Toggle Emulation
Emulates 4 toggle switches and 4 momentary action buttons in the Win32
driver.
These are represented as a row of buttons under the GDISP display
window.
These are implemented as GINPUT Toggle driver (not as GPIO pins).
2012-12-02 16:46:13 +10:00
Joel Bodenmann ef13b27a79 added XPT2046 ginput driver 2012-11-30 00:21:46 +01:00
Joel Bodenmann a976c449a3 boardfile update 2012-11-30 00:19:19 +01:00
Joel Bodenmann c5f1bc7723 MCU update 2012-11-29 20:56:04 +01:00
Andrew Hannam b8a64a20fe Adjust Win32 mouse poll period
Adjust Win32 mouse poll period for better performance
2012-11-30 00:39:48 +10:00
Joel Bodenmann 5bfa0f2622 ginput/touch/MCU Olimex STM32 LCD board file 2012-11-29 01:21:36 +01:00
Joel Bodenmann 62dee0d351 porting of the touchscreen/MCU driver to ginput - not working yet 2012-11-29 01:20:54 +01:00
Joel Bodenmann de85a1496e removed xxx_unknown.h board files from ginput drivers 2012-11-29 00:45:17 +01:00
Joel Bodenmann b1b117bffa ADS7843 fix 2012-11-28 23:59:30 +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 8bdfc52efe FireBull STM32F103 board file for GINPUT 2012-11-27 00:42:51 +01:00
Joel Bodenmann e6bb13be05 copyright header fixes... 2012-11-26 23:38:11 +01:00
Joel Bodenmann c71022132c FireBull STM32 F103 GINPUT dummy board file (forgot to add at last commit) 2012-11-26 23:34:08 +01:00
Joel Bodenmann e89bb0b4d8 few fixes and FireBull STM32 F103 GINPUT dummy board file 2012-11-26 23:33:41 +01:00
Joel Bodenmann ba08afef3e doxygen 2012-11-26 21:19:32 +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 0ab8da8c78 touchscreen MCU driver fix 2012-11-26 00:33:56 +01:00
Joel Bodenmann 9c74a08131 implemented MCU touchscreen driver 2012-11-25 23:33:10 +01: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 fafe23f2e4 small fix 2012-11-12 00:13:39 +01:00
Joel Bodenmann 5683a9058e added MCU driver dummy - not implemented yet 2012-11-12 00:07:35 +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 87b6d98055 renamed touchpad into touchscreen 2012-11-10 00:05:01 +01:00
Joel Bodenmann 17857d6e97 big doxygen update - now it works as it should 2012-11-07 01:47:53 +01:00
Joel Bodenmann 1fd69f3144 very small @file path fix 2012-11-07 01:35:22 +01:00
Joel Bodenmann a178db6f13 Revert "doxygen tweaks - not complete yet"
This reverts commit b86c313aa2.
2012-11-07 01:34:39 +01:00
Joel Bodenmann b86c313aa2 doxygen tweaks - not complete yet 2012-11-06 23:55:45 +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
Joel Bodenmann 397b5074e8 docs 2012-11-02 09:33:56 +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