Niccolò Izzo
d56fafe1a2
Merge graphics_* into a single compilation unit
...
The specialized graphics libraries ended up sharing the majority of the
code, now they have been merged into a single library so that the
graphics development can be done quicker without leaving any of the
platforms behind.
2020-12-19 12:49:30 +01:00
Silvano Seva
6ca3faceaf
Made calls to 'display_renderRows' and 'display_render' blocking, thus not requiring anymore to busy wiat on 'display_renderingInProgress'. Modifications involved only MDx display driver, the others were already blocking.
2020-12-12 10:16:26 +01:00
Fred
1a11ff8401
Optimize libSDL driver for RGB565
2020-12-11 14:41:44 +01:00
Silvano Seva
47dd9e2046
Fixed glitching keyboard buttons on MDx targets
2020-12-11 14:41:44 +01:00
Fred
5d9ac78548
Fix GD77 display driver
2020-12-04 20:39:20 +01:00
Silvano Seva
8762a9e3a8
Display driver for GD77, still work in progress
2020-12-04 20:39:19 +01:00
Silvano Seva
3bb7e2cfd4
Moved to static allocated framebuffer and USB vcom rx buffer
2020-11-27 22:34:25 +01:00
Silvano Seva
1cf2a40182
Changed names of source files for MDx drivers to comply to new naming convention
2020-11-19 18:24:28 +01:00
Silvano Seva
01ee477b02
Workaround for an STM32F405 bug causing a delay between an RCC peripheral clock enable and the effective peripheral enabling, as described in ST's silicon errata sheet
2020-11-16 11:24:52 +01:00
Silvano Seva
9458fd252b
Moving to a general flag for x-axis mirroring in MDxx380 display driver
2020-11-13 16:32:57 +01:00
Silvano Seva
b4b3b3fa5a
Fixing screen orientation for MD380
2020-11-03 22:46:58 +01:00
Fred
9f9b76e9b5
Make the SDL window resizable
2020-11-03 15:15:36 +01:00
Silvano Seva
bf3488def8
Improved check for rendering in progress in HX83XX display driver, now both chip select and DMA enable bit are verified
2020-11-03 15:15:36 +01:00
Silvano Seva
69c96c1d81
Renamed source file of display driver for MD-380 and MD-UV380
2020-11-03 15:15:36 +01:00
Federico Amedeo Izzo
6b0f0242d1
Remove screenWidth and screenHeight getters.
2020-11-03 15:15:36 +01:00
Silvano Seva
ba40d5f70f
Moving GPIO definitions to hwconfig.h
2020-11-03 15:15:36 +01:00
Silvano Seva
9b20e5010c
Made gpio API completely platform independent
2020-11-03 15:15:35 +01:00
Silvano Seva
beb33ff244
Moved constants for screen dimensions to platform-dependent hwconfig file
2020-11-03 15:15:35 +01:00
Federico Amedeo Izzo
c3ef0ca036
Remove backlight control from anywhere except platform.c and platform.h
2020-11-03 15:15:35 +01:00
Silvano Seva
06346ac827
Moving function for setting display backlight level from display driver to 'platform.c' file
2020-11-03 15:15:35 +01:00
Niccolò Izzo
4a27aadcc2
Fix typo
2020-11-03 15:15:35 +01:00
Silvano Seva
e5decb7244
Fixed endianness reordering in MD380 display driver, now it reorders only the lines to be rendered instead of the whole framebuffer
2020-11-03 15:15:35 +01:00
Silvano Seva
bdb59a3ff9
Adapting MD380 display driver to uC/OS-III, making little code reorganisation and embedding endianness reordering into display_render()
2020-11-03 15:15:35 +01:00
Silvano Seva
b9517e5867
Adding support for 8bpp grayscale and 1bpp black/white pixel formats to SDL-based display emulator, keeping 16bpp RGB565 as the default one.
2020-11-03 15:15:35 +01:00
Silvano Seva
638707a6aa
Renamed 'lcd.h' to 'display.h' and updated the function names for low-level display driver.
2020-11-03 15:15:35 +01:00
Silvano Seva
f043581928
Making the interface for low-level display drivers more general: now the pointer to framebuffer is returned as void *. Updated existing drivers and test code accordingly.
2020-11-03 15:15:35 +01:00
Silvano Seva
b2d613f38b
Improved lcd_terminate function in SDL-based lcd driver
2020-11-03 15:15:35 +01:00
Silvano Seva
2cfca62b00
Driver for SDL-based display emulator, updated lcd.h documentation
2020-11-03 15:15:35 +01:00
Silvano Seva
327d8c193c
Start migrating code from previous work
2020-11-03 15:15:35 +01:00