Commit Graph

579 Commits

Author SHA1 Message Date
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
bc79e65ffa Tiday up driver makefiles 2013-10-17 14:55:10 +10:00
inmarket
86a5734912 Multiple controller support can now auto-detect hardware capabilities at run-time.
Specific hardware support can still be turned off or on via macros in gfxconf.h to improve efficiency.
Multiple Display demo updated to match.
2013-10-16 01:39:56 +10:00
inmarket
769766aa4a X11 multiple display now tested 2013-10-12 23:36:27 +10:00
inmarket
75ed684275 Multiple display update for X11 driver.
Untested.
2013-10-12 22:38:12 +10:00
inmarket
d22bc07e7a Multiple displays across one or more controllers is now fully supported.
Only the Win32 driver supports this so far.
Other drivers are currently broken due to API changes and will be fixed.
2013-10-12 13:24:40 +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
39c10335a3 Scolling fix in X driver and removal of compiler warning. 2013-09-30 02:11:03 +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
Joel Bodenmann
0f7777395b GDISP X driver fixes 2013-09-29 18:23:22 +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
inmarket
30154560b6 Rename a macro and fix some bugs 2013-09-25 17:17:05 +10:00
Petteri Aimonen
8940b4872e Add driver for ED060SC4 e-ink display panel 2013-09-24 22:15:55 +03:00
inmarket
973e34089e GDISP streaming bug fixes
Win32 bitmap support
Win32 Rotation is back to front. Need to check touch and other drivers.
2013-09-24 16:10:15 +10:00
inmarket
b25ac5e667 Scrolling emulation when not supported by hardware
Start of new multiple display support
GDISP performance optimisations
Documentation updates
Win32 driver updates
2013-09-18 23:46:37 +10:00
inmarket
71ccbb32e1 Merge remote-tracking branch 'origin/master' into GDISPStreaming 2013-09-18 23:26:14 +10:00
Joel Bodenmann
bf3761e0f2 Added ST7565 driver by user sam0737 2013-09-15 00:32:57 +02:00
inmarket
6e4437255b GDISP revamp - stage 1
New low level driver interface: Only Win32 ported currently
Significant reduction in GDISP stack usage
Improved performance particularly for native streaming drivers
New circle, ellipse, arc routines (draw and fill) that are significantly more efficient and don't overdraw
New arc draw algorithm that measures angles correctly.
New arc fill algorithm for that actually works without overdrawing or gaps.
Much more to come...
2013-09-06 12:29:06 +10: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
inmarket
00b6ab3986 Remove unneeded comment about threading (no longer applies) 2013-07-24 13:55:25 +10:00
Joel Bodenmann
ea3048ff36 fixed OS-X port (untested) 2013-07-23 18:52:52 +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
inmarket
5b2d561483 Remove GDISP_THREAD_CHIBIOS. This is always used now. 2013-07-21 17:26:11 +10: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
inmarket
a51ffd5b68 Merge remote-tracking branch 'origin/master' into GWIN 2013-07-01 00:14:18 +10:00
Joel Bodenmann
d45bba45e1 doxygen fix 2013-06-28 17:50:45 +02:00
Joel Bodenmann
8c3f23f606 quick board file fix 2013-06-24 23:52:13 +02:00
inmarket
c8300fe9c2 Merge branch 'master' into GWIN 2013-06-22 23:14:54 +10:00
inmarket
d362d9603e Merge commit 'd8db148a149541f658cc9729785b3694f80e2624' into GWIN
Conflicts:
	demos/applications/mandelbrot/gfxconf.h
	demos/applications/mandelbrot/main.c
	demos/applications/notepad/gfxconf.h
	demos/applications/notepad/main.c
	demos/benchmarks/gfxconf.h
	demos/benchmarks/main.c
	demos/modules/gadc/gfxconf.h
	demos/modules/gadc/gwinosc.c
	demos/modules/gadc/gwinosc.h
	demos/modules/gadc/main.c
	demos/modules/gaudin/gfxconf.h
	demos/modules/gaudin/gwinosc.c
	demos/modules/gaudin/gwinosc.h
	demos/modules/gaudin/main.c
	demos/modules/gdisp/gdisp_basics/gfxconf.h
	demos/modules/gdisp/gdisp_basics/main.c
	demos/modules/gdisp/gdisp_circles/gfxconf.h
	demos/modules/gdisp/gdisp_circles/main.c
	demos/modules/gdisp/gdisp_images/gfxconf.h
	demos/modules/gdisp/gdisp_images/main.c
	demos/modules/gdisp/gdisp_images_animated/gfxconf.h
	demos/modules/gdisp/gdisp_images_animated/main.c
	demos/modules/gdisp/gdisp_text/gfxconf.h
	demos/modules/gdisp/gdisp_text/main.c
	demos/modules/ginput/touch_driver_test/gfxconf.h
	demos/modules/ginput/touch_driver_test/main.c
	demos/modules/graph/gfxconf.h
	demos/modules/graph/main.c
	demos/modules/gtimer/gfxconf.h
	demos/modules/gtimer/main.c
	demos/modules/gwin/basic/gfxconf.h
	demos/modules/gwin/basic/main.c
	demos/modules/gwin/console/gfxconf.h
	demos/modules/gwin/console/main.c
	demos/modules/gwin/slider/gfxconf.h
	demos/modules/gwin/slider/main.c
	demos/modules/tdisp/gfxconf.h
	demos/modules/tdisp/main.c
	drivers/gdisp/ILI9320/gdisp_lld_config.h
	drivers/gdisp/ILI9325/gdisp_lld_config.h
	drivers/gdisp/Nokia6610GE12/GE12.h
	drivers/gdisp/Nokia6610GE12/gdisp_lld_board_example.h
	drivers/gdisp/Nokia6610GE12/gdisp_lld_board_olimexsam7ex256.h
	drivers/gdisp/Nokia6610GE12/gdisp_lld_config.h
	drivers/gdisp/Nokia6610GE8/GE8.h
	drivers/gdisp/Nokia6610GE8/gdisp_lld_board_example.h
	drivers/gdisp/Nokia6610GE8/gdisp_lld_config.h
	drivers/gdisp/S6D1121/gdisp_lld_board_example.h
	drivers/gdisp/S6D1121/gdisp_lld_board_olimex_e407.h
	drivers/gdisp/S6D1121/gdisp_lld_config.h
	drivers/gdisp/SSD1289/gdisp_lld_board_example.h
	drivers/gdisp/SSD1289/gdisp_lld_board_firebullstm32f103.h
	drivers/gdisp/SSD1289/gdisp_lld_config.h
	drivers/gdisp/SSD1963/gdisp_lld_board_example_gpio.h
	drivers/gdisp/TestStub/gdisp_lld_config.h
	drivers/ginput/toggle/Pal/ginput_lld_toggle_board_example.h
	drivers/ginput/toggle/Pal/ginput_lld_toggle_config.h
	drivers/ginput/touch/ADS7843/ginput_lld_mouse_board_example.h
	drivers/ginput/touch/ADS7843/ginput_lld_mouse_board_firebull_stm32f103.h
	drivers/ginput/touch/ADS7843/ginput_lld_mouse_board_olimex_stm32_e407.h
	drivers/ginput/touch/MCU/ginput_lld_mouse_board_example.h
	drivers/ginput/touch/MCU/ginput_lld_mouse_board_olimex_pic32mx_lcd.h
	drivers/ginput/touch/STMPE811/ginput_lld_mouse_board_embest_dmstf4bb.h
	drivers/ginput/touch/STMPE811/ginput_lld_mouse_board_example.h
	drivers/multiple/Win32/gdisp_lld_config.h
	drivers/multiple/Win32/ginput_lld_toggle_config.h
	include/gaudin/options.h
	include/gaudout/options.h
	include/ginput/options.h
	include/gtimer/options.h
	include/gwin/internal.h
	license.html
