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
Niccolò Izzo
696759c7e7
Remove old Makefile
...
Now meson.build is fully capable of building for all our supported
devices, thus we are eliminating the legacy Makefiles.
2020-11-19 21:27:42 +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
Silvano Seva
1cf2a40182
Changed names of source files for MDx drivers to comply to new naming convention
2020-11-19 18:24:28 +01:00
Federico Amedeo Izzo
0f0d6fe344
UI: Add top and bottom lines
2020-11-19 17:05:10 +01:00
Silvano Seva
552a88ed4c
Reorganising includes in MDxx380 tone generator source file
2020-11-19 12:53:13 +01:00
Fred
de6fa813af
Move assets folder and add splash screen gif
2020-11-19 12:31:28 +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
Fred
610da21013
Fix emulator compilation errors
2020-11-17 21:58:24 +01:00
Federico Amedeo Izzo
fc3ee1d6ed
emulator.h: Remove not needed SDL_image dependency
2020-11-17 18:00:38 +01:00
Fred
e917738516
Add initial emulator implementation
2020-11-17 15:44:06 +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
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