Commit Graph

18 Commits

Author SHA1 Message Date
Silvano Seva 142d6e90b9 In all the platforms having it, added RTC initialisation to platform_init() 2020-12-31 17:55:04 +01:00
Federico Amedeo Izzo 418fec0ac9 Platform: Fix wrong VHF high limit 2020-12-31 15:06:50 +01:00
Federico Amedeo Izzo 7a9135d746 Platform: Add frequency limit check 2020-12-31 14:51:19 +01:00
Niccolò Izzo c77cc46fb6 Fix include syntax
Interface header includes have acquired the interface prefix, to
distinguish them from regular header includes.
2020-12-24 16:30:13 +01:00
Niccolò Izzo d56fafe1a2 Merge graphics_* into a single compilation unit
The specialized graphics libraries ended up sharing the majority of the
code, now they have been merged into a single library so that the
graphics development can be done quicker without leaving any of the
platforms behind.
2020-12-19 12:49:30 +01:00
Silvano Seva 0d5a703521 Began integrating RTX driver with all the other code 2020-12-13 11:44:07 +01:00
Niccolò Izzo 41ec005680 Implement battery voltage to charge conversion
Voltage to charge nonlinear function is being linearly approximated in
the operating range.
2020-12-11 14:09:36 +01:00
Silvano Seva 2f05bbc6ff Added compilation of MD3x0 rtx source files to MD390 target 2020-12-06 19:49:10 +01:00
Niccolò Izzo 1ee4744cb7 Improve battery icon drawing implementation
Fix a bug where the signature of the battery draw function was not
present, causing a build error. Now the battery size and position is
screen size independent and should work for all layouts.
2020-12-06 16:22:38 +01:00
Niccolò Izzo f1400ac528 Add battery icon 2020-12-06 16:19:46 +01:00
Silvano Seva 774468ae46 Added to platform API a function allowing to retrieve device calibration data 2020-12-04 10:45:03 +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 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 1cf2a40182 Changed names of source files for MDx drivers to comply to new naming convention 2020-11-19 18:24:28 +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 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