2013-06-22 23:10:20 +10:00
Joel Bodenmann
9aa1e95423 one more typo fix... 2013-06-22 14:05:22 +02:00
Joel Bodenmann
77a70fe9b8 typo fix 2013-06-22 14:02:56 +02:00
Joel Bodenmann
5a25b2b7fb Added FT5x06 GINPUT driver 2013-06-22 05:00:48 +02: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
inmarket
49b3e8f55a License header updates 2013-06-15 21:09:02 +10:00
inmarket
2cb35d6815 Clean up GWIN Event assignment. Optimise event efficiency. 2013-06-10 17:18:01 +10:00
Joel Bodenmann
f1a974e83e added new ADS7843 board file 2013-06-04 08:34:01 +02:00
Joel Bodenmann
701ff38230 added f4 disovery file for ADS7843 2013-06-04 00:45:38 +02:00
Joel Bodenmann
f14ed21d5d SSD1289 update by user Eddie 2013-06-04 00:34:47 +02:00
inmarket
e9f60dae38 Fix license issues and GOS issues in TDISP 2013-06-02 18:58:12 +10:00
inmarket
1c258a8273 GOS updates 2013-06-02 18:57:22 +10:00
Joel Bodenmann
e12a213ff1 doxygen fixes 2013-06-01 01:57:20 +02:00
Joel Bodenmann
ebc30c02bc TDISP update 2013-06-01 01:37:53 +02:00
inmarket
8fcbf4e5d5 More GOS module changes
GQUEUE as a seperate module
GOS changes including basic Win32 O/S support
2013-05-26 02:06:55 +10: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
Andrew Hannam
b5ce240550 X driver for GDISP and GINPUT_MOUSE 2013-05-16 02:07:02 +10:00
Joel Bodenmann
11a71cb080 TDISP fixes 2013-05-15 18:00:42 +02:00
Andrew Hannam
3374aa25c6 Reinsertion of doxygen headers
Reinsertion of doxygen headers that got lost in license change
2013-05-06 14:44:47 +10: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
df5c3fd6dd TDISP fixes - by Frysk 2013-04-12 09:12:00 +02:00
Tectu
788bd44255 Merge pull request #64 from niamster/master
Touch panel LLD for olimex pic32mx board
2013-04-09 22:03:21 -07:00
Dmytro Milinevskyy
8c54efc155 ginput/touch/MCU Olimex PIC32 LCD board file 2013-04-10 01:07:31 +02:00
Joel Bodenmann
b2a67d818b some doxygen fixes 2013-04-08 00:24:45 +02:00
Tectu
1d24b6977d Merge pull request #63 from inmarket/master
GINPUT Dial. Simplify input -> GWIN widget assignment
2013-04-07 02:59:42 -07:00
Tectu
05aebebb8b Merge pull request #62 from niamster/master
A fix in pic32mx LLD for ILI9320
2013-04-07 02:59:22 -07:00
Andrew Hannam
9ee7c284e6 Add GINPUT Dial, simplify GWIN input assignment
Added GINPUT Dial support and a driver that uses GADC to read the dial.
Added support for Dial inputs to the GWIN slider.
Updated the slider demo for Dial Inputs.
Simplified the assigning of inputs to GWIN "widgets" button and slider.
Updated the demo's to match the new input to button assignment.
2013-04-07 16:02:10 +10:00
Dmytro Milinevskyy
e51d3591ad [ILI9320][olimex][pic32] extra dummy read after index write 2013-04-07 06:37:05 +02:00
Tectu
22e7150f2d Merge pull request #61 from mobyfab/master
ADS7843 - Macro for Inverted touchpad
2013-04-06 15:01:36 -07:00
mobyfab
6a7e33db9b Added the GINPUT_MOUSE_YX_INVERTED macro. 2013-04-05 23:56:47 +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
f938c72044 STMPE811 tweaks 2013-03-29 20:19:35 +01:00
Joel Bodenmann
6ed641c91d STMPE811 cleanup & readme 2013-03-29 19:26:56 +01:00
Joel Bodenmann
4440c2c887 STMPE811 getpin_pressed() -> getpin_irq() 2013-03-29 18:17:24 +01:00
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
2f7b6fc80b STMPE811: attempt to use FIFO
Very early version of using FIFO threshold interrupt.
2013-03-29 01:15:07 +01:00
Mateusz Tomaszkiewicz
dd1eb6c63d STMPE811: working reading, writing and interrupt
- Slightly changed rading and writing routines.
- Added delay after reset of STMPE811 in initialization code.
- STMPE811 "interrupt service routine"
- Comments, formatting etc.
- Another commit with unfinished driver.
2013-03-25 01:10:32 +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
Mateusz Tomaszkiewicz
5062603188 STMPE811: reading registers over I2C
- Reading works.
- Some other cleanups.

