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
Niccolò Izzo
5949a481fa
Add synchronization between radio state and RTX
...
Now the FSM update function takes an additional parameter, which
determines if the radio state has to be synchronized with the RTX state.
If so, the ui_task does the job.
2020-12-18 21:44:59 +01:00
Niccolò Izzo
92ef5fe896
Update .gitignore
2020-12-18 19:25:28 +01:00
Niccolò Izzo
85b1fb08e6
Fix printing horizontal start coordinates
2020-12-18 19:21:23 +01:00
Niccolò Izzo
c7e928666c
Move low battery screen into main FSM
2020-12-18 19:03:57 +01:00
Federico Amedeo Izzo
2c792c13a2
kbd_task: Increase long-press threshold to 0.7
2020-12-18 18:42:17 +01:00
Federico Amedeo Izzo
95a8e99605
kbd_task: Send keyboard event when the key is pressed, not when it's lifted
2020-12-18 18:42:17 +01:00
Silvano Seva
1f8840b3ca
Reorganised and cleaned up GD77 BSP files
2020-12-18 18:28:47 +01:00
Niccolò Izzo
98cd741c88
Adjust voltage thresholds
2020-12-18 17:46:15 +01:00
Silvano Seva
431d445c77
Adding stub RTX driver for GDx devices
2020-12-18 17:16:08 +01:00
Niccolò Izzo
9df60008a2
Change long press interval to half a second
2020-12-18 10:27:29 +01:00
Federico Amedeo Izzo
400a766f54
kbd_task: improve long-press behaviour
2020-12-17 23:15:56 +01:00
Federico Amedeo Izzo
e59085a85e
Increase keyboard stack size on ARM targets
2020-12-17 22:36:36 +01:00
Federico Amedeo Izzo
67aac8a68e
kbd_task: Replace renderingInProgress() check with display mutex
2020-12-17 22:30:08 +01:00
Federico Amedeo Izzo
3c00802330
threads.c: Avoid reading keyboard status while display is rendering
2020-12-17 22:18:44 +01:00
Federico Amedeo Izzo
b5c06d5459
Fix new keyboard task
2020-12-17 22:18:44 +01:00
Silvano Seva
81a2e1fc22
Fixed missing padding in kbd_msg_t bitfield struct
2020-12-17 22:18:44 +01:00
Federico Amedeo Izzo
749f5a1444
KBD: Correct key pressed/lifted check
2020-12-17 22:18:44 +01:00
Federico Amedeo Izzo
ee6f87c735
KBD: Add missing keyboard state save
2020-12-17 22:18:44 +01:00
Federico Amedeo Izzo
b7d3e0b91d
UI: Adapt updateFSM() to new keyboard message format
2020-12-17 22:18:44 +01:00
Federico Amedeo Izzo
970f3553c4
kbd_task refactoring, add long-press detection logic
2020-12-17 22:18:44 +01:00
Federico Amedeo Izzo
599569f236
Add UV3x0 RTX stub
2020-12-17 22:18:09 +01:00
Federico Amedeo Izzo
99bd45d465
Add linux RTX stub
2020-12-14 15:31:39 +01:00
Silvano Seva
0d5a703521
Began integrating RTX driver with all the other code
2020-12-13 11:44:07 +01:00
Silvano Seva
4f0ffe8565
Improved message passing mechanism for rtx driver configuration
2020-12-13 09:17:08 +01:00
Silvano Seva
d98611fbed
Updated 'display_render' documentation
2020-12-12 10:23:14 +01:00
Silvano Seva
6ca3faceaf
Made calls to 'display_renderRows' and 'display_render' blocking, thus not requiring anymore to busy wiat on 'display_renderingInProgress'. Modifications involved only MDx display driver, the others were already blocking.
2020-12-12 10:16:26 +01:00