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
Silvano Seva
7dc2ca5524
Driver for random number generator peripheral
2023-11-02 18:36:07 +01:00
marco
9433f8735a
Mod17: get last callsign if available
2023-10-28 11:58:25 +02:00
Morgan Diepart
f43281e815
Display callsign on splash screen
2023-10-26 06:01:54 +02:00
Silvano Seva
1035c2b801
Updated version number in meson.build
2023-10-23 18:30:14 +02:00
Morgan Diepart
1124c76b73
Added M17 destination to settings
...
# callsign in backed-up settings
2023-10-23 00:40:55 +02:00
Silvano Seva
44bfdec947
Added 30ms sleep in OpMode_M17::offState to prevent the rtx thread from going into an endless loop.
2023-10-22 18:59:06 +02:00
Silvano Seva
e362a80d45
Fixed truncation error in AT1846S setFrequency()
...
Fixed error in compuation of values for AT1846S frequency registers
causing the output frequency to have an effective resolution of 1kHz
instead of 62.5Hz.
2023-10-22 03:24:25 +02:00
Niccolò Izzo
b4c8fca767
Implemented uf2 image wrapping for T-TWR Plus
...
T-TWR Plus target now produces images in UF2 format.
This format is compatible with bootloaders such as tinyuf2, and future
releases of the hardware will come pre-flashed with tinyuf2, thus
flashing them will not requires any other dependency than the uf2 file
itself.
TG-553
2023-10-18 11:27:43 +02:00