Commit Graph

767 Commits

Author SHA1 Message Date
Joel Bodenmann
da1c2233e7 drivers/GDISP/LGDP4532: Add gdisp_lld_draw_pixel() and gdisp_lld_fill_area()
Contributed by "Volodymyr Shylov" <shilow@ukr.net>
2022-05-23 16:05:05 +02:00
143a3a8847 drivers/GDISP/SSD1322: Add missing driver.mk file
Fixes #7
2022-04-26 00:50:49 +02:00
Joel Bodenmann
ba9b9fb62b cmake: add driver file for drivers/multiple/Win32 2021-11-03 20:23:16 +01:00
Joel Bodenmann
734c5cd421 cmake: Improve SDL driver integration 2021-10-28 16:15:02 +02:00
2c1c87ee1b Fixing line endings 2021-10-20 22:17:27 +10:00
ae6a3bc18b Adding CMake support for gdisp/STM32LTDC driver 2021-10-12 18:37:02 +02:00
64aa71339c Adding CMake support 2021-10-12 17:44:54 +02:00
1c29a88ee1 Fix SDL2 driver arguments to mmap() and sem_open()
Linux & MacOS seem to tolerate the incorrect parameters but they are wrong as per the documentation.
On more pedantic systems such as FreeBSD these calls fails.
2021-09-21 17:44:43 +02:00
Joel Bodenmann
cbf9c22adf STM32LTDC: Update readme.md 2021-08-26 14:26:59 +02:00
Joel Bodenmann
6d6ce043d0 Whitespaces 2021-08-26 14:26:17 +02:00
Joel Bodenmann
7845f44f20 Win32 driver: Fix memory leak / invalid pointer to free() when re-calculating buffer position in a specific situation.
Thanks to @nathanwiebe for reporting this.
2021-08-26 00:22:19 +02:00
Joel Bodenmann
1235a9056c Win32 driver: Fix buffer position calculation in gdisp_lld_blit_area()
Thanks to @nathanwiebe for reporting this.
2021-08-26 00:04:47 +02:00
b17cb215f4 STM32LTDC: Handle gOrientationPortrait and gOrientationLandscape explicitly although not supporting it 2021-08-23 15:26:15 +02:00
Joel Bodenmann
888c7e8640 STM32LTDC: Fix bug in DMA2D blitting
Thanks to @nathanwiebe for reporting this:
https://community.ugfx.io/topic/3159-a-bug-in-the-stm32-ltdc-driver
2021-08-18 20:58:53 +02:00
Joel Bodenmann
c57bd08379 Fix comment 2021-08-18 18:26:41 +02:00
Joel Bodenmann
77f10024e0 STM32LTDC: Improve pixel format detection if 2nd layer is used
This is necessary as using double buffering via STM32LTDC_USE_DOUBLEBUFFERING will also result in GDISP_TOTAL_DISPLAYS being larger than 1.
2021-08-18 17:12:12 +02:00
Joel Bodenmann
d980418e81 STM32LTDC: Update readme.md 2021-08-18 16:46:04 +02:00
Joel Bodenmann
08c2358542 STM32LTDC: Support double buffering 2021-08-18 16:38:23 +02:00
Joel Bodenmann
5e3159064a Fix typo in readme 2021-08-17 15:56:06 +02:00
Joel Bodenmann
8804f3a381 STM32LTDC: Fix misspelled macro (internally only) 2021-08-17 15:55:02 +02:00
Joel Bodenmann
7f78be1183 STM32LTDC: Rename user config options for consistency & add docs 2021-08-17 14:23:57 +02:00
Joel Bodenmann
91247717a0 STM32LTDC: Expose more options to board file 2021-08-17 13:40:57 +02:00
Joel Bodenmann
2de054b530 STM32LTDC: Remove obsolete LTDC_NO_CLOCK_INIT define 2021-08-17 13:29:49 +02:00
Joel Bodenmann
94fd096fdd STM32LTDC: Rename ALLOW_2ND_LAYER to LTDC_USE_2ND_LAYER 2021-08-17 13:26:54 +02:00
Joel Bodenmann
a9cf2bdfe2 STM32LTDC: Enable DMA cache flushing on H7 platforms 2021-08-17 12:32:12 +02:00
Joel Bodenmann
37450998e1 STM32LTDC: Fix board function signatures 2021-08-12 20:31:49 +02:00
Joel Bodenmann
6fa3520f2a Refactor STM32LTDC driver to outsource hardware specifics such as clock setup to the board file 2021-08-12 20:22:49 +02:00
Joel Bodenmann
9c0678a291 Avoid duplicate const specifier compiler warnings
The original code is perfectly valid standard C. However, some compilers (especially GCC) complain about duplicate const specifiers anyway.
At this point we cave in as there doesn't seem to be any efforts to fix this problem by the corresponding compiler vendors.

