Commit Graph

29 Commits

Author SHA1 Message Date
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 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
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
Silvano Seva f7fde110bb Tone generator for CTCSS and user interface 'beep' on MD380 2020-11-13 14:31:43 +01:00
Silvano Seva a5eeca7dae Moving ADC driver for MDxx380 family to common drivers folder. 2020-11-13 08:58:10 +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
Federico Amedeo Izzo 46add610e1 UI: Add battery indicator 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
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 8a3872e5f9 Added to platform API a function which allows to query the PTT status 2020-11-03 15:15:36 +01:00
Silvano Seva bdd5ea6c7b Implemented display backlight regulation for MD-UV380 2020-11-03 15:15:36 +01:00
Silvano Seva 6e758fe92b Initial implementation of the platform API for MD-UV380 target 2020-11-03 15:15:36 +01:00
Silvano Seva 05f180f596 Implementing the remaining API specified in platform.h for MD380 target 2020-11-03 15:15:36 +01:00
Federico Amedeo Izzo cb099b1171 Add MD-UV380 platform files 2020-11-03 15:15:36 +01:00
Fred 3671b737d9 Fix gcc printf warning 2020-11-03 15:15:36 +01:00
Fred 1d0fff3489 Add platform files for linux build 2020-11-03 15:15:36 +01:00
Silvano Seva 7ff11ff5a3 Fixing compilation issues after having added hwconfig.h and platform.c for MD380 radio 2020-11-03 15:15:36 +01:00
Silvano Seva ba40d5f70f Moving GPIO definitions to hwconfig.h 2020-11-03 15:15:36 +01:00
Silvano Seva beb33ff244 Moved constants for screen dimensions to platform-dependent hwconfig file 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
Silvano Seva 4ab8cb55e8 Creating folder structure 2020-11-03 15:15:35 +01:00