Commit Graph
38 Commits
Author SHA1 Message Date
3djcandRaphael Coeffic e63eeb0984 Update yaml 2022-03-21 11:45:15 +01:00
3djcandRaphael Coeffic db3547d45c POC 2022-03-21 11:43:48 +01:00
Raphael Coeffic f1dc564c76 Read old auxSerialMode & aux2SerialMode 2022-03-20 16:30:58 +01:00
Raphael Coeffic b5779f2a6a More generic serial port config 2022-03-20 16:30:58 +01:00
Raphael CoefficandGitHub 610326f216 Write 'semver' tag with the current firmware version (#1695)
And remove `version`/`variant`.
2022-03-20 19:18:01 +10:00
a1e7d70722 chore: Clean up some issues introduced in #1363
* Clean up some errors introduced in PR #1363

- Cleaning up bad YAML definitions
- Reverted renaming of 'jitterfilter' radio setting in storage/conversions/yaml/ files

* Add a custom attribute to allow for backward compatibility

* Prevent custom attributes without a 'write' function to output a tag

* companion - read but don't write old name

Co-authored-by: Raphael Coeffic <raphael.coeffic@frafos.com>
Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
2022-03-16 18:07:26 +10:00
bf931a5097 feat: Add facilty for custom throttle warning position (#1395)
* replace magic number for throttle idle with correct define

* settings for custom throttle warning position

* settings fixed not to break byte-aligment of bit-fields

* evaluate custom throttle warning position

* add requested throttle value to warning text

* comment about field alignment in ModelData struct

* Menu for editing custom throttle warning for 128x64 radios
Tested on RM TX12

* Improoved menu display

* move displayed strings to translation

* translation template added for each language

* support for 212x64 B&W radios

* menu for colorlcd
not tested

* corrected translation entry for TW

* corrected handling of padding bits in ModelData structure

* Companion support for custom throttle warning position

* Rebase catchup

Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
2022-01-30 15:04:40 +10:00
Peter FeerickandGitHub 4b93686a40 feat: ImmersionRC Ghost 12 bit support
IRC Ghost 12 bit support
2022-01-27 09:58:09 +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 Coeffic 257d25b5eb Updated generated YAML parser files
And added the "ghost" union member to the selector.
2022-01-22 13:43:30 +01:00
Raphael Coeffic 9f9c3aba01 Add curve ref gvar support 2021-12-31 10:53:11 +01:00
Raphael Coeffic bf41080b57 Fix YAML radio format: outputs GVAR support and small fixes 2021-12-31 10:53:11 +01:00
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
Raphael Coeffic a4c718f6b7 YAML: remove useless constants 2021-12-18 15:25:52 +01:00
Raphael CoefficandGitHub 498bc152a3 Merge pull request #1040 from EdgeTX/sw-warnings 2021-12-17 13:05:13 +01:00
Peter FeerickandPeter Feerick 4e56f524fd FUNC_SOUNDS, not FUNC_FIRST_WITHOUT_ENABLE 2021-12-14 18:08:42 +10:00
Raphael Coeffic 865cf06b0d Revamped switch state checking 2021-12-09 09:20:01 +01:00
16fc05ad8e Fix showing of non-existent pots in warnings group (#1129)
* pots warning enabled fix

* yaml_generator whitespace

* Fix UART_MODE_DEBUG

Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
2021-12-07 20:03:28 +11:00
Raphael Coeffic 06c04c852a Use symbolic indexes for calibration data
Resolves #1083
2021-11-26 17:31:57 +01:00
Raphael CoefficandRaphael Coeffic ae552bd6fd WiP: support internal module as a hardware setting 2021-11-25 12:10:16 +01:00
Raphael Coeffic b72428bdba Improved module data output 2021-11-10 11:07:03 +01:00
Raphael Coeffic c6b847c9ac thrTraceSrc and potsWarnMode 2021-11-10 11:07:03 +01:00
Raphael Coeffic 397674021e Improved logical switches 2021-11-10 11:07:02 +01:00
Raphael Coeffic 682aabacec WiP logical switches 2021-11-10 11:07:02 +01:00
Raphael Coeffic b5e9c68056 Improve custom functions 2021-11-10 11:07:02 +01:00
Raphael Coeffic 3da2aee1ff Sensor type & formula 2021-11-10 11:07:02 +01:00
Raphael Coeffic 24b69098c7 Improved swashR, flightModes & sources 2021-11-10 11:07:02 +01:00
Raphael Coeffic b1521579ba Improved telemetry screen type output 2021-11-10 11:07:02 +01:00
Raphael Coeffic 4ee58045e1 Improved mixer source (de-)serialization 2021-11-10 11:07:02 +01:00
Raphael Coeffic b7640a830f WiP pass YamlTreeParser where needed 2021-11-10 11:07:02 +01:00
Raphael Coeffic bcc1f55b37 Use full custom to cope with the strange trainer mode defs 2021-11-10 11:07:01 +01:00
Raphael Coeffic 69c017091a More stringified values 2021-11-10 11:07:01 +01:00
Raphael Coeffic a8f2212f2c Added support for lists (without index value) 2021-11-10 11:07:00 +01:00
Raphael Coeffic 77ff579355 Stick names in own config list 2021-11-10 11:07:00 +01:00
Raphael Coeffic 21bf580f9a Merge switches / pots / sliders names into their config struct 2021-11-10 11:07:00 +01:00
Raphael Coeffic f8ab3770e4 Updated generated yaml parser structs 2021-11-10 11:07:00 +01:00
Raphael Coeffic 630e6918ea Added more B/W targets 2021-11-10 11:07:00 +01:00