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
641dcc13e9
UI: Add Time&Date settings, not functional yet
2020-12-31 16:36:32 +01:00
Federico Amedeo Izzo
418fec0ac9
Platform: Fix wrong VHF high limit
2020-12-31 15:06:50 +01:00
Federico Amedeo Izzo
4cfc7d2131
UI: Fix frequency input bug causing incorrect frenquency set
2020-12-31 14:59:21 +01:00
Federico Amedeo Izzo
7a9135d746
Platform: Add frequency limit check
2020-12-31 14:51:19 +01:00
Federico Amedeo Izzo
c2f331467c
UI: Fix bug where key 9 did not work in frequency input
2020-12-31 13:58:49 +01:00
Federico Amedeo Izzo
0769701ccc
UI: Remove unused function
2020-12-31 13:55:12 +01:00
Federico Amedeo Izzo
fc38fe8ed4
UI: replace pow with multiplication in frequency input
2020-12-31 13:51:27 +01:00
Federico Amedeo Izzo
13a8ff9e40
UI: Frequency set minor fix
2020-12-30 22:55:17 +01:00
Federico Amedeo Izzo
3f21c60471
UI: Change frequency input behaviour
2020-12-30 22:48:46 +01:00
Federico Amedeo Izzo
ac0f906257
UI: Implement RX/TX frequency input
2020-12-30 22:23:21 +01:00
Federico Amedeo Izzo
58876ec4f2
UI: Set TX frequency together with RX frequency keeping previous offset
2020-12-30 20:11:05 +01:00
Federico Amedeo Izzo
3309fe6fa1
UI: Add RX frequency input. (WARNING: no frequency bound check present)
2020-12-30 19:55:51 +01:00
Niccolò Izzo
73c7b74a3a
Add input parsing functions
...
Input parsing functions are moved into input.c/input.h, and currently
contain functions to determine if a number is pressed and to extract the
pressed number.
2020-12-30 15:46:43 +01:00
Federico Amedeo Izzo
d4bc1bbd9c
RTC: Fix Linux RTC driver date format
2020-12-28 16:02:41 +01:00
Federico Amedeo Izzo
3ecf27392e
UI: Calculate menu entries num instead of using a define
2020-12-28 09:31:33 +01:00
Federico Amedeo Izzo
ce768c3c8a
UI: Add menu scroll to fit more menu entries on small screens
2020-12-27 20:45:49 +01:00
Federico Amedeo Izzo
e5ac363081
UI: Fix menu list position on GDx family
2020-12-27 17:42:27 +01:00
Federico Amedeo Izzo
692bd970e0
meson.build: Add commented GDx family display emulation
2020-12-27 15:43:02 +01:00
Federico Amedeo Izzo
f9b9f7ecf6
UI: Add menu selection wrap-around
2020-12-27 15:26:50 +01:00
Federico Amedeo Izzo
f88c09ccd6
Correct error in udev rules
2020-12-27 12:10:53 +01:00
Federico Amedeo Izzo
63986a34d5
Add platform name to udev rules file
2020-12-27 12:07:24 +01:00
Federico Amedeo Izzo
e24b4535d8
Add udev rule to flash radios from non-root users
2020-12-27 11:54:23 +01:00
Federico Amedeo Izzo
aca804c738
KBD: Fix double events generated from long + short press.
...
The problem was caused by kbd_task() sending an old copy
of the keyboard map.
This was necessary when the events were triggered on key lift
but since now events are sent on key press, this is no more necessary.
2020-12-24 17:29:24 +01:00
Niccolò Izzo
aeea305228
Switch to angular brackets include notation
2020-12-24 16:30:45 +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
Federico Amedeo Izzo
1f4fba958b
KBD: Add function to tell if number keys are pressed
2020-12-23 11:05:59 +01:00
Federico Amedeo Izzo
7888a7e398
UI: Add time and date settings, cannot be set right now
2020-12-22 17:49:00 +01:00
Silvano Seva
f38ce61dc9
ADC driver for GDx targets
2020-12-22 15:29:32 +01:00
Silvano Seva
0f09504453
Integrated MK22FN512xx USB VCOM driver with stdio system
2020-12-22 12:16:01 +01:00
Silvano Seva
498109a672
Second cleanup pass to MK22FN512xx USB VCOM driver sources
2020-12-22 11:05:50 +01:00
Silvano Seva
83d438ec15
USB VCOM for MK22FN512xx targets almost ready
2020-12-22 09:06:03 +01:00
Silvano Seva
4d4a561345
First cleanup pass to USB VCOM sources
2020-12-21 21:55:37 +01:00
Silvano Seva
626d710151
Initial USB VCOM driver
2020-12-21 21:36:22 +01:00
Silvano Seva
4f34822db2
Implemented backlight dimming for GD77 and DM-1801 targets
2020-12-21 12:55:34 +01:00
Silvano Seva
7b442047ec
Increased MK22FN512xx clock frequency to ~120MHz
2020-12-21 11:08:17 +01:00
Silvano Seva
18709607b3
Board support package for Radioddity DM-1801
2020-12-20 15:14:50 +01:00
Federico Amedeo Izzo
7b9e3eaff2
UI: Reset menu selection when moving between submenus
2020-12-20 11:00:59 +01:00
Federico Amedeo Izzo
ec60dc8273
UI: Add Settings submenu, small refactoring
2020-12-20 10:47:07 +01:00
Federico Amedeo Izzo
a9d4aa08a8
UI: Add menu selection
2020-12-20 09:24:57 +01:00
Federico Amedeo Izzo
423c3f04d3
UI: Add menu list drawing function, small refactoring.
2020-12-20 09:07:48 +01:00
Silvano Seva
85a41a5ca7
On MDx targets made the ADC DMA trasfer priority higher than the DMA framebuffer one to avoid ADC overruns due to the ADC DMA transfer being suspended by the framebuffer ones
2020-12-19 21:57:43 +01:00
Federico Amedeo Izzo
1f6bfa4cff
RTX: Remove printf from UV3x0 RTX stub, fixes issue #9
2020-12-19 16:46:00 +01:00
Federico Amedeo Izzo
ce09f2c208
kbd_task: Get timestamp after mutex to avoid getting incorrect timestamp
...
on mutex blocking
2020-12-19 15:45:42 +01:00
Niccolò Izzo
8d55a3e702
Implement alpha channel in graphics library
...
Alpha channel can be used to draw transparent objects.
2020-12-19 15:03:00 +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
f0862abac1
On MD3x0 baseband, fixed PLL going nuts for some frequencies (e.g. 430.0MHz) and causing the radio transmitting on a shifted band.
2020-12-19 10:12:05 +01:00
Niccolò Izzo
d74bece14e
Sane default values for the channel struct
2020-12-18 22:42:39 +01:00
Silvano Seva
424d337442
Added compilation of (mock) RTC driver for MK22FN512 MCU, was left behind in previous commit
2020-12-18 21:54:34 +01:00
Silvano Seva
fc67d89abd
Increased rtx task stack size to 512 bytes
2020-12-18 21:52:45 +01:00