Wykres commitów

136 Commity (81a2e1fc22c63f555536d159268d97338d9f690f)

Autor SHA1 Wiadomość Data
Federico Amedeo Izzo 32bbbfb9de GFX: Remove missing dots workaround 2020-11-26 22:22:07 +01:00
Federico Amedeo Izzo 00fd786b8e UI: Switch to alternative splash screen 2020-11-26 21:12:05 +01:00
Federico Amedeo Izzo b4952592aa UI: Add alternative Splash Screen 2020-11-26 17:18:53 +01:00
Federico Amedeo Izzo f7b1423053 UI: Fix uint32_t frequency printing 2020-11-26 16:53:17 +01:00
Silvano Seva 5d964f3358 Reorganised radio state data structure, bringing in new channel_t variable. 2020-11-26 15:25:26 +01:00
Silvano Seva 4dbdb5ddbb Implemented reading of channel data from external flash memory for MDx targets 2020-11-25 16:40:17 +01:00
Silvano Seva 9ba2c79425 Code changes to remove a bunch of compiler warnings 2020-11-24 17:27:30 +01:00
Silvano Seva 380f489eb0 Changed underlying type of 'freq_t' from 'float' to 'uint32_t' 2020-11-24 15:39:10 +01:00
Silvano Seva 65e4643f1e Code cleanup and suppression of some compilation warnings 2020-11-24 14:23:05 +01:00
Federico Amedeo Izzo 32ccd29c5c State: Add sane initialization 2020-11-21 11:02:49 +01:00
Federico Amedeo Izzo 3370e5a3a7 Add shared state logic 2020-11-21 10:46:48 +01:00
Silvano Seva 310f19c6b7 API to access external nonvolatile memory, implementation for MD3x0 devices and testsuite for printing calibration values of MD3x0 devices 2020-11-21 09:37:12 +01:00
Federico Amedeo Izzo bd176d7142 Fonts: Manually fixed font to make it more symmetric 2020-11-19 22:59:15 +01:00
Niccolò Izzo a6c9bf6dd8 Quick fix of missing dots 2020-11-19 22:18:36 +01:00
Federico Amedeo Izzo 56dfb38c2a UI: Hide random pixels with a 30ms delayed backlight 2020-11-19 21:41:28 +01:00
Federico Amedeo Izzo 0ebd942c7a UI: Move VFO to 2nd and 3rd line, remove VFO Demo text 2020-11-19 21:02:19 +01:00
Federico Amedeo Izzo 0f0d6fe344 UI: Add top and bottom lines 2020-11-19 17:05:10 +01:00
Federico Amedeo Izzo f2d9db024c Graphics: Add drawHLine and drawVLine functions 2020-11-18 16:56:32 +01:00
Federico Amedeo Izzo 0b8bb486a4 UI: Add VFO Demo text 2020-11-18 10:12:14 +01:00
Federico Amedeo Izzo 39d5912adc UI: Add 3 font sizes, fix UI padding for new fonts. 2020-11-17 22:50:27 +01:00
Niccolò Izzo 1639ddf174 Remove OpenGD77 font 2020-11-17 14:42:23 +01:00
Niccolò Izzo 91d0e05af7 Replace OpenGD77 fonts with Adafruit GFX fonts
OpenGD77 custom binary font format was replaced with Adafruit GFX
library standard font format, to be able to reuse all the available
fonts, together with the relative tools.
2020-11-17 14:42:23 +01:00
Niccolò Izzo c0ed3a7466 Add Adafruit GFX library fonts 2020-11-17 14:32:54 +01:00
Silvano Seva e2dd96356d Refactored UI source code 2020-11-16 09:03:03 +01:00
Silvano Seva 86e7f82ace Moved platform initialisation to main() function 2020-11-16 08:42:10 +01:00
Silvano Seva 1b4b000b66 Adding file left behind in the previous commit 2020-11-15 22:25:43 +01:00
Silvano Seva b06b120148 Reorganising thread structure, moving thread bodies and thread creation function into a dedicated source file to make overall source code more easily readable 2020-11-15 22:23:32 +01:00
Federico Amedeo Izzo 11854aaaa6 ui.c: Remove infinite loop, now handled by task execution in main.c 2020-11-15 21:25:42 +01:00
Federico Amedeo Izzo 3feaa992b8 main.c: Set task priorities 2020-11-15 10:13:32 +01:00
Federico Amedeo Izzo 1000133c01 Create thread structure
Now main.c creates four threads to manage
- UI
- Platform state
- Analog radio
- Digital radio

