Wykres commitów

687 Commity (d4ad8b12b152543ff6c9aaf43396a7a68c1592ad)

Autor SHA1 Wiadomość Data
Niccolò Izzo d4ad8b12b1 Fix bug on MD380
Fixed a bug where pressing the side button would lead to a crash,
probably caused by a misaligned memory access, due to the addition of a
packed attribute.
2021-04-09 13:26:01 +02:00
Silvano Seva 0ca7258f03 MD3x0 bugfixes: fixed wrong ADC conversion sequence preventing squelch opening and corrected control of W/N switch in radio driver 2021-04-09 12:54:53 +02:00
Federico Amedeo Izzo 9fb7ace303 Fix swapped UP/DOWN keys in Display Settings 2021-04-04 20:36:23 +02:00
Silvano Seva a2578ba42d Propagating change of the return value of platform_getChannelSelector 2021-04-03 09:28:27 +02:00
Caleb Jamison e5c5ee90f2 Add support for encoder knob on MD-UV380
Added: qdec, a header only quadrature encoder library

Added: EXTI15_10_IRQHandler to handle the encoder knob

Changed: platform_init() for the MD-UV380 now configures the EXTI15_10
interrupt.

Changed: platform_getChSelector now returns signed int8

Changed: size of settings_t.valid went from 6 to 7
Without this change, pressing the macro button crashes the radio, I
haven't investigated and I don't remember how I found that solution.

