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
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
Federico Amedeo Izzo
1bed1b5cfe
Remove dubious font
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
Fred
09be53b24a
Fix keyboard variable size
2020-11-03 15:15:36 +01:00
Federico Amedeo Izzo
a2b2b602dd
Add initial UI main
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
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
Federico Amedeo Izzo
6b0f0242d1
Remove screenWidth and screenHeight getters.
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
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
Federico Amedeo Izzo
310ff3839c
Add platform.h interface definition
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
Federico Amedeo Izzo
09602387b2
graphics_rgb565.c: Implement drawing empty rectangles
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
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
327d8c193c
Start migrating code from previous work
2020-11-03 15:15:35 +01:00