uGFX v3 will no longer suffer from this problem as the driver interface works differently in this area.
2021-08-12 12:20:07 +02:00
inmarket
d528fb218d Minor fixups 2018-11-10 10:45:28 +10:00
inmarket
8a9ed5195b Tidy u gfxSem, gfxMutex and various Macros by converting to new types gSem, gMutex etc 2018-11-03 12:29:30 +10:00
inmarket
7c5a6c928f For all source files update integer types to the new gI8 etc type names 2018-11-03 10:51:23 +10:00
Tibo Clausen
0840c8e784 Update license header 2018-10-01 17:34:15 +02:00
inmarket
330f891081 Added type gThread to replace V2.x gfxThreadHandle 2018-07-08 15:40:27 +10:00
inmarket
1fc4180d41 gThreadpriorityLow/Normal/High to replace LOW_/NORMAL_/HIGH_PRIORITY 2018-07-08 15:32:26 +10:00
inmarket
93da5a0578 gDelayNone/gDelayForever to replace TIME_IMMEDIATE/TIME_INFINITE 2018-07-08 15:15:15 +10:00
inmarket
e61f0ae424 Added type gOrientation to replace V2.x orientation_t, and values gOrientationX replace GDISP_ROTATE_X 2018-07-08 13:51:20 +10:00
inmarket
bda8c738b1 Added type gPowermode to replace V2.x powermode_t, and values gPowerXXX replace powerXXX 2018-07-08 11:47:36 +10:00
inmarket
f9c848e985 Change color_t to gColor 2018-07-08 11:19:43 +10:00
inmarket
cfb1b2a488 Change pixel_t to gPixel 2018-07-08 11:08:55 +10:00
inmarket
2ab2d77fcb Change coord_t to gCoord 2018-07-08 10:54:19 +10:00
inmarket
7e95acb731 Change point and point_t to gPoint 2018-07-08 10:43:30 +10:00
inmarket
e8b789bfb1 Fix some missing gBool conversions 2018-07-08 10:05:34 +10:00
inmarket
853863254f Added WS29EPD driver by cpu20 for the WaveShare E-Paper display 2018-07-07 23:14:28 +10:00
inmarket
41271d632b Added new type definitions - moving towards V3.0 2018-06-23 13:02:07 +10:00
kapacuk
b94fb2caad Added support for 1.44" board (128x128)
ST7735_TYPE_R and ST7735_TYPE_B macros are deprecated (but supported for backward compatibility).
Instead, ST7735_TYPE should be set to one of BOARD_TYPE_B, BOARD_TYPE_R, or BOARD_TYPE_R144
2018-06-20 15:15:23 +02:00
kapacuk
0f74d94288 A few minor fixes to be able to compile it on Linux with the latest GCC
- Added missing semicolon to the definition of write_data_repeat;
- Added missing parameter to release_bus() call
- Changed #include to use the lowercase file name
2018-06-20 11:52:51 +02:00
inmarket
ef9d93f0ef Fix UC1610 driver private area initialisation 2018-04-03 13:43:01 +10:00
inmarket
94f1cc2f0a Change new colors to GFX_RED instead of GFXRED. Use the new color defs 2018-03-10 20:36:12 +10:00
inmarket
f265924396 First set of V3 macro changes 2018-02-27 17:44:21 +10:00
inmarket
891b78a62c Fix for ST7735 driver 2018-02-24 11:31:34 +10:00