Commit Graph

1818 Commits

Author SHA1 Message Date
Silvano Seva 2df90bb269 M17: add symbol deviation estimator
Signed-off-by: Silvano Seva <silseva@fastwebnet.it>
2025-11-03 18:59:00 +01:00
Silvano Seva 3956ec60ed M17: add clock recovery module
Signed-off-by: Silvano Seva <silseva@fastwebnet.it>
2025-11-03 18:59:00 +01:00
Silvano Seva a6561ef59b M17: Demodulator: split FSM states into functions
Signed-off-by: Silvano Seva <silseva@fastwebnet.it>
2025-11-03 18:59:00 +01:00
Silvano Seva 7b633c5bee M17: Demodulator: reduce indentation levels
Removed some indentation levels in M17Demodulator::update function body,
no functional change.

Signed-off-by: Silvano Seva <silseva@fastwebnet.it>
2025-11-03 18:59:00 +01:00
Ryan Turner 1c50bf8bad ci: rename build artifacts to align with naming convention
OpenRTX releases have had their artifacts follow a historical pattern,
which has both set users expectations and had documentation (both official
and unofficial) built. The CI builds don't follow those conventions though,
which causes confusion with users who don't have experience doing local
builds.
This change moves the build artifacts to match the file naming convention
users are accustomed to, and it uses the branch name as the name of the build
name that is listed.

Fixes: https://tasks.openrtx.org/project/openrtx/task/779
Signed-off-by: Ryan Turner <ryan@turnrye.com>
Acked-by: Silvano Seva <silseva@fastwebnet.it>
2025-11-02 20:17:18 +01:00
Ryan Turner c596fd8007 ci: fix artifact path for cs7000p build target
The build artifacts were looking for a file ending with , and so it was never picked up. This fixes that problem.
2025-11-01 23:20:01 +01:00
Ryan Turner 09fd652bf2 README: add section mentioning weblate
As we adopt Weblate as the tool for providing translations, one of their
hosting terms is that the project's README references their support. This
change adds that as part of a section referencing the translation effort
and sharing a graphic with translation stats.

Ref https://tasks.openrtx.org/project/openrtx/task/743

Signed-off-by: Ryan Turner <ryan@turnrye.com>
2025-10-27 19:34:23 +01:00
Silvano Seva 6b255e56a1 ci: build Module17 bin target instead of wrap
Signed-off-by: Silvano Seva <silseva@fastwebnet.it>
2025-10-05 14:28:31 +02:00
Silvano Seva db597658b9 OpenRTX version 0.4.2
Signed-off-by: Silvano Seva <silseva@fastwebnet.it>
2025-10-05 13:52:47 +02:00
Silvano Seva 7aa0451a08 meson.build: remove wrap target for Module17
Module17 does not required "wrapped" binaries and this target was added
only for compatibility. In the end, it was more confusing than useful.

Signed-off-by: Silvano Seva <silseva@fastwebnet.it>
2025-10-05 12:52:49 +02:00
Silvano Seva 09e2736c20 Update voice prompts data
Signed-off-by: Silvano Seva <silseva@fastwebnet.it>
2025-10-04 21:35:55 +02:00
Silvano Seva 52a8cd1769 ui: strings: add missing string table entries
Signed-off-by: Silvano Seva <silseva@fastwebnet.it>
2025-10-04 21:35:55 +02:00
Silvano Seva 1264882004 ui: strings: change "Frequency Offset" to "Offset"
Signed-off-by: Silvano Seva <silseva@fastwebnet.it>
2025-10-04 21:35:55 +02:00
Silvano Seva f742a081d3 ui: fix voice prompts for CTCSS settings menu
Signed-off-by: Silvano Seva <silseva@fastwebnet.it>
2025-10-04 21:35:55 +02:00
Silvano Seva 18cef67746 ui: gps: hide RTC settings if there is no RTC
Show settings entries for RTC synchronization and UTC timezone only if
the CONFIG_RTC macro is present

Signed-off-by: Silvano Seva <silseva@fastwebnet.it>
2025-10-03 19:47:07 +02:00
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 b3b057699b core: gps: skip active satellites with ID > 31
Some GPS modules can work on multiple systems at the same time. However,
the current code has been written only for GPS and, consequently is not
able to manage satellites with an ID greater than 32. This commit provides
an hotfix until all the GPS code gets refactored an extended to support
also GLONASS and Galileo.

Signed-off-by: Silvano Seva <silseva@fastwebnet.it>
2025-10-03 19:09:58 +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
Silvano Seva 809f54cb1b core: gps: get position from GGA sentence
Moved retrieval of latitude and longitude coordinates from RMC to GGA
sentence. This prevents from having a valid fix but coordinates still
equal to 0.0, 0.0

