Wykres commitów

932 Commity (7987bd732fab77fa79bc3d187c8e5ce791929c84)

Autor SHA1 Wiadomość Data
marco 7987bd732f Add button info for mod17 callsign entry 2023-12-31 17:18:50 +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 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 d9b22c1d2d Added function to retrieve the list of available NVM areas 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 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 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
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
Niccolò Izzo 744ad85799 Adapt Radio settings to UI_NO_KEYBOARD interface
Enabled the T-TWR Plus to use split frequency settings by adapting the
Settings->Radio menu to the UI_NO_KEYBOARD user interface.

TG-553
2023-10-16 21:50:03 +02:00
Niccolò Izzo 17d5be118e Enable frequency offset input from radio menu
Adapted callsign input to create a frequency input menu, that was used
to enable the input of a frequency offset from the Settings->Radio menu.
2023-10-16 21:50:03 +02:00
Niccolò Izzo 5d3c6c825d Add radio settings for frequency offset, direction, and frequency step.
Add customizable frequency_step in radio state.
Offset is not yet selectable from Settings->Radio but only with keypad
from the VFO screen.
2023-10-16 21:49:56 +02:00
tarxvf 7612044d91 VFO screen cleanup: removed unused options, introduced compressed frequency print and lock icon.
Contribution by tarxvf.
2023-10-16 21:47:01 +02:00
tarxvf 7e291fe6fd Implement UI input lockout logic, toggled by macro menu key 9.
Contribution by tarxvf.
2023-10-16 21:46:37 +02:00
marco 20b0c375aa Change M17_orig to link and change callsign handling
This will swap the first extended callsign with the source callsign
if there is extended callsign data.
This allows to always store the true source in the M17_src variable

See #188
2023-10-13 09:58:34 +02:00
Niccolò Izzo e939218001
Integrate west manifest to facilitate Zephyr build
Add west manifest contributed by edgetriggered to allow automated
cloning of the correst Zephyr revision.
Now codec2 dependency is enabled also for T-TWR build, enabling to build
it from scratch without first building a Miosix target.
Enabled non-cross build to use codec2 compiled sources.
2023-10-09 09:23:45 +02:00
marco 6baa368984 Enable edit mode for dst callsign on mod17
This allows editing the destination callsign on the module17
When on the main screen, the right arrow will enter edit mode.
2023-09-29 17:05:14 +02:00
marco 0126efe429 Fixed possible undeflow in battery charge level computation. Fix #192.
We check if the battery is below minimum and, if so, assume that the charge
is 0%. This to prevent an underflow which would result in the function
returing a 100% charge level.
2023-09-22 19:32:29 +02:00
marco 77e0ad27a0 Added support for 1750Hz squelch tone, implemented squelch tone in UV-3x0 radio driver.
When pressing the Hash key and the PTT key in FM mode
a 1750 Hz tone is transmitted
2023-09-22 13:58:59 +02:00
Silvano Seva 73bfc2a15d Set proper thread stack size also when using the Zephyr RTOS 2023-09-22 13:57:33 +02:00
Niccolò Izzo e11c529807 Bump Zephyr to commit a4de2eb3d1756c
TODO: the include fixes can be probably refactored by including the
correct zephyr directories, as include/zephyr/posix/pthread.h should
already bringing in those header files.

TG-553
2023-09-20 21:16:43 +02:00
Niccolò Izzo 21895ae304 ttwrplus: disable Tx in menus
As T-TWR Plus reuses the PTT as a back button, thus we need to disable
PTT in menus. Also enforce rx_only logic from CPS.

TG-553
2023-09-20 21:16:40 +02:00
Niccolò Izzo fe027c440c ttwrplus: enable volume control
Replaced KEY_F7 and KEY_F8 with KEY_VOLUP and KEY_VOLDOWN.
Remapped the T-TWR Plus volume up and down keys to those, fixing a bug
in the pmu key detection where the wrong active edge was selected.
Adapt soft volume code for the UV3x0 to control code in the T-TWR Plus
by acting on the AT1846s Rx gain.
For target T-TWR Plus bound long press of KEY_VOLDOWN to macro menu open.
Unbound KNOB_LEFT and KNOB_RIGHT to squelch control and bound
instead KEY_VOLUP and KEY_VOLDOWN.

