Wykres commitów

1575 Commity (master)

Autor SHA1 Wiadomość Data
marco c3f1ec0ea1 Improve the callsign input of module17 UI
This will change the bahavior of the left and right button in callsign input:
The right button will add a new character to the input starting at `A`.
The right button will stop at the maximum allowed length.
The left button will delete the current charater.
The left button will go back one character and make it editable again.
The left button will not do anything when only one character is displayed.
2024-01-31 08:45:30 +01:00
Silvano Seva 3f0cfe94e5 M17: always open squelch on tramsissions with destination set to INFO or ECHO
Fix #229
2024-01-28 19:16:14 +01:00
Silvano Seva 598f1c4523 M17: deeply restructured the demodulator code
Restructured the M17Demodulator class and rewritten the
demodulator logic to have a more solid lock on the
baseband stream. This fixes the long standing bug of the
demodulator causing random losses of lock even when
receiving a solid baseband stream.
2024-01-27 15:15:37 +01:00
Silvano Seva ddf889177c Frame synchronizer class 2024-01-27 15:15:37 +01:00
Silvano Seva 3375d0b5d1 Correlator class 2024-01-27 12:17:07 +01:00
Silvano Seva 90cf0f6f58 Added reset() method to RingBuffer class 2024-01-27 12:17:07 +01:00
Silvano Seva 275ef16977 Added IIR filter implementation 2024-01-20 14:31:39 +01:00
Morgan Diepart 7b48d2bc28 Fix meson setup for windows
cp does not exist on windows but xcopy does.
2024-01-17 21:54:26 +01:00
Silvano Seva dbe7ff4700 M17: activate speaker only when a valid transmission is received
Audio path from codec2 to speaker is now set up only when an incoming stream
with matching CAN and destination callsign is received. Speaker is then turned
off when the demodulator goes back in unlocked state.
2024-01-10 19:03:48 +01:00
Morgan Diepart 2653ee01aa M17: added callsign-based squelch for incoming transmissions 2024-01-10 19:03:48 +01:00
Morgan Diepart 5ec0587c48 Added macro menu latching setting 2024-01-10 18:08:35 +01:00
Silvano Seva b1fa154ad9 UI: renamed "Voice Prompts" menu to "Accessibility" 2024-01-10 18:06:48 +01:00
Silvano Seva c4b7b7a337 Removed low-pass filtering of battery voltage in state update for GD77 and DM-1801
GD77 and DM-1801 already have an hardware low-pass filter on the battery measurement
probe which causes the low battery protection to trigger at boot if the digital low
pass filter is also used. Given that the hardware one is good enough for our purposes,
the digital filter is now excluded.

Provides a fix for #221
2024-01-09 18:54:41 +01:00
marco 4a45ce0c16 Allow skipping keypad lock when only hash key is pressed 2024-01-09 14:14:49 +01:00
marco 4ed9262a96 Updated linux build targets in github workflow 2024-01-09 12:36:23 +01:00
marco 7a31dfba3d Configured linux target for Module17 emulation similar to a Module17 rev. 0.1e 2024-01-09 12:36:23 +01:00
marco 0e6473f95e meson.build: created three separate linux targets for different build configurations 2024-01-09 12:36:14 +01:00
marco 7987bd732f Add button info for mod17 callsign entry 2023-12-31 17:18:50 +01:00
edgetriggered 2ce3f5e949 ttwrplus: Ignore revision from sa8x8-fw version
The "revisions since last tag" version field is now accurately named and no longer checked. Extra parentheses also added to reduce compiler warnings.

Fix #217
2023-12-24 10:48:41 +01:00
Silvano Seva 0363825c1a meson.build: fix linker error on unit tests
Append the sources of the main entrypoint only when defining the build
targets for the executables. This avoids having the symbol for main()
defined twice when building the unit tests.
2023-12-24 10:48:41 +01:00
Silvano Seva 230e6310c7 Module17: added 100ms blink of sync led to indicate device startup
See also #216.
2023-12-24 10:48:37 +01:00
Silvano Seva 916337e3d7 Refactored meson.build 2023-12-19 21:17:20 +01:00
Silvano Seva f703a48069 ci: use linux codec2 library from apt instead of building it 2023-12-12 19:08:02 +01:00
Ryan Turner 384a07d197 ci: add a job for builds 2023-12-12 19:07:53 +01:00
Silvano Seva 3a2bac3e7e Fixed missing transmission of the 1750Hz tone when keypad is locked.
Fix #210
2023-12-12 19:05:52 +01:00
Silvano Seva ab4a964ddd Linux NVM: added implementation of nvm_getMemoryAreas() 2023-12-07 12:02:48 +01:00
Niccolò Izzo ca5519812f Added platform test for validation of NVM devices.
Refactored memory dump test to be compatible with xxd format.

