Silvano Seva
92870f477f
Added display API function to set LCD contrast
2021-01-26 08:53:42 +01:00
Federico Amedeo Izzo
5a37ba3e8a
CPS: Add dummy zones and contacts generation on Linux
2021-01-24 19:01:51 +01:00
Silvano Seva
41a413cfdd
RTX support for GD77 target
2021-01-24 18:59:12 +01:00
Silvano Seva
b9ddaca42c
Added TX support to GDx baseband driver
2021-01-24 18:59:12 +01:00
Silvano Seva
4e4130e524
Added some missing setters for AT1846S calibration and fixed other ones
2021-01-24 18:59:12 +01:00
Silvano Seva
72220c377e
Implemented RTX driver for GDx platform, by now only supporting RX
2021-01-24 18:59:12 +01:00
Silvano Seva
8afa1d700e
Driver for HR_C6000 baseband IC
2021-01-24 18:59:12 +01:00
Silvano Seva
b2eb042d2b
Driver for AT1846S baseband IC
2021-01-24 18:59:12 +01:00
Silvano Seva
9802bc4e75
Started implementation of baseband drivers for GDx platforms
2021-01-24 18:59:12 +01:00
Federico Amedeo Izzo
302eb572be
CPS: Add Zone and Contact reading function stubs
2021-01-24 18:11:09 +01:00
Federico Amedeo Izzo
d3796971df
NVMEM: Fix compiler warning on linux
2021-01-24 16:29:48 +01:00
Federico Amedeo Izzo
0608176342
CPS: Read contact data from codeplug
2021-01-23 11:28:12 +01:00
Federico Amedeo Izzo
33336ecccc
CPS: Return -1 when reading an empty channel or zone
2021-01-23 10:38:18 +01:00
Federico Amedeo Izzo
fe35d4017a
CPS: Fix zone data reading
2021-01-23 10:05:18 +01:00
Federico Amedeo Izzo
489326f5cd
CPS: Fix zone extension reading
2021-01-22 21:23:45 +01:00
Federico Amedeo Izzo
6706a796ad
CPS: Add code to read zone data from Codeplug
2021-01-22 21:16:13 +01:00
Silvano Seva
4bbad17012
Refactoring of data structure for GDx calibration data: 'vhfCal' and 'uhfCal' fields merged into a single two-element array field
2021-01-21 12:34:11 +01:00
Federico Amedeo Izzo
cb4b55d9a3
NVM: Remove unused duplicate driver
2021-01-13 21:13:14 +01:00
Federico Amedeo Izzo
6b47a32292
UI NVM: Fix base address for UV3x0 radios, and convert from 10*Hz to Hz
2021-01-10 11:50:03 +01:00
Federico Amedeo Izzo
47c20f8cff
NVM: Convert freq from tens of Hz to Hz when reading CPS channel
2021-01-10 11:27:01 +01:00
Federico Amedeo Izzo
73c9ab56a6
UI: Channel mode: load channel from cps and do basic validation
2021-01-10 10:18:29 +01:00
Niccolò Izzo
adc48efb19
Implement CTCSS available tones array
...
Now the CTCSS tones are taken from an array and indexed from that array.
A macro that sets the tone has been implemented.
2021-01-05 11:26:22 +01:00
Niccolò Izzo
bbcd6483a2
Add tone enable flags into channel data structure
2021-01-05 10:08:18 +01:00
Niccolò Izzo
2fe6cd1cb6
Implement draft of the macro menu feature
2021-01-05 10:08:18 +01:00
Silvano Seva
a057d2bfee
Fix for MD3x0 rtx driver transmitting TX CTCSS tone even if settings tell it as disabled
2021-01-05 09:42:52 +01:00
Silvano Seva
8010302d4d
Tone generator and GPIO for audio control on MD-UV380 platform
2021-01-04 20:53:42 +01:00
Silvano Seva
41e6c1d1e6
Added flags to enable TX and RX tones in rtxStatus_t
2021-01-04 08:58:17 +01:00
Federico Amedeo Izzo
5f5c993f9a
Remove separate MD-UV380G platform files.
...
From now on they will be shared with MD-UV380,
with only a GPS define set in meson.build.
2021-01-03 08:25:37 +01:00
Silvano Seva
16e4642b97
Fix for first part of #11 , caused by VCO not being updated when a new configuration is received by the rtx driver
2021-01-02 21:19:26 +01:00
Silvano Seva
403f37844f
Fixed compilation error for MD-UV380G target
2021-01-02 19:39:59 +01:00
Silvano Seva
48775a71fd
Finalising merge of branch master into GDx-development
2021-01-02 15:17:15 +01:00
Silvano Seva
206daec861
Driver for nonvolatile external memory on GDx devices, by now only supporting retrieval of calibration parameters
2021-01-02 15:07:14 +01:00
Silvano Seva
ff7216e9cd
Driver for AT24Cx external EEPROM present on GDx devices
2021-01-02 15:07:14 +01:00
Silvano Seva
b393cdad8d
Added locking mechanism to MK22FN512xx I2C0 driver to allow for multithread use
2021-01-02 15:07:14 +01:00
Silvano Seva
56d56e901f
Driver for MK22FN512xx I2C0 peripheral
2021-01-02 15:07:14 +01:00
Silvano Seva
5581276ec5
Calibrated delayMs and delayUs on MK22FN512xx MCU
2021-01-02 15:07:14 +01:00
Silvano Seva
efb235ae4e
Fixed issues with _read_r in MK22FN512xx libc integration code
2021-01-02 15:07:14 +01:00
Silvano Seva
aad19cc41c
Driver for external SPI flash memory on Baofeng DM-1801
2021-01-02 15:07:14 +01:00
Silvano Seva
d9f6ea31ab
Separated code for SPI communication from sources of external flash memory driver.
2021-01-02 15:07:14 +01:00
Federico Amedeo Izzo
89813199d3
Add dummy nvmem Linux driver
2021-01-02 12:10:10 +01:00
Federico Amedeo Izzo
b74dba7564
Differentiate MDUV380G target from MDUV380
2021-01-02 12:08:58 +01:00
Federico Amedeo Izzo
08087cb14a
linux-keyboard.c: Fix 0 key contantly pressed on Linux
2021-01-01 20:41:15 +01:00
Federico Amedeo Izzo
94b7be826a
Disable RTC related code on platforms without a functional RTC
2021-01-01 18:58:35 +01:00
Federico Amedeo Izzo
8163eba67b
Add MD-9600 support, boot and USB serial working
2021-01-01 18:32:50 +01:00
Silvano Seva
a8b18b68d7
Mapped DM1801 VFO/MR button to KEY_F3 and A/B button to KEY_F4
2021-01-01 18:00:51 +01:00
Silvano Seva
7cc4b36907
Suppressed some compiler warnings
2021-01-01 17:31:42 +01:00
Silvano Seva
8b6f4e3056
Renamed rtc_shutdown() and toneGen_shutdown() to rtc_terminate() and toneGen_terminate()
2020-12-31 18:31:00 +01:00
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
Federico Amedeo Izzo
d4bc1bbd9c
RTC: Fix Linux RTC driver date format
2020-12-28 16:02:41 +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
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
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
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
Silvano Seva
1f8840b3ca
Reorganised and cleaned up GD77 BSP files
2020-12-18 18:28:47 +01:00
Silvano Seva
431d445c77
Adding stub RTX driver for GDx devices
2020-12-18 17:16:08 +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
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
Fred
1a11ff8401
Optimize libSDL driver for RGB565
2020-12-11 14:41:44 +01:00
Silvano Seva
47dd9e2046
Fixed glitching keyboard buttons on MDx targets
2020-12-11 14:41:44 +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
Silvano Seva
bb53b5ccef
Added squelch system to MD3x0 rtx driver
2020-12-06 19:33:27 +01:00
Silvano Seva
2c0b75b221
Added CTCSS TX tone
2020-12-06 19:33:27 +01:00
Silvano Seva
41d09ce28e
Cleaned up HR_C5000 driver source file
2020-12-06 19:33:27 +01:00
Silvano Seva
0fee5acbf0
Complete refactoring of both rtx API and its implementation for MD3x0 platforms
2020-12-06 19:33:27 +01:00
Silvano Seva
6e144a7160
Fixed bug in MD3x0 calibration loader, made the input parameters of 'interpCalParameter' const
2020-12-06 19:33:27 +01:00
Silvano Seva
b1412dedb8
Added 'OSIntEnter'/'OSIntExit' to MDx tone generator ISR
2020-12-06 19:33:27 +01:00
Silvano Seva
aa0e1f479e
Fixed error in function to set HR_C5000 modulation bias, merged rx and tx testsuites for MD380
2020-12-06 19:33:27 +01:00
Silvano Seva
29f5b82488
Refactoring code of HR_C5000 driver, adding documentation and sharpening its API.
2020-12-06 19:33:27 +01:00
Silvano Seva
bd9a258541
More refactoring of HR-C5000 driver, cleaning up command sequences
2020-12-06 19:33:27 +01:00
Silvano Seva
88ea167804
Began refactoring of HR-C5000 driver
2020-12-06 19:33:27 +01:00
Silvano Seva
46f68ebca6
First skeleton of a driver for HR-C5000 and made TX working on TYT MD-380
2020-12-06 19:33:27 +01:00
Silvano Seva
55b182406d
Initial implementation of rtx driver for TYT MD-380 radio, by now supporting only analog FM reception
2020-12-06 19:33:27 +01:00
Federico Amedeo Izzo
17376b819a
hwconfig: Define MAX_VBAT for MD-UV380
2020-12-06 18:29:38 +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
Fred
41ecb11d3a
Add GD77 keyboard driver
2020-12-05 15:27:04 +01:00
Fred
c096e946a4
Change GD77 display padding and font size
2020-12-04 20:49:04 +01:00
Fred
0d437b239d
Add GD77 keyboard file
2020-12-04 20:39:20 +01:00
Fred
5d9ac78548
Fix GD77 display driver
2020-12-04 20:39:20 +01:00
Silvano Seva
8762a9e3a8
Display driver for GD77, still work in progress
2020-12-04 20:39:19 +01:00
Silvano Seva
eaaaca648b
Support package for Radioddity GD77
2020-12-04 20:39:19 +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
d4cdba2243
Moved calibration data structures from 'platform/drivers/NVM' to 'openrtx/include/calibration', since various modules need them
2020-12-04 10:27:04 +01:00
Fred
7db1ee28e8
Fix gcc warnings in emulator.c
2020-11-29 13:29:11 +01:00