Commit Graph

572 Commits

Author SHA1 Message Date
Silvano Seva c95f9ab6b6 rtc: add settings entry for RTC sync with GPS
Added settings menu entry to make RTC synchronization with GPS
persistent across reboots. When the synchronization is enabled
the RTC will be updated on the first valid RMC sentence received.

Signed-off-by: Silvano Seva <silseva@fastwebnet.it>
2025-10-03 19:46:36 +02:00
Silvano Seva f2f84f3da1 core: gps: add enums for GPS fix quality and type
Signed-off-by: Silvano Seva <silseva@fastwebnet.it>
2025-10-03 19:09:58 +02:00
Ryan Turner 00a4dbb063 style: resolve ambiguous paths on include macros
Update meson and cmake config to only include openrtx and platform paths.
Update files to use <..> for system and external libraries, ".." for
project files and new relative paths as necessary.

Did not attempt to fix areas where includes that should be <..> were
previously ".."

Inspired by #96, closes #359.

Acked-by: Silvano Seva <silseva@fastwebnet.it>
2025-09-28 17:27:45 +02:00
Silvano Seva c0d8984d09 core: dsp: drop dsp_invertPhase function
Signed-off-by: Silvano Seva <silseva@fastwebnet.it>
2025-09-28 14:12:20 +02:00
Silvano Seva 6db558e89c core: dsp: refactor DC block filter implementation
New DC block filter implementation using fixed-point math and guaranteeing
zero DC component on the output signal.

Signed-off-by: Silvano Seva <silseva@fastwebnet.it>
2025-09-28 14:12:20 +02:00
Silvano Seva 4b9f75fe81 ui: converted SpanishStrings.h file to Unix line endings
Signed-off-by: Silvano Seva <silseva@fastwebnet.it>
2025-09-22 21:59:07 +02:00
Silvano Seva d092c51df5 ui: settings: add CTCSS enable to FM settings menu
Added the ability to manage CTCSS enablement via the FM settings menu.
As part of this, refactored the existing instances of setting and
displaying this value on the main vfo screen and on the macro menu.

Acked-by: Silvano Seva <silseva@fastwebnet.it>
2025-09-22 21:55:55 +02:00
imostlylurk f7e5e45d09 ui: settings: introduce FM settings menu option
This seeks to create a place for settings on the FM mode that complement
the quick actions available from the macro menu. This way as more FM mode
features are added, there is a menu to configure them in.