TG-502
2023-12-03 19:00:55 +01:00
Silvano Seva 419d02a203 Linux NVM: updated implementation to use the new standard API 2023-12-03 19:00:55 +01:00
Silvano Seva 096da4102d Utility functions to perform read/write/erase operations on NVM areas and partitions 2023-12-03 19:00:55 +01:00
Silvano Seva 070ed3de32 Device driver for file-based nonvolatile memory storage 2023-12-03 19:00:55 +01:00
Silvano Seva 578c4f425b Added list of NVM areas to ttwrplus target 2023-12-03 19:00:55 +01:00
Silvano Seva f94e6ce49e Added list of NVM areas to Module17 2023-12-03 19:00:55 +01:00
Silvano Seva ecd3602662 Added list of NVM areas to GDx targets 2023-12-03 19:00:55 +01:00
Silvano Seva 72c8b8246b Added list of NVM areas to MDx targets 2023-12-03 19:00:52 +01:00
Silvano Seva d9b22c1d2d Added function to retrieve the list of available NVM areas 2023-12-03 18:34:39 +01:00
Silvano Seva faffbfb930 ttwrplus: updated flash memory partitions 2023-12-03 18:34:39 +01:00
Niccolò Izzo 09587ab6c8 Added wrapper to NVM device API for Zephyr flash API.
Wrapped Zephyr flash API calls for OpenRTX interface, added
additional settings specific to T-TWR Plus.

TG-553
2023-12-03 18:34:39 +01:00
Silvano Seva d20f0e2c8d Added implementation of the standard NVM device API to AT24Cx driver. 2023-12-03 18:34:39 +01:00
Silvano Seva ab66054341 Added implementation of the standard NVM device API to W25Qx driver. 2023-12-03 18:34:39 +01:00
Silvano Seva 7174246492 Standard interface for non volatile memory devices 2023-12-03 18:34:39 +01:00
Silvano Seva f125bbe9be Refactored AT24Cx EEPROM driver and implemented memory write function 2023-12-03 18:34:39 +01:00
Silvano Seva be07b8f73e Refactoring of W25Qx driver 2023-12-03 18:34:39 +01:00
Marco 5a0f92e23d Add a volume bar in the bottom over the other bars
This will fix #190
2023-11-25 19:08:38 +01:00
Silvano Seva 91c0965007 Module17: made M17 baseband output have correct DC bias and amplitude
Removed an old workaround for an hardware bug of Module17 rev 0.1b limiting
the output swing of baseband signal in newer hardware revisions.

Contribution by Mathis Schmieder DB9MAT.
2023-11-21 18:46:03 +01:00
Silvano Seva 7ccfbe62c8 Fixed compilation errors in M17 demodulator logger 2023-11-12 12:41:35 +01:00
Silvano Seva 75abbaa12c Linux: using file-based driver for SOURCE_RTX input device 2023-11-12 12:35:21 +01:00
Silvano Seva 8040a012b4 Driver for file-based audio input device 2023-11-12 12:34:37 +01:00
marco 65d2fdb0e3 Fix unit tests by using system provided codec2 2023-11-10 19:03:28 +01:00
Silvano Seva 6b34bf362d Linux: declared an instance of Module17 calibration data to allow linking with Module17 UI code.
Declared the "mod17CalData" variable inside linux platform.c to make the symbol available
to the linker when building the linux emulator with the Module17 UI.
2023-11-05 18:33:12 +01:00
Silvano Seva 12e2a0f18b Linux: added garbage collection of unused .text and .data sections at link time 2023-11-05 18:27:29 +01:00