Commit Graph

3179 Commits

Author SHA1 Message Date
ae6a3bc18b Adding CMake support for gdisp/STM32LTDC driver 2021-10-12 18:37:02 +02:00
68483139c9 Adding ChibiOS 7 support 2021-10-12 18:36:02 +02:00
64aa71339c Adding CMake support 2021-10-12 17:44:54 +02:00
a4f225700f Improving FreeBSD integration support 2021-10-12 15:33:35 +02:00
Joel Bodenmann
71a308a01a Update readme 2021-09-24 17:51:55 +02:00
Joel Bodenmann
50be0d6432 Revert "Fix signed/unsigned comparison in gos_linux.c"
This reverts commit aa9e187581.
2021-09-23 17:49:02 +02:00
7e2decd0cd Update changelog.txt 2021-09-21 18:12:07 +02:00
aa9e187581 Fix signed/unsigned comparison in gos_linux.c 2021-09-21 18:07:54 +02:00
05b547bbbb Updating changelog.txt 2021-09-21 17:56:46 +02:00
1d63573408 Adding FreeBSD support 2021-09-21 17:54:35 +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
4261a1fb0b Fix missing return values in FSync GQUEUE implementations 2021-08-31 16:06:44 +02:00
inmarket
3d3555ec5a Add Visual Studio Code project config to the .gitignore 2021-08-29 17:29:13 +10:00
Joel Bodenmann
2f82247223 Prevent const qualifier being discarded in vfnprintg() 2021-08-26 17:46:55 +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
0a55fc94bd 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-26 14:26:04 +02:00
Joel Bodenmann
0dac6b4d0f Fix ChibiOS 6.x kernel support 2021-08-26 02:08:42 +02:00
Joel Bodenmann
14f26ec934 Whitespaces 2021-08-26 00:33:11 +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
Joel Bodenmann
3f1f1c6a95 Fix/clean changelog.txt 2021-08-23 23:43:39 +02:00
Joel Bodenmann
8d6b2c4707 GTRANS: Update /demos/modules/gtrans/basic 2021-08-23 15:46:47 +02:00
Joel Bodenmann
317db95c46 GTRANS: Update types 2021-08-23 15:46:22 +02:00
ec257874a7 GDISP: Explicitly handle gOrientation values where applicaple
This addresses a compiler bug in some versions of GCC which warn about unhandled enum values although there is a default handler.
2021-08-23 15:28:06 +02:00
b17cb215f4 STM32LTDC: Handle gOrientationPortrait and gOrientationLandscape explicitly although not supporting it 2021-08-23 15:26:15 +02:00
Joel Bodenmann
b3216fa0cc Minor doxygen fixes 2021-08-19 13:48:44 +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
853f2cba98 Relocate current benchmark to /demos/benchmarks/rectangles 2021-08-18 20:51:56 +02:00
Joel Bodenmann
c713719326 Update /demos/benchmarks configuration file 2021-08-18 19:18:04 +02:00
Joel Bodenmann
b98a6c258c Update /demos/benchmarks
This uses GOS functionalities to count ticks instead of hardware specific cycle counters.
2021-08-18 19:17:04 +02:00
Joel Bodenmann
c57bd08379 Fix comment 2021-08-18 18:26:41 +02:00
Joel Bodenmann
409b8d4490 Update changelog.txt 2021-08-18 18:09:49 +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
72200af286 Update changelog.txt 2021-08-18 17:05:29 +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
b1b264b6a1 Fix legacy string 2021-08-16 16:25:04 +02:00
Joel Bodenmann
cf01cb2e7c GDISP: Move extern GDISPVMT declarations outside of function body
This prevents generation of "nested-externs" compiler warnings.
2021-08-13 11:51:47 +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
beb815e109 Board STM32F746-Discovery: Fix rouge-ly replaced types 2021-08-12 20:08:02 +02:00
Joel Bodenmann
346375c001 Add experimental support for ChibiOS 6.x kernel 2021-08-12 12:47:08 +02:00