Commit Graph
416 Commits
Author SHA1 Message Date
Raphael CoefficandRaphael Coeffic 7cccb0e76e Read model names into models list while converting 2021-11-22 13:23:28 +01:00
Raphael CoefficandRaphael Coeffic 934f4dadb9 Use double quotes for filename and model names in models list YaML 2021-11-22 13:23:28 +01:00
Raphael CoefficandRaphael Coeffic 8c688bb6a4 Save models list after changing a model name
Resolves #1079
2021-11-22 13:23:28 +01:00
Raphael CoefficandRaphael Coeffic 9fffb182d7 Added missing "break" 2021-11-22 13:05:11 +01:00
Raphael CoefficandRaphael Coeffic fad3ce67a7 Fix attribute comma separation in custom functions
Resolves #1122
2021-11-22 13:05:11 +01:00
Raphael CoefficandRaphael Coeffic e18e862a88 Move models.yml to its rightful place in case we find it at the old one 2021-11-22 12:52:53 +01:00
Raphael CoefficandRaphael Coeffic 959f6c18e7 Fall back to /RADIO/models.yml in case /MODELS/models.yml is not present
and do not load models.txt unless we are explicitly converting.
2021-11-22 12:52:53 +01:00
Raphael CoefficandRaphael Coeffic 5290820ada Move YaML models list to /MODELS
Resolves #1073
2021-11-22 12:52:53 +01:00
Raphael CoefficandRaphael Coeffic 3ffa531fdd Fix length of Txx string
Resolves #1116
2021-11-21 22:34:53 +01:00
eshifriandRaphael Coeffic 0388734828 Fix converion functionality as well 2021-11-21 22:30:22 +01:00
eshifriandRaphael Coeffic aabcc4fb6f Save third value for EDGE LS in YAML 2021-11-21 22:30:22 +01:00
Raphael Coeffic ead357c702 Do not output the YAML files in simu without DEBUG_YAML 2021-11-21 15:55:55 +01:00
Raphael CoefficandRaphael 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 125b282d81 Fixed value widget source 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 0fee85d3c0 Fixed loadModelHeader() 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 a7ee5f593d Patch radio data version properly (just in case) 2021-11-10 11:07:04 +01:00
Raphael Coeffic 4a5a0be38c Removed on-the-fly model conversions
This makes no sense for YAML model files, only for BIN models (when YAML is not the format of choice).
2021-11-10 11:07:03 +01:00
Raphael Coeffic 88a9b1c6d9 Fixed multi sub proto parsing 2021-11-10 11:07:03 +01:00
Raphael Coeffic b72428bdba Improved module data output 2021-11-10 11:07:03 +01:00
Raphael Coeffic 99b4020b34 Fixed yaml_str2uint_ref() 2021-11-10 11:07:03 +01:00
Raphael Coeffic 11621cf736 Added support for EXT3 / EXT4 2021-11-10 11:07:03 +01:00
Raphael Coeffic 5a727ed6d1 Fix default model index 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 bcdb9bd311 Fix model names and indexes on storage creation 2021-11-10 11:07:03 +01:00
Raphael Coeffic 3717e37e3f Set current model in ModelsList while loading 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
Raphael Coeffic a356b5199d Cope with stupid GCC 2021-11-10 11:07:03 +01:00
Raphael Coeffic c2056c7585 Output source option of Value & Gauge widgets in a symbolic way 2021-11-10 11:07:03 +01:00
Raphael Coeffic e7519b6cce Extended widgetName to fill up alignment hole
widgetData is aligned on 32bit address, so that its offset was calculated wrong.
2021-11-10 11:07:03 +01:00
Raphael Coeffic 288fe158ae WiP fix emergency mode 2021-11-10 11:07:03 +01:00
Raphael Coeffic c749fd8681 X9D+ conversion unit test + fixes 2021-11-10 11:07:02 +01:00
Raphael Coeffic 64d524f717 Fixed canned constants (FUNC_TOUCH_DISABLE again....) 2021-11-10 11:07:02 +01:00
Raphael Coeffic 397674021e Improved logical switches 2021-11-10 11:07:02 +01:00
Raphael Coeffic 4333e4267c Added missing DISABLE_TOUCH in conversions as well. 2021-11-10 11:07:02 +01:00
Raphael Coeffic 00d1e54c68 select_custom_fn() has been removed 2021-11-10 11:07:02 +01:00
Raphael Coeffic 5f2fb4386c Align with changes on main branch
See #942
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 d8bda6b8bb Reworked flight mode gvar output & size checks 2021-11-10 11:07:02 +01:00
Raphael Coeffic 9f7f39376a Fix datastruct sizes for NV14 2021-11-10 11:07:02 +01:00
Raphael Coeffic baba1c5e9d Added some safeguards to avoid issues related to data struct sizes 2021-11-10 11:07:02 +01:00
Raphael Coeffic c9b20063ec Use YAML output functions from version 220 as long as possible
This allows to save some flash memory.
2021-11-10 11:07:02 +01:00
Raphael Coeffic b1521579ba Improved telemetry screen type output 2021-11-10 11:07:02 +01:00