Wykres commitów

116 Commity (f10a6e426cec6e6f39adb18e987a926c22b4978b)

Autor SHA1 Wiadomość Data
Silvano Seva ba40d5f70f Moving GPIO definitions to hwconfig.h 2020-11-03 15:15:36 +01:00
Silvano Seva 99b2280f76 Adding interface for RTC drivers 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
Federico Amedeo Izzo ddc79bcf0c README.md: small addition 2020-11-03 15:15:35 +01:00
Federico Amedeo Izzo f10347bae0 README.md: Add instructions for running on Linux 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
Silvano Seva 160b23f1b7 Fixed pixel setting in black and white graphics driver 2020-11-03 15:15:35 +01:00
Niccolò Izzo 190548a0d0 Improve handling of missing radio_tool dependency 2020-11-03 15:15:35 +01:00
Federico Amedeo Izzo 838490574e graphics_bw.c: Fixed compilation errors 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
Federico Amedeo Izzo c77ff5b339 graphics_bw.c: Add initial version 2020-11-03 15:15:35 +01:00
Federico Amedeo Izzo b04617007d graphics_rgb565.c Fixed screen size check 2020-11-03 15:15:35 +01:00
Federico Amedeo Izzo 3096146da8 graphics_rgb565.c: Removed backlight setter (now in platform.c)
and fixed license authors
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
Federico Amedeo Izzo a75b9fa635 README.md: Fix linux compile instructions 2020-11-03 15:15:35 +01:00
Federico Amedeo Izzo 41c4dfa0bc meson.build: Make radio_tool and objcopy optional 2020-11-03 15:15:35 +01:00
Federico Amedeo Izzo aafa67c176 main.c: Remove stm34fxx.h include 2020-11-03 15:15:35 +01:00
Federico Amedeo Izzo 310ff3839c Add platform.h interface definition 2020-11-03 15:15:35 +01:00
Niccolò Izzo 0716d7d78c Make radio_tool an optional dependency 2020-11-03 15:15:35 +01:00
Niccolò Izzo 02209e4c1a Add main file stub and display demo
Initial MVP of a main file that prints a text on the radio display.
The code is already platform independent, to be ported effortlessly
to any of the supported platforms.
2020-11-03 15:15:35 +01:00
Niccolò Izzo f6df51c3c3 Rewrite meson.build in a more compact form 2020-11-03 15:15:35 +01:00
Niccolò Izzo 4a27aadcc2 Fix typo 2020-11-03 15:15:35 +01:00
Niccolò Izzo 4b27cb7db2 Add support for wrapping and flashing through meson 2020-11-03 15:15:35 +01:00
Federico Amedeo Izzo 9a5e12d4f0 graphics.h renamed graphics_* to gfx_*
Removed unused print methods
2020-11-03 15:15:35 +01:00
Federico Amedeo Izzo 019b43338f Fix compile instructions 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 027c62b96e Testing MD380 display driver on the radio 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 f4ca5ca025 Moved blinky testsuite from STM32F4 discovery to MD380 for preliminary functionality tests 2020-11-03 15:15:35 +01:00
Niccolò Izzo 8e92a81115 Add wrapping and flashing capabilities to build system
Now the meson build system is able to wrap and flash supported radios,
wrapping targets will be called openrtx_MODEL_wrap and flashing targets
will be called openrtx_MODEL_flash.
2020-11-03 15:15:35 +01:00
Federico Amedeo Izzo 9b26c2d71b Add printing functions from legacy-code branch 2020-11-03 15:15:35 +01:00
Federico Amedeo Izzo 72d739b987 Import OpenGD77 font 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
Niccolò Izzo fabc874d63 Update build instructions and .gitignore 2020-11-03 15:15:35 +01:00
Silvano Seva e9696920a6 Testing graphics driver on MD380 2020-11-03 15:15:35 +01:00
Niccolò Izzo 6420d2b2c1 Add TYT MD380 build target
Add meson cross-compilation configuration for building for the TYT
MD-380 and MD-UV380 radios.
2020-11-03 15:15:35 +01:00
Silvano Seva 603fddfdb0 Fixed drawLine function and endianness issues with pixel format in RGB565 graphics driver 2020-11-03 15:15:35 +01:00
Federico Amedeo Izzo 09602387b2 graphics_rgb565.c: Implement drawing empty rectangles 2020-11-03 15:15:35 +01:00
Federico Amedeo Izzo dac60a7be5 graphics_rgb565.c: Replaced hardtabs with spaces 2020-11-03 15:15:35 +01:00
Federico Amedeo Izzo 05f15d0488 x64_uC.c: Replace hard tabs with spaces 2020-11-03 15:15:35 +01:00
Federico Amedeo Izzo 52b4718deb graphics_rgb565.c: small refactoring. Linux-demo: moved from display interface to graphics interface 2020-11-03 15:15:35 +01:00
Federico Amedeo Izzo 94bece00c0 add graphics_rgb565.c to linux target, fixed compilation errors 2020-11-03 15:15:35 +01:00
Federico Amedeo Izzo 0a3249522f renamed graphics_rgb.c to graphics_rgb565.c 2020-11-03 15:15:35 +01:00
Federico Amedeo Izzo c1982bdf61 graphics_rgb.c: add initial RGB graphic library version 2020-11-03 15:15:35 +01:00
Federico Amedeo Izzo c24e56185c graphics.h: removed getFramebuffer method 2020-11-03 15:15:35 +01:00
Federico Amedeo Izzo f17a9241cc graphics.h Add color and coordinates struct, add fillScreen, drawLine and drawRect prototypes 2020-11-03 15:15:35 +01:00
Federico Amedeo Izzo 810586aa5b display.h: Move get_FrameBuffer() up in the interface file 2020-11-03 15:15:35 +01:00
Niccolò Izzo f5fbe40b96 Fix compilation for GCC 10 2020-11-03 15:15:35 +01:00
Niccolò Izzo 3a4ef7501a Add meson build system 2020-11-03 15:15:35 +01:00
Federico Amedeo Izzo 60dd623ddd graphics.h: Add initial version 2020-11-03 15:15:35 +01:00