Commit Graph
366 Commits
Author SHA1 Message Date
RistoandGitHub c9594390e2 feat: Show module info for MPM and CRSF on Radio Version screen (#1771)
* Show module info for MPM and CRSF

* Consider MPM only if MULTIMODULE is defined

* Consider MPM only if MULTIMODULE is defined
2022-04-01 10:52:08 +10:00
Raphael CoefficandRaphael Coeffic 9d5cd1876c Added support for Lemon-Rx DSMP 2022-03-24 10:40:17 +01:00
Raphael CoefficandRaphael Coeffic 86d1ca4364 Reorganize module type/subType/rfProtocol 2022-03-24 10:40:17 +01:00
Raphael Coeffic 921854d13c fix: bottom of hardware menu on stdlcd 2022-03-22 14:58:39 +01:00
3djcandRaphael Coeffic f426dd1254 Fixes 2022-03-21 11:48:50 +01:00
3djcandRaphael Coeffic ab09d0a25f Introduce serial status 2022-03-21 11:48:50 +01:00
3djcandRaphael Coeffic 0cc2b95b09 Cosmetics 2022-03-21 11:48:50 +01:00
3djcandRaphael Coeffic c0e6f2a7f9 Compilation fixes 2022-03-21 11:48:49 +01:00
3djcandRaphael Coeffic db3547d45c POC 2022-03-21 11:43:48 +01:00
Raphael Coeffic ce93ffbe9e Generic serial port config for stdlcd 2022-03-20 16:30:59 +01:00
Raphael Coeffic 34e9cbb245 Fix AUX serial setting taranis 2022-03-20 16:30:59 +01:00
Raphael Coeffic b39baa2360 Use USB VCP as a normal serial driver as well 2022-03-20 16:22:14 +01:00
Raphael Coeffic 530d395204 WiP 2022-03-20 16:22:14 +01:00
Raphael Coeffic d93cd1ea25 Moved aux serial defs to own header file 2022-03-20 16:22:14 +01:00
Peter FeerickandGitHub c73057ad54 fix: Make showing int MPM spectrum analyser entry runtime determined (#1648)
Showing of the "(int) Spectrum Analyser" determined at build time,
dependent on the default internal module, which is wrong post #1117
Fixes #1647
2022-03-06 11:40:12 +10:00
Peter FeerickandGitHub 2792ad2fa4 fix: TX12 bootloader contrast too dark, and SE/SF could not be set 3POS (#1548)
* fix: SE and SF could not be set 3POS
*Somebody* (me) forgot ternary operator only compares two value in #1303

* fix: TX12 default contrast is too high
There is no 'perfect' value due to manufacturing variance, but 25 is simply too high,
and 15 a bit too low.
2022-02-12 20:38:55 +10:00
Raphael CoefficandPeter Feerick a052ba63c2 Remove COPROCESSOR 2022-01-29 14:40:17 +10:00
Raphael CoefficandPeter Feerick 09c49e24ee Remove SKY9X target 2022-01-29 14:40:17 +10:00
c3c8a2e3f1 feat: Model level ADC Jitter filter option (#1363)
* ADC Filter - On/off state configurable at the model level

* Updated YAML configuration to match change from ADC Filter feature commit

* Companion changes to support ADC jitter filter to be a model configuration item.

* Renamed jitterFilter field to noJitterFilter.

This better describes the semantic, which is inverted.

* Updated after review

* Re-run generate-yaml

* Changed ADC Jitter filter control on Model to be tri state.
Off, On or use the radio setting

* Adde NOBACKUP() to the added field

* Re-generate yaml_datastructs

* Making the default state to use radio setting/Global value

* Updated after review:
Changing to more consistent naming across firmware and companion.

* Reverted  files that was accidently added to the commit.

Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
2022-01-26 20:54:23 +10:00
Raphael CoefficandGitHub 4048983ce5 Add a "No SD card" screen on boot (#1451)
This prevents certain issues related to SD card being now mandatory to run EdgeTx.
2022-01-21 20:18:27 +10:00
Piotr RzeszutandPeter Feerick 5defeeedf4 Allow to power-off the radio when displaying model notes. Fix for #1274 2022-01-08 09:28:40 +10:00
Peter FeerickandGitHub 351643b652 Clear active model internal module settings if radio level setting changed (#1316)
* [colorlcd] Ensure active internalModule is reset if different to radio level setting

* [B&W] Ensure active internalModule is reset if different to radio level setting

* storageDirty only when model setting cleared

* [b&w] Remove reusablebuffer, code re-order

* [colorlcd] More direct moduleType comparision
Consistent with B&W test
2022-01-03 20:55:49 +10:00
d41855a316 [TX12] Fix support for additional switches (SI and SJ) (#1303)
* Fixed support for Radiomaster TX12 additional switches (SI and SJ)

Two connectors are present on TX12 main board (near top of internal TX module) and are mapped as SI and SJ, but were not read out by the firmware.
With this update they might be used for some further hacking of the radio (ex. adding additional 2-pos switches, adding detector of external module insertion etc.).

* Radiomaster TX12 - preventing selection of Si and SJ as 3POS

* Radiomaster TX12 - corrected SI and SJ switch names in Keys Debug screen

Switches were displayed in test screen as SG and SH, due to fact that firmware did not take into account no presence of SG and SH in TX12.
The update provides correct and consistent naming of the additional switches across whole radio.

* Alignment tweak + fix rot_enc info overlap

Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
2021-12-30 15:49:23 +10:00
3djcandRaphael Coeffic d31482c18b Introduce T-pro and function switches handling 2021-12-17 17:07:48 +01:00
3djcandRaphael Coeffic 6735a42b08 Radiomaster Zorro
Port of opentx/opentx#8791
2021-12-17 15:17:48 +01:00
Raphael CoefficandRaphael Coeffic e854515147 Fix T12 switch definitions
The T12 has SG instead of SF.
2021-12-17 12:08:23 +01:00
eshifriandGitHub ee883c8354 Support file copy within the same folder (#1209)
* support file copy to the same folder #294

* support file copy to the same folder; B&W  radios added.

* fix the syntax
2021-12-05 11:50:08 +11:00
Peter FeerickandPeter Feerick 3c725dda35 Fix lines missed in #1117 2021-12-01 10:41:57 +10:00
Peter FeerickandPeter Feerick a87a484780 [B&W] Don't add entries for non-existant rows
BACKUP_EEPROM & FACTORY_RESET
2021-12-01 10:41:57 +10:00
Raphael Coeffic 2c845648cf Fixed trimming spaces in editName() on stdlcd 2021-11-27 14:59:45 +01:00
Raphael CoefficandRaphael Coeffic daf8bae8e4 Added support for internal module config in stdlcd UI in radio hardware 2021-11-25 12:10:16 +01:00
Jesper FrickmannandGitHub f1baa383ae Fix standalone Lua script screen flicker and improve error messages (#982)
* Relax assumptions about when Lua is called in foreground and background

* Start Lua cycle timer both in foreground and background
Do not assume that background/foreground alternates

* Lua is called at every Standalone GUI cycle instead of 5 Hz
Since Lua preempts every 50 ms or so, the GUI should remain responsive.

* In standalone script, only call Lua once per GUI cycle, to avoid messing up buffer handling.

* Revamped error reporting for Standalone and Telemetry Lua scripts

* Font size for Lua error is reduced from XL to L on color if LCD_W < LCD_H

* In drawTextLines, also possible linebreaks for opening brackets.

* Smaller font for error message on tall color screen

* Make titlebar height match font size on narrow LCD
2021-11-15 12:57:14 +11:00
Raphael CoefficandGitHub 6c1ca71740 Merge pull request #991 from EdgeTX/access-options
Access options / menus
2021-11-11 19:09:29 +01:00
Raphael Coeffic f932e9e12c Further confined v220 data structures 2021-11-10 11:07:01 +01:00
Raphael Coeffic 4b79cdc795 Fix some b&w target compilation 2021-11-10 11:07:00 +01:00
Raphael Coeffic 985a8760bb WiP 2021-11-10 11:06:59 +01:00
Raphael Coeffic b7ddca5fdb Exclude PXX2 module and receiver option UI files when PXX2 not enabled 2021-11-07 20:17:43 +01:00
Raphael Coeffic 33e5aac846 Module and receiver options 2021-11-07 20:05:58 +01:00
rotormanandRisto fc2142ec78 Changed uniformly to EdgeTX boiler plate (also added boiler for files that were missing it). 2021-10-02 14:22:01 +02:00
Paul Kendall 994c739b57 Fix baud rate defaults
Default value 0 is 400k baud, unless SPORT_MAX_BAUDRATE < 400000 in which case default value 0 is 115k baud.
2021-09-17 12:20:43 +12:00
884bcec13c Allow selecting higher baud rates (#640)
* higher baud rates

* Update colorlcd models to support selectable baud tp 3.75M

# Conflicts:
#	radio/src/gui/colorlcd/radio_hardware.cpp

Co-authored-by: Jye <JyeSmith@users.noreply.github.com>
Co-authored-by: Paul Kendall <pkendall64@gmail.com>
2021-09-12 06:46:43 +10:00
Raphael Coeffic 0e4201f25d WiP 2021-07-31 18:46:38 +02:00
Raphael Coeffic 33d8267489 Merge branch '2.3' into 2.4
# Conflicts:
#	radio/src/datastructs.h
2021-06-10 17:31:39 +02:00
Raphael CoefficandRaphael Coeffic 31071cc0fc Fixed registration ID 2021-06-05 20:29:09 +02:00
Raphael CoefficandRaphael Coeffic b429855675 Fixed editName() 212x64 2021-06-05 20:29:09 +02:00
rotormanandRaphael Coeffic 78327063fb Added stdio.h to be able to compile with GNU Arm Toolchain v10 2020-q4 without errors. 2021-05-29 07:39:12 +02:00
HydraandRaphael Coeffic fdb5cc379c Fix missing whitespace after function. 2021-05-20 23:24:04 +02:00
HydraandRaphael Coeffic 2f27c3c1a6 Add OneBit mode to HARDWARE menu. OneBit mode can help if your radio
has a slow inverter circuit by changing the UART sampling behaviour.

* It was found that the X9D+ and X7 (maybe others) have a slow inveter
that messes up reception of fast (400,000baud) UART signals.  On the
scope the rise time of the signal is very long.
* See RM0033 24.3.3 Receiver / Selecting the proper oversampling method.
Page 631.


Also note that reducing the pull-up resistor from 10k to 1k at R82
(X9D+) / R406 (X7) will also help with the rise times.  However on the
X7 changing the resistor is not enough, OneBit is needed too.
2021-05-20 23:24:04 +02:00
3djc 70d24506da Merge branch '2.3' into 2.4
# Conflicts:
#	radio/src/fonts/480x272/font_dblsize.png
#	radio/src/fonts/480x272/font_xxlsize.png
#	radio/src/gui/128x64/model_setup.cpp
#	radio/src/gui/128x64/radio_setup.cpp
#	radio/src/gui/480x272/model_receiver_options.cpp
#	radio/src/gui/480x272/model_setup.cpp
#	radio/src/gui/480x272/radio_calibration.cpp
#	radio/src/gui/480x272/radio_hardware.cpp
#	radio/src/gui/common/stdlcd/draw_functions.cpp
#	radio/src/gui/gui_common.cpp
#	radio/src/keys.h
#	radio/src/lua/interface.cpp
#	radio/src/pulses/afhds3.h
#	radio/src/rtos.h
#	radio/src/switches.cpp
#	radio/src/targets/common/arm/stm32/aux_serial_driver.cpp
#	radio/src/targets/horus/CMakeLists.txt
#	radio/src/targets/horus/lcd_driver.cpp
#	radio/src/targets/horus/startup_stm32f42_43xxx.s
#	radio/src/targets/taranis/CMakeLists.txt
#	radio/src/telemetry/crossfire.h
#	radio/src/telemetry/multi.cpp
#	radio/src/translations.cpp
#	radio/src/translations/it.h.txt
#	radio/src/translations/untranslated.h
#	radio/util/font2png.py
#	tools/commit-tests.sh
2021-04-08 11:42:28 +02:00
Daniel 874a06eeb6 Add space to SD edit name 2021-04-01 08:25:02 +02:00