Commit Graph

758 Commits

Author SHA1 Message Date
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
9570235ffc Preventing out-of-range warning with STM32LTDC flag definitions 2017-10-29 18:19:26 +01:00
a4f203fbe2 Preventing __DSB() redeclaration in STM32LTDC driver 2017-10-29 18:11:00 +01:00
inmarket
7ef1fa156c Fix the STM32LTDC driver DMA2D accelerated bitblit on STM32F7 platforms. 2017-10-02 13:27:10 +10:00
inmarket
82047b1ac6 STM32LTDC 2nd layer support with alpha 2017-10-01 18:00:49 +10:00
inmarket
3e13911432 Oops - add readme and changelog 2017-09-11 18:23:30 +10:00
inmarket
77994258c0 Add SSD1322 driver. Thanks to Andrey_13 (but with modifications) 2017-09-11 18:19:12 +10:00
inmarket
718fb4e4a0 Add files missing due to git problems 2017-08-17 08:47:40 +10:00
422e95becf UC8173 board template fix 2017-08-13 20:30:31 +10:00
f410b57720 Vastly improve UC8173 driver 2017-08-13 20:07:39 +10:00