Signed-off-by: Silvano Seva <silseva@fastwebnet.it>
2025-10-03 19:09:58 +02:00
Ryan Turner d2ddddf478 Fix incorrect include paths for platform-unique header files 2025-10-02 19:43:55 +02:00
Ryan Turner 04249f4d4d ci: ensure that build commands return the proper status code
Fix ensuring that build runCmd returns the proper status code so that if
a build fails, the CI fails
2025-10-02 19:39:57 +02:00
Ryan Turner 858b9cd64c community: add initial contributing guide 2025-09-30 08:25:49 +02:00
Ryan Turner 35788b9c1c HR_C6000: add method to read 16-bit addressed registers
Acked-by: Silvano Seva <silseva@fastwebnet.it>
2025-09-28 18:11:48 +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 febcf8831d clang-format: update BreakBeforeBinaryOperators policy
Signed-off-by: Silvano Seva <silseva@fastwebnet.it>
2025-09-28 17:15:48 +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
imostlylurk 2df9addccc ui: refactor CTCSS entries in macro menu to be more user friendly
This change makes it so that the macro menu shows the current tone and
change the tone setting with macro 1, then change tone frequency with
macro 2 and 3. This is a clearer UX.

Co-authored-by: Ryan Turner <ryan@turnrye.com>
Acked-by: Silvano Seva <silseva@fastwebnet.it>
2025-09-22 21:51:06 +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
Grzegorz SP6HFE 6aecd2b727 vscode: add DM1701 build target 2025-09-16 21:51:25 +02:00
Peter Buchegger 024a18588d scripts: removed bin2sgl binaries 2025-09-14 14:21:19 +02:00
Peter Buchegger 4b1e2943c9 meson.build: use bin2sgl python script
Resolve #344
2025-09-14 14:21:15 +02:00
Peter Buchegger 7f3991b8f1 scripts: add bin2sgl python script
Converted C program to python script, output binary is identical
2025-09-14 14:14:17 +02:00
Ryan Turner e1994357f8 ci: create builds using devcontainer
This change makes it so that CI/CD builds against all supported platforms,
utilizing the devcontainer as its environment rather than setting up one
separately. This allows to have the CICD builds and dev local builds more
similar and reduces the maintenance overhead.

Co-authored-by: Peter Buchegger <peter@pbuchegger.at>
2025-09-12 17:20:20 +02:00
Ryan Turner 26b15d46f3 devtools: update devcontainer to reliably execute on amd64 env
This change makes it so that the devcontainer in this project is able to
build and wrap all supported platforms. There is a pre-existing issue on
arm64 devices preventing the openrtx_gd77_wrap and openrtx_dm1801_wrap
targets from working, which is being tracked in
https://github.com/OpenRTX/OpenRTX/issues/344.

Co-authored-by: Peter Buchegger <peter@pbuchegger.at>
2025-09-12 17:02:00 +02:00
Silvano Seva 12dc81aef2 test: platform: codec2_encode_test: reformat code to new coding style 2025-09-12 16:33:15 +02:00
Silvano Seva 882a7e58ee test: platform: updated codec2 encode test 2025-09-12 16:31:30 +02:00
Silvano Seva b2e289e6fd test: platform: mic_test: reformat code to new coding style 2025-09-12 16:23:34 +02:00
Silvano Seva d18905aeb4 test: platform: updated mic test to new audio API 2025-09-12 16:06:55 +02:00
Ryan Turner 74e89450b7 clang-format: add lint job and update run script
Update clang-format script to only run on files that are passing the
formatter, that way the clang-format script is useable by CI and
contributors.
2025-09-12 15:46:08 +02:00
Ryan Turner 28fe4eb9e1 clang-format: update rules
Update clang-format rules to the linux kernel coding style, with some
exceptions
2025-09-12 15:41:57 +02:00
marco 485dedc8f3 Use `-std=gnu17` to allow building with gcc 15
gcc 15 uses C23 by default now.
The project does not yet compile with C23.
Thus we set the standard back to C17, as it was the default before
2025-08-27 08:49:46 +02:00
Silvano Seva 76b8d191b0 core: gps: clear the RTC update request flag when sync is done
Once the RTC has been synchronized with GPS time, set the gps_set_time
flag back to false. This resets also the corresponding ON/OFF menu entry,
providing both a feedback that the operation is done and allowing the user
to just set it back to ON in case a new synchronization is needed.
2025-08-25 21:31:00 +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
JKI757 e738e18d16 stm32h7xx: rcc: configure USART1/USART6 kernel clock source to pclk2 2025-08-19 08:45:29 +02:00
JKI757 ac04f247b0 stm32h7xx: rcc: set dividers for 200MHz APB bus clock 2025-08-19 08:42:30 +02:00