Commit Graph

650 Commits

Author SHA1 Message Date
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
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
da4369c125 touchpad driver fix 2012-10-13 01:09:40 +02:00
Joel Bodenmann
4a27e7c799 TOUCHPADDriver -> TOUCHPADDriver_t 2012-10-11 09:23:42 +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
53000e3c19 ADS7843 cleanup 2012-08-16 12:55:18 +02:00
Tectu
b402228265 XPT2046 cleanup 2012-08-16 12:52:34 +02:00
Kumar Abhishek
0b8c95ab20 ADS7843 update
Same changes as the XPT2046
2012-08-16 15:40:48 +05:30
Kumar Abhishek
a9beec902d XPT2046 LLD Major Update
Added 7 point median filtering to reduce noise
TOUCHPADDriver structure now encapsulates the IRQ pin, so removed
the TP_CS_ and TP_IRQ_ macros
Added generic tp_lld_read_value method to read any ADC channel from
the XPT2046, this includes on-chip temperature sensor and VBAT input
Improved SPI bus sharing, with the optional TOUCHPAD_SPI_PROLOGUE and
TOUCHPAD_SPI_EPILOGUE macros
2012-08-16 15:14:16 +05:30
Tectu
72d994626f removed touchpad prefix on touchpad drivers 2012-08-14 02:12:59 +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
46e67f657d touchpad driver fixes 2012-08-13 08:08:38 +02:00
Tectu
e27d04d002 restructure 2012-08-13 04:12:42 +02:00
Tectu
54229cbdaa restructure 2012-08-13 04:11:03 +02:00
Tectu
ea11c7adf7 added new license headers to all files, expect /halext 2012-08-02 22:15:55 +02:00
Tectu
999486233d lcdVerticalScroll() fix 2012-07-25 04:00:30 +02:00
Tectu
a9d5837f40 cleanup 2012-07-23 03:43:11 +02:00
Tectu
2e6d8615cf ssd1289 lld_lcdReadStream() fix 2012-07-22 22:25:34 +02:00
Tectu
952b0b69e8 touchpad fix 2012-07-22 22:21:19 +02:00
trsaunders
4a11dfd0b8 fix SSD1289 inverted mode 2012-07-22 19:02:26 +01:00
trsaunders
b0d3eb7488 fix orientations in ssd1289 2012-07-22 18:00:59 +01:00
trsaunders
cc87941bc7 fix orientations in ssd1289 2012-07-22 18:00:18 +01:00
trsaunders
2a2f5b2db7 F4 FSMC support, add support for different orientations, tidyup 2012-07-22 16:34:40 +01:00
Tectu
6295717262 ssd1289 fix 2012-07-22 16:20:10 +02:00
Tectu
3eb95e641c whitespace 2012-07-22 03:01:14 +02:00
Tectu
2e8e4b4dcd fix 2012-07-22 02:33:32 +02:00
Tectu
f7c05fad30 small fix 2012-07-22 02:26:52 +02:00
Tectu
8bc4bc9744 small fix 2012-07-22 02:26:16 +02:00
Tectu
9b46b61f57 changed TP_CS macros. Added TP_CS_PORT 2012-06-29 13:08:53 +02:00
Tectu
c621e9f192 fixed lld_lcdReadStream() 2012-06-27 21:46:16 +02:00
trsaunders
bdcbdd4c38 merge upstream changes 2012-06-27 17:51:08 +01:00
trsaunders
8a6337b4e7 tidy up comments 2012-06-27 16:51:54 +01:00
trsaunders
44eb3583bc add missing semi colon 2012-06-27 16:46:20 +01:00
trsaunders
e4ec0e9432 use max(height,width) to calculate buffer size 2012-06-27 16:45:23 +01:00
trsaunders
1d09786fa4 more safety checks 2012-06-27 16:42:09 +01:00
trsaunders
351c50cc48 tidy up 2012-06-27 16:40:23 +01:00
trsaunders
c10f54e5af more console work 2012-06-26 23:58:29 +01:00
trsaunders
7f306bab76 tidy up 2012-06-25 23:46:50 +01:00
Thomas Saunders
d96a491d32 work in progress for partial area scroll 2012-06-25 21:29:51 +01:00
Thomas Saunders
79f7278f3d add vertical scroll functions 2012-06-25 13:57:42 +01:00
Tectu
a52393a483 ssd1289 fix 2012-06-25 13:44:29 +02:00
Tectu
bea97894b5 whitespaces 2012-06-25 13:20:58 +02:00
Tectu
484daa395a GPIO interfacing rewrite 2012-06-25 13:02:54 +02:00
Tectu
ccf2780be9 lld GPIO lsb/msb order fix 2012-06-25 12:44:35 +02:00
Tectu
9e5cd3140a ssd1289 driver fix 2012-06-25 12:34:38 +02:00
Tectu
84c868d5f5 lld_lcdWriteGPIO() return type 2012-06-25 11:32:41 +02:00
Tectu
ed70b3acc4 ssd1289 GPIO interface abstraction 2012-06-24 17:37:33 +02:00
Tectu
73e0021db2 implemented lld_lcdWriteGPIO() for SSD1289 2012-06-24 16:44:58 +02:00
Tectu
89a597bfc4 ssd1289 GPIO split into two 8-bit groups 2012-06-24 16:04:11 +02:00
Tectu
de71035ce4 ssd1289 powermodes implemented (powerOn, powerOff, sleepOn, sleepOff) 2012-06-23 14:04:56 +02:00
Thomas Saunders
d0e3a0636e removed glcdconf.h
it makes more sense for this config to be in the board file /
application header / chconf.h
2012-06-22 10:26:41 +01:00
Tectu
6a2a70e8e6 added lcdSetPowerMode() 2012-06-20 00:17:10 +02:00
Tectu
38b5410f2d cleanups 2012-06-19 23:26:30 +02:00
trsaunders
1f1f9ee38a c++ compatibility, FSMC driver for ssd1289 2012-06-19 20:05:01 +01:00
Kumar Abhishek
24648e2342 Implemented writeStream functions for S6D1121
Nomenclature change lld_ prefix to low level functions
2012-06-19 21:40:13 +05:30
Tectu
534957a2d3 ssd1289 fix 2012-06-17 04:10:50 +02:00
Tectu
37bd82380c ssd1289 fix 2012-06-17 03:01:05 +02:00
Tectu
96319a780e ssd1289 lld_lcdWriteStream() implementation 2012-06-17 02:59:31 +02:00
Tectu
f8997e5703 added lcdWriteStream start and stop functions 2012-06-17 02:00:48 +02:00
Tectu
a69832f4ec added static lcdWriteStream 2012-06-17 01:43:06 +02:00
Tectu
53d24f51c0 ssd1289 fix 2012-06-17 01:36:39 +02:00
Tectu
d4625a1e6a restructure 2012-06-17 01:30:12 +02:00
Tectu
49b3daab08 lcdFillArea now lld 2012-06-15 22:09:19 +02:00
Tectu
8ebd8887d3 Revert "lcdFillArea() is now lld"
This reverts commit 5defef1c1d.
2012-06-15 21:55:31 +02:00
Tectu
5defef1c1d lcdFillArea() is now lld 2012-06-15 21:32:40 +02:00
Tectu
688cd9c879 added driver for xpt2046 touchpad driver 2012-06-15 10:19:34 +02:00
Tectu
c7a393c6d7 added support for 3D touchpads 2012-06-15 10:18:52 +02:00
Kumar Abhishek
be23213164 Critical Bug fixed in text rendering function
Still only portrait Orientation is supported byS6D1121. Added stubs
2012-06-14 17:13:19 +05:30
Kumar Abhishek
bd573fbef1 Changes in the Text Rendering API
The code now uses my API
Pls contact for further documentation
2012-06-12 18:06:06 +05:30
Tectu
346fec7eb4 added ADS7843 lld support 2012-06-11 18:37:38 +02:00
Tectu
4c90a487f7 added lcdconf.h 2012-06-11 18:12:05 +02:00
Tectu
e8c4fc8e31 fixes 2012-06-11 17:38:26 +02:00
Tectu
4080e2788c added s6d1121 driver by abhishek-kakkar 2012-06-11 16:40:57 +02:00
Tectu
df8cfae7a0 Revert "added ads7843 lld functions"
This reverts commit 163a42e48e.
2012-06-11 13:23:57 +02:00
Tectu
163a42e48e added ads7843 lld functions 2012-06-11 13:21:17 +02:00
Tectu
ef1197baf1 ssd1289 fix 2012-06-11 12:53:59 +02:00
Tectu
1930efd745 ssd1289 fix 2012-06-11 12:41:02 +02:00
Tectu
a67bde079c cleanups 2012-06-11 00:00:07 +02:00
Tectu
12427eb272 ssd1289 support 2012-06-10 23:51:36 +02:00
Tectu
8b2f6ae66d some cleanups 2012-06-10 23:10:25 +02:00
Tectu
b008620171 added ssd1289_lld 2012-06-10 22:28:02 +02:00
Tectu
85fdb0f826 added ssd1289_lld dummies 2012-06-10 16:45:38 +02:00