TG-553
2023-09-20 21:08:35 +02:00
Silvano Seva de3b319518 ttwrplus: added SA868 firmware version to info menu 2023-09-20 21:08:35 +02:00
Niccolò Izzo a72f8387ad ttwrplus: disable low battery warning
T-TWR Plus appears to have sever voltage drops during normal operation,
therefore we cannot use OpenRTX's low voltage warning screen on this
radio.

TG-553
2023-09-20 21:08:35 +02:00
Niccolò Izzo ad1beffcf3 ttwrplus: implemented PMU interrupts handling
TG-553
2023-09-20 21:08:35 +02:00
Niccolò Izzo 024c7ffe3a ttwrplus: fix sporadic missing TX
The bug was due to an uninitialized memory being used to configure the
RTX thread, that disabled Tx in a random way by randomly set the
txDisable field.

TG-553
2023-09-20 21:08:35 +02:00
Niccolò Izzo 0c27c9ce28 Enable Zephyr dynamic stack threads
Enable Zephyr dynamic stack posix threading, with stack pool of 4 and
stack size of 4096.

TG-553
2023-09-20 21:08:35 +02:00
Silvano Seva dd13732343 Fix some compilation warnings generated by xtensa-espressif-gcc 2023-09-20 21:08:35 +02:00
Silvano Seva ebc5910015 Renamed "bcd2bin" utility to "bcdToBin" to avoid conflicting with Zephyr includes 2023-09-20 21:08:35 +02:00
Silvano Seva 7ce3a8a605 Fix compilation error caused by voiceprompts data section definitions 2023-09-20 21:08:35 +02:00
Marco 467ad6bd7a Fix regression in memory mode
Show frequency in memory mode when not receiving M17
2023-09-17 13:00:12 +02:00
Marco 1a7d62fb42 Add UI and check for CAN on RX 2023-09-16 19:14:17 +02:00
marco f425a4c740 Fix M17 Call Info flickering during reception 2023-09-15 19:41:48 +02:00
Silvano Seva c49ae03d01 Audio stream: fixed missing NULL pointer check in audio device driver selection. 2023-09-13 22:26:41 +02:00
Silvano Seva 8fe9837035 Implemented rxSquelchOpen() function for M17 opmode handler, returning true in case of valid stream data. 2023-09-12 17:47:49 +02:00
Silvano Seva 0adab74255 M17: workaround to avoid UI glitches when a new dst callsign is set.
When a new dst callsign is set, the rtx configuration data structure is
updated and this may trigger false setting of the lsfOk variable to true,
causing the M17 info screen to appear for a very small, but noticeable,
amount of time.
2023-09-12 17:47:49 +02:00
marco 22afe0ecde Port changes for M17 Call Info to module17 2023-09-12 17:47:49 +02:00
Marco 7a67768c8d Show M17 stream information on receive 2023-09-12 17:47:49 +02:00
Marco a3fbe34b30 Add symbols for M17 stream data display 2023-09-12 17:47:49 +02:00
Marco dc0114e7e2 Retrieve M17 source, destination and extended callsign data from LSF 2023-09-12 17:47:49 +02:00
Marco a0f5d55cc1 Add M17 stream information to rtxStatus struct 2023-09-12 17:47:49 +02:00
Marco 74f7912b4c Fix M17 callsign decoder sometimes causing crashes 2023-09-12 17:47:49 +02:00
Niccolò Izzo 3860894bff
Implement macro menu without keyboard
Adapt UI for radios that do not have a keyboard, add macro menu UI code
that can only use KEY_ENTER and KEY_UP, KEY_DOWN.

TG-553
2023-09-10 12:12:13 +02:00