Raphael Coeffic and GitHub
c2dc4e6c0b
YAML: avoid forcing to add parser for non-existing old format v220 ( #2068 )
2022-06-21 06:45:35 +02:00
Raphael Coeffic and GitHub
b9077c7e5a
fix: Quote Stick, Pot, Slider and Switch names ( #1754 )
...
* Quote stick names
Resolves #1749
* Fix pot, slider and switch names as well.
2022-03-31 10:39:39 +10:00
Raphael Coeffic and GitHub
be9aa44e00
fix: Mix data offset: convert to signed int with maximum 11 bits ( #1743 )
...
Resolves #1734
2022-03-29 09:25:13 +10:00
Raphael Coeffic and Raphael Coeffic
2c6bd12c6e
Fix module YAML format
2022-03-24 10:40:17 +01:00
Raphael Coeffic
de43d7e77c
Try to fix the trainer mode mess
2022-03-20 16:30:59 +01:00
Raphael Coeffic
f1dc564c76
Read old auxSerialMode & aux2SerialMode
2022-03-20 16:30:58 +01: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
Jesper Frickmann and GitHub
d427817363
fix: Negative GVs being misread and written on transmitter ( #1516 )
2022-02-01 10:22:26 +10:00
Raphael Coeffic and Peter Feerick
09c49e24ee
Remove SKY9X target
2022-01-29 14:40:17 +10:00
Peter Feerick and GitHub
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
Peter Feerick
1eaa904217
fix: Also patch conversion for X9LiteS/XLiteS
2022-01-24 15:38:48 +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
91a676b64f
Fix compiling with DSM2=OFF and MULTIMODULE=OFF
2022-01-10 16:23:32 +01:00
Raphael Coeffic
eb1e3078c8
Fix index for negative GVARs
2022-01-01 12:35:29 +01:00
Raphael Coeffic
9f9c3aba01
Add curve ref gvar support
2021-12-31 10:53:11 +01:00
Raphael Coeffic
7a66c3413a
Fixed YAML GVAR based values
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
rotorman and Raphael 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
587e64f76a
Fix potential YAML format issue by enclosing "def" value in double quotes
2021-12-30 13:55:06 +01: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
3djc and Raphael 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
0f970c93c9
Zorro YAML
2021-12-17 15:17:49 +01:00
Raphael Coeffic and GitHub
498bc152a3
Merge pull request #1040 from EdgeTX/sw-warnings
2021-12-17 13:05:13 +01:00
Raphael Coeffic and Raphael Coeffic
e854515147
Fix T12 switch definitions
...
The T12 has SG instead of SF.
2021-12-17 12:08:23 +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
Raphael Coeffic
865cf06b0d
Revamped switch state checking
2021-12-09 09:20:01 +01:00
Raphael Coeffic and GitHub
995e41469e
Fixed "lua(...,...)" source ( #1208 )
...
Resolves #1205
2021-12-04 14:37:03 +11:00
Raphael Coeffic and Peter Feerick
66932626d5
YaML: escape exclamation marks to avoid issues with compliant parsers
...
and added some support for reading such escaped characters.
2021-11-28 11:31:47 +10:00
Raphael Coeffic
06c04c852a
Use symbolic indexes for calibration data
...
Resolves #1083
2021-11-26 17:31:57 +01:00
Raphael Coeffic
5d5ceb4d88
Fix SET_TIMER function
...
Resolves #1130
2021-11-26 13:28:40 +01:00
Raphael Coeffic
9a0c65cf04
Fix YAML for all GVAR adjustements custom functions
2021-11-26 08:55:06 +01:00
Raphael Coeffic and Raphael Coeffic
9fffb182d7
Added missing "break"
2021-11-22 13:05:11 +01:00
Raphael Coeffic and Raphael Coeffic
fad3ce67a7
Fix attribute comma separation in custom functions
...
Resolves #1122
2021-11-22 13:05:11 +01:00
Raphael Coeffic and Raphael Coeffic
3ffa531fdd
Fix length of Txx string
...
Resolves #1116
2021-11-21 22:34:53 +01:00
eshifri and Raphael Coeffic
0388734828
Fix converion functionality as well
2021-11-21 22:30:22 +01:00
Raphael Coeffic and Raphael Coeffic
2abf07ed9b
Port of TBS's changes for module scoped telemetry
2021-11-21 11:18:35 +01:00
Raphael Coeffic
26c5c2b3d4
Fix GVar adjust mode
2021-11-10 11:07:04 +01:00
Raphael Coeffic
ca31c275bd
Fix override channel parameter
2021-11-10 11:07:04 +01:00
Raphael Coeffic
99c7dbf575
Fixed issue with logical switches
2021-11-10 11:07:04 +01:00
Raphael Coeffic
351f5d6d7a
Use updated constants for some write functions as well to cope with changed data model
2021-11-10 11:07:04 +01:00
Raphael Coeffic
b72428bdba
Improved module data output
2021-11-10 11:07:03 +01:00
Raphael Coeffic
455cb1c2b8
Cope with padding inside ZoneOptionValueTyped
...
As it seems, ZoneOptionValueEnum is optimised by ARM-GCC to have only 8bits, rather than the 32bits used by the host compiler. Meaning that with "data" pointing at ZoneOptionValueTyped::value, we need the offset and not the size of the element before to properly rewind the data pointer.
2021-11-10 11:07:03 +01:00
Raphael Coeffic
c6b847c9ac
thrTraceSrc and potsWarnMode
2021-11-10 11:07:03 +01:00
Raphael Coeffic
cc9b146713
Output widget colors as such
2021-11-10 11:07:03 +01:00