Driver is not usable yet.
2013-03-20 02:42:43 +01:00
Joel Bodenmann
38e55c3921 STMPE811 - not tested yet 2013-03-19 22:59:04 +01:00
Joel Bodenmann
88765396bf SSD1963 rework by user: fred 2013-03-14 19:46:40 +01:00
Joel Bodenmann
426a12de6b doxygen fixes 2013-03-10 20:17:24 +01:00
Joel Bodenmann
f552098116 embest DMSTF4BB board fix - removed FSMC suffix because only FSMC exists 2013-03-08 09:20:51 +01:00
Joel Bodenmann
e9cb6aa17a small cleanup 2013-03-08 06:36:33 +01:00
Mateusz Tomaszkiewicz
4a056ae25f STMPE811: comment fix 2013-03-08 02:11:27 +01:00
Mateusz Tomaszkiewicz
27290b5f85 STMPE811: added header with registers addresses
Also changed filename of board file  from *_embest_lcd.h to
*_embest_dmstf4bb.h.
2013-03-08 02:02:18 +01:00
Joel Bodenmann
0400ba0e2d added basic STMPE811 skeleton 2013-03-08 00:56:59 +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
Andrew Hannam
4e67b54e4d Fix Olimex SAM7EX256 button definitions 2013-03-08 00:50:39 +10:00
Andrew Hannam
40534cbc79 Correction of copyright message 2013-03-08 00:49:52 +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
Joel Bodenmann
100d686f94 TDISP update 2013-03-02 22:13:44 +01:00
Mateusz Tomaszkiewicz
b1f9054998 Merge branch 'SSD2119' 2013-03-02 13:33:57 +01:00
Mateusz Tomaszkiewicz
7ba69f556b SSD2119: readme fix 2013-03-02 13:33:19 +01:00
Mateusz Tomaszkiewicz
3863ef8374 Merge branch 'SSD2119' 2013-03-02 13:31:51 +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
Andrew Hannam
6ee8b005ae GAUDIN implemented with GADC driver 2013-03-01 09:04:52 +10: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
9bec5967b2 GADC implementation with demo program
Also includes driver for AT91SAM7 cpu
2013-02-18 17:33:35 +10:00
Andrew Hannam
2ed57aea77 TDISP to take ROWS and COLUMNS from board file
TDISP to take ROWS and COLUMNS from board file
2013-02-18 17:31:49 +10: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
Joel Bodenmann
08f2305aeb TDISP merge - NOT TESTED!!! 2013-02-18 08:18:09 +01: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
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