Silvano Seva
8b60ad83b4
Added sample averaging to MDx ADC driver
2020-11-25 10:26:53 +01:00
Silvano Seva
50771c8bbe
Moved macro for compile-time definition of the current target from per-target 'hwconfig.h' files to meson.build
2020-11-24 17:39:19 +01:00
Silvano Seva
9ba2c79425
Code changes to remove a bunch of compiler warnings
2020-11-24 17:27:30 +01:00
Silvano Seva
7a6f39ad26
Added NVM driver compilation for all the MDx family devices and reorganised the platform test printing the calibration, now merged into one single file for all the MDx devices.
2020-11-24 15:42:57 +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
Silvano Seva
8efbfab6e1
Fixed parsing errors in MD-UV3x0 calibration data loader
2020-11-24 12:41:20 +01:00
Silvano Seva
e690a36dd1
Implemented NVM interface API also for MD-UV3x0 targets
2020-11-24 12:41:20 +01:00
Silvano Seva
8ddebef197
Dumping security registers of MD-UV380
2020-11-24 12:41:20 +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
Silvano Seva
9b14e9fae7
Low-level driver for external SPI flash memory on MDx family devices
2020-11-20 14:47:52 +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
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