Wykres commitów

1561 Commity (b71509ecb69b50422460218273302d48eb4a1f95)

Autor SHA1 Wiadomość Data
Niccolò Izzo a380e7a2c2 Bump radio_tool version to fix compilation issue
Fizzo's PR on radio_tool fixes a compilation issue, bumping the
radio_tool subproject commit hash solves the issue.
2023-07-22 23:28:03 +02:00
marco 60735822db Align Macro menu fm and M17 2023-07-21 19:27:20 +02:00
Silvano Seva 4cd1fdfcf3 Moved gpio.h to peripherals 2023-07-21 19:27:14 +02:00
Silvano Seva 28122a3bf3 Moved gps.h to peripherals 2023-07-21 08:32:26 +02:00
Silvano Seva dcafd07085 Created "peripherals" include folder for non-mandatory drivers, moved rtc.h to peripherals folder. 2023-07-21 08:23:41 +02:00
Silvano Seva 009930f914 Moved get/set of current time to platform interface API 2023-07-21 07:58:29 +02:00
Silvano Seva 498f959798 Removed CPS flash backup and restore (actually unused) and hidden its UI menu entry
CPS flash backup and restore will be implemented via rtxlink/FMP, removed
current implementation which was never actually used. Code for backup and
restore UI menu entry kept for now.
2023-07-20 07:00:54 +02:00
Silvano Seva b335aeb22c Adding folder with stub drivers for the OpenRTX interface APIs.
Stub drivers provide a safe default implementation of the OpenRTX interface
APIs and can be used both as a starting point to implement the actual drivers
and to allow compiling binary images without needing to provide an actual
implementation first.
2023-07-18 23:08:49 +02:00
Silvano Seva 65dde770e7 Changed return type of cps_readBankData() from "int32_t" to "int".
Made the return type of cps_readBankData() consistent with the one of
the other CPS API functions.
2023-07-18 23:04:31 +02:00
Silvano Seva a5b925e76f Small code cleanup in MD-UV3x0 HR_C6000 driver, temporary workaround to fix #129 2023-07-14 18:12:31 +02:00
Silvano Seva 8019b29947 Moved the setBacklightLevel() API function from platform.h to display.h 2023-07-14 12:26:47 +02:00
Silvano Seva 163a3df607 Refactored MDx backlight driver 2023-07-14 12:26:47 +02:00
Silvano Seva 313e9615a6 Removed platform_getCalibrationData() function because of limited usefulness.
Given that each radio driver loads its calibration data when initializing
and that the radio driver is strongly platform-specific, there is no strong
need for an intermediate redirection layer through the platform API.
2023-07-14 12:26:39 +02:00
Silvano Seva 6d58230c8c Module17: set threshold for detection of hardware rev 0.1e to 3V 2023-07-13 09:12:45 +02:00
Silvano Seva 933d291154 Made hwInfo struct const and statically initialized where dynamic loading is not needed.
Changed the hwInfo variable to static const in all the platformw where
the information are not loaded from NVM. Doing so puts the variable in
.rodata section and spares a tiny amount of RAM and FLASH.
2023-07-13 08:49:25 +02:00
marco ec62bda31a Fix CTCSS tone not correctly set when decreasing 2023-06-30 10:59:27 +02:00
Silvano Seva e5b3ea1bed Set default opmode to M17 in cps_getDefaultChannel() when compiling for Module17 2023-06-15 08:21:38 +02:00
Silvano Seva f3f36fc2ae Module17: quick and (very) dirty implementation of shutdown menu for hardware rev 0.1e 2023-06-15 08:16:53 +02:00
Silvano Seva beca0ea093 Module17: implemented control of power on switch, introduced in rev 0.1e 2023-06-14 21:57:33 +02:00
Silvano Seva 5c3e8fed80 Module17: reorganized the "info" menu entry, removed the unused fields 2023-06-14 21:51:31 +02:00
Silvano Seva 694181df92 Module17: implemented detection of hardware version 2023-06-14 21:50:12 +02:00
Silvano Seva 1afd868d64 Renamed "lcd_type" field of hardare info struct to "hw_version" 2023-06-14 21:30:52 +02:00
marcoSchr 4ee4cb656d
Check if in M17 mode before entering destination callsign edit 2023-06-13 09:02:50 +02:00
Silvano Seva b14dd86728 Added -fdata-sections directive to compiler and linker arguments for ARM targets 2023-05-31 22:24:33 +02:00
Silvano Seva cadec3dfd4 Default UI: implemented setting of M17 CAN 2023-05-29 22:12:40 +02:00
Silvano Seva 2f0d56a8e0 Moved M17 destination callsign directly inside radio state data structure 2023-05-29 22:12:40 +02:00
Silvano Seva 423183700c Moved M17 CAN to settings 2023-05-29 22:12:40 +02:00
Silvano Seva feaab4a965 Module17 UI: fixed a couple of compiler warnings and implemented reset to defaults of settings. 2023-05-29 22:12:40 +02:00
Silvano Seva f038603bed Module17 UI: small improvements to callsign input 2023-05-29 22:12:40 +02:00
Silvano Seva 40b82e3169 Module17 UI: using only left/right button to change all the numeric values 2023-05-29 22:12:40 +02:00
Silvano Seva e5d6d8ebde Module17 UI: cleaned up dead code of unused menu entries 2023-05-29 22:12:40 +02:00
Silvano Seva f42b9d2cda Implemented transmission of user-configured M17 channel access number 2023-05-29 22:12:40 +02:00
Silvano Seva fb8e3412c5 Implemented change of M17 baseband signal phase according to user settings for both TX and RX in Module17 2023-05-29 22:12:40 +02:00
Silvano Seva e93b461beb Added phase inversion setting to M17 modulator 2023-05-29 22:12:40 +02:00
Mathis Schmieder adc916dbca Added CAN setting 2023-05-29 22:12:40 +02:00
Silvano Seva e93666a515 Implemented mic gain setting based on UI for Module 17 2023-05-29 22:12:40 +02:00
Mathis Schmieder cddf8e1c1f Save contrast settings on Module 17 2023-05-29 22:12:40 +02:00
Mathis Schmieder 89aedef3ae Implemented non-volatile memory for settings on Module 17 2023-05-29 22:12:40 +02:00
Mathis Schmieder 3f849bd8a1 Module17 UI: call sign input using arrows 2023-05-29 22:12:40 +02:00
Mathis Schmieder bd8f0d70c7 Added RX/TX inversion and mic gain setting on Module 17 UI 2023-05-29 22:12:40 +02:00
Mathis Schmieder f32255c258 Implemented softpot settings UI for Module 17 2023-05-29 22:12:40 +02:00
Silvano Seva 2b7fc6e150 Implemented control of Module 17 MCP4551 digital wipers 2023-05-29 22:12:40 +02:00
Silvano Seva c862638fd1 Created calibration data structure for Module17 2023-05-29 22:12:40 +02:00
Wojciech Kaczmarski a9a6217d89 Removed RTC_PRESENT macro for Module 17 since hardware does not have an RTC 2023-05-29 22:12:40 +02:00
Wojciech Kaczmarski 22e9d8ce48 Module 17 UI: layout and main screen 2023-05-29 22:12:40 +02:00
Silvano Seva e3b66f6a4b Added channel access number and frame type to M17 data field in radio state, merged TX and RX channel access number fields of rtx configuaration data structure into one. 2023-05-29 22:12:40 +02:00
Silvano Seva d8c4ba4420 Base sources for Module 17 UI 2023-05-29 22:12:40 +02:00
Silvano Seva 76ded06751 Split UI sources in a default one for the radios and the Module17 one. 2023-05-29 22:12:40 +02:00
Silvano Seva bd8585c45d Fixed SDL-based display driver giving errors when compiled in BW pixel mode 2023-05-29 22:12:40 +02:00
marco 7ce72d8325 Fix default channel index
it should be 0 instead of 1
2023-05-29 08:49:04 +02:00