Changed: meson.build includes the qdec library
2021-04-03 09:21:47 +02:00
Niccolò Izzo b6eab0fde7 Fix failing boot on MD380 2021-04-02 08:43:31 +02:00
Silvano Seva 1d8596e3c8 Renamed 'MD-UV380' folder and 'PLATFORM_MDUV380' define to, respectively, 'MD-UV3x0' and 'PLATFORM_MDUV3x0' to make them consistent with the meson build target 2021-04-01 08:48:56 +02:00
Silvano Seva 3f9d46dc2a Fixed C6000_setModOffset in MD-UV3x0 HR_C6000 driver, now behaves in the same way as TYT firmware does. Provides a fix for #21, although it still have to be sharpened a bit. 2021-03-31 16:57:35 +02:00
Silvano Seva c13bc94e91 Fixed bug in MD-UV3x0 radio driver making it transmit with 1W output power even when 5W is selected 2021-03-31 15:05:40 +02:00
Silvano Seva 54a790fd80 Brought back left alignment of ADC samples in mic_test 2021-03-31 10:36:19 +02:00
Silvano Seva 247d6e5400 Removed left aligment of ADC samples in mic_test 2021-03-31 10:23:33 +02:00
Silvano Seva 586b60b358 Added code to enable pull-up resistor on mic analog input pin in mic_test.c 2021-03-29 21:41:20 +02:00
Silvano Seva f7653bfe04 Fixed ADC reference clock frequency in mic_test 2021-03-26 22:19:28 +01:00
Silvano Seva 86f6d114e2 Applied __attribute__((packed)) to all data structures to reduce memory footprint 2021-03-26 18:11:22 +01:00
Silvano Seva 9d02ffaea4 Fix for #20, caused by a memory leak when clearing information about GPS satellites in state data structure 2021-03-26 17:50:06 +01:00
Silvano Seva 7f9600cdb7 Moved MDx tone generator sine table to FLASH 2021-03-26 16:33:08 +01:00
Silvano Seva d78fce07f5 Test for microphone sampling using MCU 2021-03-26 14:46:52 +01:00
Silvano Seva 90122b0c7a Fixed bug in gps task which made it setting time and date even whithout GPS fix. 2021-03-24 12:28:57 +01:00
Niccolò Izzo f2f7f6dd51 Embedded OpenGD77 wrapping and flashing scripts 2021-03-24 12:09:49 +01:00
Fred 75eac13001 Add gd77 and dm1801 targets to CI 2021-03-24 09:59:58 +01:00
Fred f4e25a3f8f Fix compilation for gd77 and dm1801 targets 2021-03-24 09:25:57 +01:00
Niccolò Izzo d95e0a1513 Print signed GPS longitude as unsigned+direction 2021-03-24 08:54:46 +01:00
Silvano Seva 32e6eb7029 Applied bugfix to MD-UV3x0 radio driver also to GDx one 2021-03-24 08:54:46 +01:00
Federico Amedeo Izzo 75df9b7bb8 Set default squelch to S3 2021-03-24 08:54:46 +01:00
Silvano Seva a20f907330 Fixed issue with RSSI calculation on MD-UV3x0, leading to an output value of +105dBm when AT1846S register read 0x00 2021-03-22 18:01:37 +01:00
Silvano Seva fb295a7aa0 Fixed issues with AT1846S I2C bus on MD-UV3x0, which caused it to work only if additional capacitance was added to SDA line by probing wires, oscilloscope probe, ... 2021-03-21 22:20:11 +01:00
Federico Amedeo Izzo fc65891a29 Renamed target `mduv380` to `mduv3x0 to be consistent with `md3x0` 2021-03-21 18:26:53 +01:00
Federico Amedeo Izzo 75cd4417c7 Restore squelch functionality after mute fix 2021-03-21 17:51:23 +01:00
Federico Amedeo Izzo e8ae618382 Add ifdef to fix compilation on Linux 2021-03-21 11:59:35 +01:00
Federico Amedeo Izzo d964022c01 Add channel and volume knob tests 2021-03-21 11:46:47 +01:00
Federico Amedeo Izzo 3a92547ef5 UV380: Mute speaker when volume knob is set to minimum 2021-03-21 11:42:47 +01:00
Federico Amedeo Izzo e83cc7f849 Remove `mduv380g` target, it is a duplicate of `mduv380` 2021-03-21 09:20:46 +01:00
Federico Amedeo Izzo 42153be082 Macro Menu: Change squelch also with UP and DOWN 2021-03-21 09:14:44 +01:00
Silvano Seva 97e234ecf6 Improved software I2C routines for MD-UV3x0 AT1846S driver 2021-03-20 22:46:43 +01:00
Silvano Seva cfe2a609d5 Aligning delays in MD-UV3x0 AT1846S_init to the original firmware's ones 2021-03-20 11:51:35 +01:00
Federico Amedeo Izzo f1643a8748 Comment AT1846S init from UV380 based on AT1846S programming guide 2021-03-20 11:51:35 +01:00
Silvano Seva 8423efb1b5 Fixed issue causing missing RX audio after a transmission on MD-UV3x0 2021-03-20 11:51:35 +01:00
Silvano Seva 2bde981222 Removed speaker 'POP' on squelch opening and when starting TX with squelch open 2021-03-20 11:51:35 +01:00
Silvano Seva c1abeefd67 Implemented volume control for audio coming from radio stage on MD-UV3x0 and fixed a compilation warning regarding non-const access to a const variable 2021-03-20 11:51:35 +01:00
Silvano Seva 4ed16fb51c Enabled measurement of volume level on MD-UV3x0 2021-03-20 11:51:35 +01:00
Silvano Seva 07d886a442 Fix for PTT gpio non going back to logic high when the corresponding button is released 2021-03-20 11:51:35 +01:00
Silvano Seva a5120ffddc Radio driver for MD-UV3x0 targets 2021-03-20 11:51:35 +01:00
Silvano Seva 9610d0db07 HR_C6000 driver for MD-UV3x0 targets 2021-03-20 11:51:35 +01:00
Silvano Seva 2ece3794a0 AT1846S driver for MD-UV3x0 2021-03-20 11:51:35 +01:00
Silvano Seva f9332f5ce3 Implemented I2C routines for AT1846S on MD-UV3x0 2021-03-20 11:51:35 +01:00
Silvano Seva 6c79d710a1 Fixed wrong screen orientation on MD-380V(G). Thanks to @tarxvftech for testing! 2021-03-19 13:24:56 +01:00
Niccolò Izzo 00aa28d1dc Update README replacing wiki links with website 2021-03-16 12:55:09 +01:00
Fred b1c94e1722 Add submodule checkout to Actions workflow 2021-03-15 21:03:42 +01:00
Federico Amedeo Izzo 0d9d77d3ca Manually trim FreeSans6pt7b font to make it more symmetric 2021-03-14 18:43:33 +01:00
Silvano Seva 01ea1a9b3f Made the main() thread run the UI task, thus removing the need for a dedicated one 2021-03-14 17:17:24 +01:00