Every thread has an entry point named `*_main()` like `ui_main()`
that gets executed periodically depending on the given interval
2020-11-14 19:33:56 +01:00
Silvano Seva 5ba7563638 Added missin include to ui.c 2020-11-03 21:47:10 +01:00
Federico Amedeo Izzo 45849c0f60 UI: Fix missing zeroes from clock and VBat 2020-11-03 15:15:36 +01:00
Federico Amedeo Izzo 1bed1b5cfe Remove dubious font 2020-11-03 15:15:36 +01:00
Federico Amedeo Izzo 58cb6857a5 UI: Add responsive layout calculation 2020-11-03 15:15:36 +01:00
Federico Amedeo Izzo a19ba1785e UI: Add VFO frequency to main screen 2020-11-03 15:15:36 +01:00
Federico Amedeo Izzo 46add610e1 UI: Add battery indicator 2020-11-03 15:15:36 +01:00
Federico Amedeo Izzo c0e4115482 UI: Add clock to top bar, add rtc.c for Linux 2020-11-03 15:15:36 +01:00
Fred 09be53b24a Fix keyboard variable size 2020-11-03 15:15:36 +01:00
Silvano Seva ce0e901d78 Fixed missing SysTick initialisation when compiling for x86 target 2020-11-03 15:15:36 +01:00
Federico Amedeo Izzo 7f557cb758 UI: Add ascii art explaination 2020-11-03 15:15:36 +01:00
Federico Amedeo Izzo a2b2b602dd Add initial UI main 2020-11-03 15:15:36 +01:00
Federico Amedeo Izzo b0e83c4303 Fix compilation for MD-UV380 2020-11-03 15:15:36 +01:00
Silvano Seva b0f5341304 Added flag for 'monitor' button to keyboard driver, implemented 'monitor' and 'function' buttons in MDxx380 keyboard driver 2020-11-03 15:15:36 +01:00
Silvano Seva 2350103831 Made platform_getVbat returning the battery voltage in V instead of mV. 2020-11-03 15:15:36 +01:00
Silvano Seva 50f6799ab9 Little improvements in platform test: reduced delay and blinking green led to signal effective code execution 2020-11-03 15:15:36 +01:00
Federico Amedeo Izzo 1877f92905 main.c: Add Platform test 2020-11-03 15:15:36 +01:00
Silvano Seva 8a3872e5f9 Added to platform API a function which allows to query the PTT status 2020-11-03 15:15:36 +01:00
Silvano Seva af2e4eb372 Adding keyboard interface API 2020-11-03 15:15:36 +01:00
Silvano Seva 8b7ec5b4ce Removing useless include from bootstrap.c 2020-11-03 15:15:36 +01:00
Federico Amedeo Izzo 0c198d100d Add missing `#include <hwconfig.h>` 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
Fred 75dd0d2fab bootstrap.c: remove unused include 2020-11-03 15:15:36 +01:00
Silvano Seva 00d726ddbc Moved bootstrap code into a dedicated file to improve readability 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
Silvano Seva 160b23f1b7 Fixed pixel setting in black and white graphics driver 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 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 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
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 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 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 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
Federico Amedeo Izzo 60dd623ddd graphics.h: Add initial version 2020-11-03 15:15:35 +01:00
Federico Amedeo Izzo b324665b0f Fixed typo in display.h 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 ad8d89cd3e Testing uC/OS-III on STM32F4 MCU 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 4ab8cb55e8 Creating folder structure 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