Commit Graph
9596 Commits
Author SHA1 Message Date
Raphael Coeffic 91ea5998b7 Translate offset to support gvars 2021-12-31 10:53:09 +01:00
Raphael Coeffic d98a697aca Add "board" field and remove a few useless ones 2021-12-31 10:53:09 +01:00
elecpowerandRaphael Coeffic 73539a10a9 Rename libsims 2021-12-31 10:53:08 +01:00
rotormanandRaphael Coeffic 89517d8bd8 Use ETX instead of OTX (also as a file extension). 2021-12-31 10:53:08 +01:00
Raphael Coeffic 20961e460b Use double quotes around switches to avoid escaping with backslash
Escaping with backslash arbitrary characters seems to be an issue with most YAML parsers.
2021-12-31 10:52:20 +01:00
Raphael Coeffic 81d7768498 Fix arbitrary escaping in quoted strings 2021-12-30 14:21:02 +01:00
Raphael Coeffic 587e64f76a Fix potential YAML format issue by enclosing "def" value in double quotes 2021-12-30 13:55:06 +01:00
Jesper FrickmannandGitHub d37b3e4051 [lua] Fix Lua Mixer index issue (#1312)
* Bug with the index of Mixer script input/output data

* Missed a #if defined(COLORLCD)
2021-12-30 19:37:23 +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
Peter Feerick 8447fb3de6 Add padding to bottom of screen for touchscreen
Mainly for NV14, but won't hurt TX16S, etc
2021-12-30 11:54:15 +10:00
Malte LangermannandGitHub 9e285b3cb2 [touch] Fix hardware touch diagnostics regression (#1314)
* fix touch screen test in analog input test screen

* remove #if SIMU check for touch test

* remove unneeded trace
2021-12-30 11:46:10 +10:00
Raphael Coeffic 1fa27e89ac Fixed output of structs inside arrays without indexes
This is the case for curves inside mixes, which would previously prevent outputting all attributes following the `curve` attribute: `delayUp`, `delayDown`, `speedUp`, `speedDown` and `name`.
2021-12-29 15:26:25 +01:00
eshifriandGitHub e15b34941d [NV14] Add switch definitions for NV14 (#1313) 2021-12-29 11:38:17 +10:00
eshifriandGitHub 87724bba2f [colorlcd] Fix pot and slider warning checks (#1281)
Some pot/sliders were being ignored or check state was inverted
2021-12-28 10:25:33 +10:00
richardclliandGitHub 230ac34e86 [translations] Resolve issue with lines over characters for some languages, and some wrong characters used (#1268)
* Resolve a problem in font generation when y_offset is negative.

* Change to use full dynamic detection of special chars, generalized for all languages including cjk.

* Isolated colorlcd and bwlcd translation encoding method.

* Fixed the cz char mapping.

* Only cz requires subset lowercase handling.
2021-12-27 11:43:17 +10:00
Raphael Coeffic b0791e2afa Reset channels to 16 instead of 24 for ISRM/D16 2021-12-26 17:08:46 +01:00
Malte LangermannandGitHub a1e03ed7b5 [NV14] Fix ST7796S LCD controller detection and colors, show LCD controller type on version screen (#1294)
show LCD controller type on NV14 radio version screen
fix ST7796S LCD controller detection
fix ST7796S driven displays to show correct colors
fix NV14 lcd_driver.cpp compiler warning
2021-12-26 10:17:30 +10:00
Raphael Coeffic e51005af2a Make sure SD card paths exist before converting from EEPROM 2021-12-24 10:34:23 +01:00
Peter Feerick c26dcd5521 Add option and help text for CMake 2021-12-24 13:25:15 +10:00
Peter Feerick d9b725a4b1 Newline 2021-12-24 13:18:08 +10:00
Peter Feerick 0814cbca88 Fix LUA=N compilation failure 2021-12-24 13:18:08 +10:00
Peter Feerick b6ad6fbc50 Change LUA=YES to LUA_MIXER=Y/N 2021-12-24 13:18:08 +10:00
Peter FeerickandPeter Feerick e4369af048 [libopenui] Fix screen widget layout line color 2021-12-24 13:08:55 +10:00
Peter FeerickandRaphael Coeffic a1c10fa486 Add power delay for when turning on MPM for T16
Fixes #1239
2021-12-23 07:38:58 +01:00
Raphael CoefficandRaphael Coeffic 6402088349 ARM64 fixes 2021-12-20 11:46:03 +01:00
eshifriandGitHub a892cc2dac Fix GVARS=NO output values not correctly applied or editing correctly (#1264) 2021-12-19 17:53:34 +10:00
Raphael Coeffic a4c718f6b7 YAML: remove useless constants 2021-12-18 15:25:52 +01:00
Raphael Coeffic fb8080392c YAML: properly output calculated sensors 2021-12-18 12:29:34 +01:00
zyren a811f73136 Improve Chinese CN & TW Translations
Rebase and modify #1263 and resubmit

Added new translations for the popup main menu
Added new translations for theme
Fixed wrong translations

@richardclli Please check
2021-12-18 12:44:28 +08:00
Peter FeerickandGitHub b0c328dd19 Make SYS Tools Lua entries larger for easier touch (#1265)
fixed 376 by making each line 10 pixels higher.
2021-12-18 12:20:24 +10:00
Peter Feerick ee74bd408b Add more vertical centering 2021-12-18 11:49:39 +10:00
Raphael Coeffic 6b990574af Fix switch checks 2021-12-17 17:31:36 +01:00
Raphael Coeffic 715beaff0c Fixed YAML after rebase 2021-12-17 17:11:59 +01:00
Raphael Coeffic 3052891ee4 Fixed USB name 2021-12-17 17:09:38 +01:00
Raphael Coeffic 7535611e56 Fixed editName() 2021-12-17 17:09:38 +01:00
Raphael Coeffic 83b676b4dd Added YAML defs for T-pro 2021-12-17 17:08:49 +01:00
3djcandRaphael Coeffic d31482c18b Introduce T-pro and function switches handling 2021-12-17 17:07:48 +01:00
Raphael Coeffic dffa1e3bef Fixed YAML after rebase 2021-12-17 15:35:09 +01:00
Raphael Coeffic 37dd890714 Reverted BOOTCMD pin 2021-12-17 15:17:49 +01:00
Raphael Coeffic 1fb06a7c3a Do not use DMA based send in passthrough mode
The USB buffer could be located and CCM, which does not work with DMA.
2021-12-17 15:17:49 +01:00
Raphael Coeffic db264a0c29 Fixed radio diagnostic keys (Zorro) 2021-12-17 15:17:49 +01:00
Raphael Coeffic f93cac3b1d Make USB serial dependent on USB_SERIAL rather than DEBUG 2021-12-17 15:17:49 +01:00
Raphael Coeffic 8db2f2e185 Disable CPPM and SBUS trainer modes when disabled in HAL 2021-12-17 15:17:49 +01:00
Raphael Coeffic cd4b782cfe Prepare intmodule bootpin 2021-12-17 15:17:49 +01:00
Raphael Coeffic 0f970c93c9 Zorro YAML 2021-12-17 15:17:49 +01:00
3djcandRaphael Coeffic 6735a42b08 Radiomaster Zorro
Port of opentx/opentx#8791
2021-12-17 15:17:48 +01:00
Raphael CoefficandGitHub 498bc152a3 Merge pull request #1040 from EdgeTX/sw-warnings 2021-12-17 13:05:13 +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
Raphael Coeffic 7542e75f1a Fix T8 unit tests 2021-12-17 11:24:05 +01:00
Raphael Coeffic 710677a1f7 Use existing function to generate switch name in YAML switch warning field 2021-12-17 11:02:51 +01:00