Niccolò Izzo
c0ed3a7466
Add Adafruit GFX library fonts
2020-11-17 14:32:54 +01:00
Silvano Seva
c239abbf04
Fixing #6 , caused by arm GCC 10.2.0 now defaulting to -fno-common and not merging multiple definitions of the same variable across different files, a thing upon which uC/OS-III sources seem to rely on.
2020-11-17 13:56:45 +01:00
Federico Amedeo Izzo
65329d044a
add build_arm to .gitignore
2020-11-16 21:29:44 +01:00
Federico Amedeo Izzo
a58eaa2a08
keyboard_linux.c: add kbd_init() implementation to fix compilation on Linux
2020-11-16 21:29:10 +01:00
Silvano Seva
85a89d1f84
Doubled the prescale value of all the timers, since they run at twice the frequency of the bus they are connected to
2020-11-16 18:03:02 +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
76086d567f
Fixed regression affecting USB virtual COM port on TYT MD-380
2020-11-16 11:02:31 +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
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