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
Silvano Seva
89e822813b
Adding the remaining part of issue #5 fix, forgot in the previous commit
2020-11-15 21:16:49 +01:00
Silvano Seva
72988cd5cf
Fix for both issue #5 and a bug in keyboard driver leading to undetected keypresses in some cases
2020-11-15 20:38:28 +01:00
Federico Amedeo Izzo
3feaa992b8
main.c: Set task priorities
2020-11-15 10:13:32 +01:00
Nimayer
e15e96caa7
README.md: Improve wiki links
2020-11-15 09:43:10 +01:00
Nimayer
4b08cf60ab
README.md: Moved compilation instructions to the wiki
2020-11-15 09:39:20 +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
7ef248f488
Renamed tests to better describe their function
2020-11-14 15:16:36 +01:00
Silvano Seva
793a2dcd52
Adding build target for Tytera MD-390 radio
2020-11-13 16:57:49 +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
Nimayer
e0b6be353b
README.md: Add radio_tool instructions for flashing
2020-11-13 14:45:57 +01:00
Silvano Seva
f7fde110bb
Tone generator for CTCSS and user interface 'beep' on MD380
2020-11-13 14:31:43 +01:00
Niccolò Izzo
d261f3e8fe
Add optional AddressSanitizer
2020-11-13 12:38:59 +01:00
Silvano Seva
eb876f1b0c
Fixed bad clock tree configuration for STM32F405 MCU
2020-11-13 12:27:07 +01:00
Silvano Seva
a5eeca7dae
Moving ADC driver for MDxx380 family to common drivers folder.
2020-11-13 08:58:10 +01:00
Niccolò Izzo
6445eb0950
Move selection of linker script in meson.build
...
Now the linker script was moved from cross_arm.txt into meson.build, so
that the same cross_arm.txt can be used for both the MD380 and the GD77.
2020-11-12 22:10:13 +01:00
Fred
a18a11837c
Add keyboard test
2020-11-11 11:02:22 +01:00
Fred
f10a6e426c
Improve SDL keyboard event handling
2020-11-11 11:01:27 +01:00
Silvano Seva
b4b3b3fa5a
Fixing screen orientation for MD380
2020-11-03 22:46:58 +01:00
Silvano Seva
6c2e3153c7
Added, for each hconfig.h, a define directive to allow to uniquely identify the target platform during compilation
2020-11-03 22:41:34 +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
Fred
9f9b76e9b5
Make the SDL window resizable
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
Federico Amedeo Izzo
a36fbc97a1
Default linux simulation to color display
2020-11-03 15:15:36 +01:00
Federico Amedeo Izzo
4249047cb1
Add Frederik as author, add dependencies for Fedora
2020-11-03 15:15:36 +01:00
Silvano Seva
4cdc51a36b
Temporarily disabling critical sections in STM32 RTC driver due to compilation issues, to be fixed
2020-11-03 15:15:36 +01:00
Silvano Seva
71e41ec869
Refining meson.build structure for better readability and source management
2020-11-03 15:15:36 +01:00
Fred
09be53b24a
Fix keyboard variable size
2020-11-03 15:15:36 +01:00
Fred
3d1f255d46
Add keyboard implementation for linux
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
90023459f5
Move test main.c to tests/platform/
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
a232caf7ec
Cleaned up MD-UV380 hwconfig and platform API implementation, removed pins and function bodies not corresponding to any known functionality.
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
9a94efb1c7
Keyboard driver for MD-380 and MD-UV380
2020-11-03 15:15:36 +01:00
Fred
b434793baf
Add linux implementation of the platform API
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
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
Federico Amedeo Izzo
1877f92905
main.c: Add Platform test
2020-11-03 15:15:36 +01:00
Federico Amedeo Izzo
adb4995653
MD-UV380: Separate target from MD380, add platform.c code
2020-11-03 15:15:36 +01:00
Silvano Seva
fed1146690
Adding channel selector and PTT to MD-380 platform API
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