Co-authored-by: Ryan Turner <ryan@turnrye.com>
Acked-by: Silvano Seva <silseva@fastwebnet.it>
2025-09-22 21:54:26 +02:00
Silvano Seva a30dae357d ui: fix misspelled strings
Signed-off-by: Silvano Seva <silseva@fastwebnet.it>
2025-09-21 18:52:08 +02:00
romanat 3add35275c ui: battery: add menu entry to select between icon or percentage 2025-09-18 19:43:08 +02:00
Silvano Seva 2f0b7f8df7 core: gps: added field for HDOP to GPS data
HDOP is expressed in cm, meaning that an HDOP of 1.37m is stored as 137 in
the GPS data structure.
2025-08-25 21:31:00 +02:00
Silvano Seva 40ff9baa47 ui: gps: added indication for no GPS device detected
Clearly show on UI the case when no GPS receiver has been detected in the
hardware. Previously either the "GPS off" or "No fix" strings where shown
also in case of no GPS, causing ambiguity.
2025-08-15 20:07:32 +02:00
Silvano Seva 72845e4c1f core: gps: use new gps device API 2025-08-15 20:00:20 +02:00
Silvano Seva 219bb4e986 core: gps: added new API for GPS device management 2025-08-15 20:00:20 +02:00
Silvano Seva 280d5ad350 Fixed compilation errors with GCC 15.1 2025-07-08 21:36:25 +02:00
Silvano Seva 03d1ae5546 Updated year in copyright headers 2025-04-04 21:15:39 +02:00
Silvano Seva e204891776 CS7000: calibrated AK2365 RSSI output curve 2025-03-16 10:13:00 +01:00
Silvano Seva 135bf562f1 CS7000: NVM: added reading of calibration data 2025-03-16 10:13:00 +01:00
Silvano Seva b5ca097c52 Added implementation of CTCSS tone detector 2025-03-07 19:06:16 +01:00
Silvano Seva 4515bd9e60 utils: added macro to retrieve the number of elements of an array 2025-03-02 18:09:08 +01:00
Jim Ancona b16c3c0fd1 M17: replaced std::experimental::array with std:array 2025-03-01 20:01:08 +01:00
Silvano Seva 1099f0f7a3 CPS: added enumeration type for CTCSS tone index 2025-03-01 19:01:10 +01:00
Trriss 185d3f1a22 UI: fixed RSSI to S-level conversion in gfx_drawSmeter and gfx_drawSmeterLevel 2024-12-26 16:19:03 +01:00
Morgan Diepart dd8d6be5a9 M17: Synchronizer: fixed uninitialized variable and out-of-bounds array access. 2024-11-10 14:37:40 +01:00
Silvano Seva 847750e233 Added volume level to device state data structure.
Added filtered volume level to device state. Value is updated at 10Hz and
filtering is done by averaging the current value with the new sample.
2024-10-25 18:48:58 +02:00
Silvano Seva a84d8fe6f0 Removed unused function from radio interface API 2024-10-12 14:46:52 +02:00
Silvano Seva 2d0bf51873 MDUV3x0: using HR_C6000 for MCU to speaker audio 2024-10-12 12:24:05 +02:00
Silvano Seva 8612b28215 MDx: reorganized data structures for calibration data 2024-10-08 18:46:41 +02:00
Silvano Seva 565a056e82 Added macros for thread priority levels 2024-10-08 18:44:08 +02:00
Silvano Seva b70963d1d5 SPI: forced transfers via spi_transfer to have the same TX and RX size 2024-10-08 18:31:15 +02:00
Silvano Seva ac7e176d3b SPI: refactored spiDevice data structure, added two utility functions 2024-10-08 18:31:02 +02:00
Silvano Seva 71d3a2c319 Driver for emulated EEPROM storage 2024-08-14 18:20:06 +02:00
Silvano Seva 5b9cc789b9 Refactored NVM data structures and functions 2024-08-14 18:20:05 +02:00
Silvano Seva a6f01c3e55 Small refactoring of M17 modulator.
- made start() function return a boolean indicating the actual modulator status
- moved sending of preamble to a dedicated function
- renamed send() function to sendFrame()
2024-07-12 11:11:44 +02:00
Morgan Diepart 9cae1cfd3e UI: improved handling of numeric input.
Updated isNumberPressed() to make it not return anymore true if star or hash keys are pressed. Check
for character input, star and hash keys included, is now done by the input_isCharPressed function.
This separation also now prevents from entering non numeric characters during VFO frequency input.
2024-07-10 09:16:18 +02:00
Silvano Seva 84d9803f57 Module17: hide menu entries for soft potentiometers if hardware does not have them 2024-06-21 19:27:33 +02:00
Morgan Diepart bd93d9429b HwInfo: extended hw_version field to 16 bits, added a 16-bit "flags" field 2024-06-21 19:26:11 +02:00
Silvano Seva bfc9f8c77f Standard interface for ADC peripherals 2024-06-21 18:00:33 +02:00
Silvano Seva 8347c3bdcd Standard interface for SPI peripherals 2024-06-21 18:00:33 +02:00
Silvano Seva f2c0f2cc90 Standard interface for I2C peripherals (MCU side) 2024-06-21 18:00:33 +02:00
Silvano Seva e53e110a3b Reorganized and extended the gpio peripheral API 2024-06-21 18:00:33 +02:00
Marco 70f0ce45d3 GPS: using 16-bit integers for course over ground 2024-04-10 19:12:34 +02:00
Marco a17ad80f10 GPS: using 16-bit integers for altitude and speed 2024-04-10 19:12:34 +02:00
Marco e4a62f30ee GPS: using fixed-point 32-bit value for latitude and longitude 2024-04-10 19:12:34 +02:00
Marco 36ef3b310c Added function to convert minmea coordinate to fixed-point integer representation 2024-04-10 08:04:26 +02:00
jpucheu 71b35985ce UI: added string table for Spanish language 2024-03-19 18:26:38 +01:00
Silvano Seva 8550e4f7a6 Module17: renamed calibration fields for TX/RX baseband inversion 2024-03-13 08:37:04 +01:00
Silvano Seva ed92d81543 Module17: implemented configurable logic levels for PTT in/out
See #248
2024-03-13 08:37:04 +01:00
Silvano Seva 6c8eaf7073 Module17: removed backlight timer 2024-02-06 21:11:46 +01:00
Silvano Seva fdd08d4bcb Module17: removed screen contrast setting, added screen brightness setting
Module17 uses an OLED display, which does not have contrast regulation. The
contrast control register, however, allows to change the brightness of the
display.
2024-02-06 21:11:41 +01:00