tarxvf
45228e226e
just the emulator shell broken out
2021-11-03 19:20:42 +01:00
Silvano Seva
cdaf3f38dd
Renamed MDx display, keyboard and spiFlash drivers to MD3x to adapt the changes made to meson.build also to MD-9600. Fixed missing API change in ui_main.
2021-04-10 12:37:45 +02:00
Silvano Seva
a15159e7ce
Driver for ST7567 display controller
2021-04-10 12:15:29 +02:00
Silvano Seva
0772f1924b
Renamed GDx display and keyboard driver from 'xxx_GD77' to 'xxx_GDx' for consistency with naming scheme
2021-04-10 12:00:36 +02:00
Silvano Seva
6c79d710a1
Fixed wrong screen orientation on MD-380V(G). Thanks to @tarxvftech for testing!
2021-03-19 13:24:56 +01:00
Silvano Seva
093640478c
Moving to miosix kernel: adapted GDx drivers and part of the common code to new configuration
2021-03-13 09:16:06 +01:00
Silvano Seva
7992b4abca
Moving to miosix kernel: adapted MDx drivers to new configuration
2021-03-13 09:16:06 +01:00
Silvano Seva
60b9c8b516
Made linker emit a warning whenever common symbols are merged. Fixed some variables having an unnecessary global scope and being subject to common linkage
2021-02-25 17:00:28 +01:00
Silvano Seva
b699fb4d00
Trying to fix screen rotated by 180° on MD-380V devices
2021-02-17 21:14:26 +01:00
Niccolò Izzo
4d66d8b1af
Fix various warnings
2021-02-17 11:21:46 +01:00
Silvano Seva
7bfc8c5fb1
Tentative fix for display rotated of 180° on MD-380V devices. See also #13
2021-02-03 14:52:09 +01:00
Silvano Seva
bcf2aa636c
Final cleanup and renaming of MDx display driver
2021-02-02 11:18:33 +01:00
Silvano Seva
1249a791cc
Automatic display detection and configuration in MDx display driver
2021-02-02 10:36:54 +01:00
Silvano Seva
c87f178823
Fixed bug in UC1701 preventing some settings to be correctly applied
2021-01-30 07:53:37 +01:00
Silvano Seva
92870f477f
Added display API function to set LCD contrast
2021-01-26 08:53:42 +01:00
Niccolò Izzo
c77cc46fb6
Fix include syntax
...
Interface header includes have acquired the interface prefix, to
distinguish them from regular header includes.
2020-12-24 16:30:13 +01:00
Silvano Seva
85a41a5ca7
On MDx targets made the ADC DMA trasfer priority higher than the DMA framebuffer one to avoid ADC overruns due to the ADC DMA transfer being suspended by the framebuffer ones
2020-12-19 21:57:43 +01:00
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