Commit Graph
16559 Commits
Author SHA1 Message Date
Raphael Coeffic 8a9154db76 Force disable YAML on X9D-like targets (UI missing) 2021-11-10 11:07:00 +01:00
Raphael Coeffic f21bcd6987 Added missing STORAGE_CONVERT cmake var to Horus-like targets 2021-11-10 11:07:00 +01:00
Raphael Coeffic 5e0d0131b4 Added EEPROM conversions to YAML 2021-11-10 11:07:00 +01:00
Raphael Coeffic 630e6918ea Added more B/W targets 2021-11-10 11:07:00 +01:00
Raphael Coeffic 20a1fa38c4 Enable YAML storage by default 2021-11-10 11:07:00 +01:00
Raphael Coeffic 7e110ce4b1 Add empty CURR_MODEL_FILENAME in case SD card storage is not used 2021-11-10 11:07:00 +01:00
Raphael Coeffic e48762e453 use proper define for KEY_PAGE defined 2021-11-10 11:07:00 +01:00
Raphael Coeffic faaa5b928a define away COLORLCD specifics 2021-11-10 11:07:00 +01:00
Raphael Coeffic 82fec817f1 yaml_ use EEPROM_VER = 221 2021-11-10 11:06:59 +01:00
Raphael Coeffic 7da2615d4f yaml: do not copy '\r' or '\n' into attribute name 2021-11-10 11:06:59 +01:00
Raphael Coeffic 985a8760bb WiP 2021-11-10 11:06:59 +01:00
Raphael Coeffic 5a367a5221 Bin to Yaml conversions 2021-11-10 11:06:59 +01:00
Raphael Coeffic 6c73b5ba0a WiP
TODO: support conversions from BIN to YAML.
2021-11-10 11:06:59 +01:00
Raphael Coeffic ce75a1a48d Compilation fixes after rebase 2021-11-10 11:06:59 +01:00
Raphael Coeffic 72859ad6d1 WiP 2021-11-10 11:06:59 +01:00
Raphael Coeffic c2f42879a4 Test with X7 family 2021-11-10 11:06:59 +01:00
Raphael Coeffic fa521fa1da Updated YAML data structs 2021-11-10 11:06:59 +01:00
Raphael Coeffic d2ddb2e535 Fix compilation error 2021-11-10 11:06:59 +01:00
Raphael Coeffic e1736294c8 Use a list attribute name as model category 2021-11-10 11:06:59 +01:00
Raphael Coeffic 9436e171a7 Change ExpoData to custom functions for X12S as well. 2021-11-10 11:06:59 +01:00
Raphael Coeffic ea483e4dc9 Use custom [r/w]_mixSrcRaw in ExpoData as well. 2021-11-10 11:06:59 +01:00
Raphael Coeffic cbfff0f168 yaml: switch warning state (de-)serialize 2021-11-10 11:06:59 +01:00
Raphael Coeffic 1ccf6be019 Fixed padding bits 2021-11-10 11:06:59 +01:00
Raphael Coeffic d747072e1e TODO reminders 2021-11-10 11:06:59 +01:00
Raphael Coeffic fcab8f2b24 Hide YAML traces behind DEBUG_YAML 2021-11-10 11:06:59 +01:00
Raphael Coeffic 09738f365d Use max version number for YAML (provisional)
TODO: this needs to be changed once there is a proper version number assigned.
2021-11-10 11:06:59 +01:00
Raphael Coeffic 713579b238 Added basic support for PartialModel load 2021-11-10 11:06:59 +01:00
Raphael Coeffic cbde43cbeb Updated generated yaml model for X12S 2021-11-10 11:06:59 +01:00
Raphael Coeffic e10439ce87 Updated directly loadable version to libclang-6.0 2021-11-10 11:06:59 +01:00
Raphael Coeffic 9a31683bee Init value types properly from factory option defs
This is needed to dump the options with the proper type into yaml file.
2021-11-10 11:06:58 +01:00
Raphael Coeffic a4701ef988 Fix crash on partial model load (model select) 2021-11-10 11:05:47 +01:00
Raphael Coeffic 94764d8fa9 Updated X10 generated structs 2021-11-10 11:05:47 +01:00
Peter Feerick f1d50c585a Bump libopenui, resolves #1017 2021-11-10 11:18:45 +10:00
Peter FeerickandGitHub 3ad98bacf4 [NV14] Use trim hats to emulate key events when standalone lua script running (#985)
* Preliminary trims as keys for lua
Largely based on open-flysky implementation

* Add `isLuaStandaloneRunning()`

* Add more virtual events

* Tweak virtual events further

* Finish remapping keys to virtual events

* Move some virtuals to right trim hat

* Add missing "defined"

* Revert to common EVT_VIRTUAL_MENU mapping

* Make keys/trims reset backlight like other radios
2021-11-09 12:50:20 +11:00
RistoandGitHub 1bdb99f2bb Use build-companion-nightly-win32.sh instead 2021-11-08 22:35:00 +01:00
RistoandGitHub a9fb2bbce0 Mingw32 2021-11-08 22:34:12 +01:00
rotorman 4b48e92a47 GitHub WebGUI created the file in root. Let's try under workflows instead. 2021-11-08 21:55:10 +01:00
RistoandGitHub aa217abfa1 Create win-cpn-32.yml 2021-11-08 21:38:41 +01:00
Peter FeerickandGitHub 63bfc1cf5a Fix CurveEdit crash on NV14 and enable horizontal scolling (#965)
* [nv14] Add crash causing missing curveDataEdit

* Allow horizontal touch sliding
Thanks for catching this @kevinkoenig

* Prevent hori scroll where it shouldn't scroll
Why `model_inputs` scrolls is still a mystery, but it behaves now

* DRY is in effect
2021-11-08 22:07:16 +11:00
Peter FeerickandGitHub e6697639c7 Rename modelBmp using new 'displayName', add more options (#544)
* Make img buf only size of img not whole widget

* Don't draw buffer if there's no image

* If there's no image, draw model name

* Add some options, draw model name if img not set
Add options for text colour, size, fill enable and colour

* Use valid values for defaults

* Get right colours

* Add concept of a 'friendly name to widgets'
Allows for separation of internal and user visible names

* Use new theme constants

* Use right version of libopenui

* `displayName` instead of `friendlyName`

* Allow using theme colour or custom for name
2021-11-08 21:27:38 +11:00
mhotarandPeter Feerick 809db51509 Svg images added to img-src folders 2021-11-07 15:11:34 +10:00
elecpowerandPeter Feerick 09159c2a03 Handle model mix conversion with invalid sources 2021-11-07 14:50:09 +10:00
Raphael CoefficandRaphael Coeffic 18e339e65c Add support for D16/R9 options
Allows for selecting receiver channels (1-8 / 9-16) and telemetry usage (on/off).

Resolves #941
2021-11-06 15:58:45 +01:00
Peter FeerickandGitHub 27f0d043d0 [Companion] More direct donation link 2021-11-05 20:23:19 +11:00
Peter FeerickandGitHub d5913e48b0 Add OpenCollective funding config 2021-11-05 13:49:44 +11:00
Peter Feerick 68335304a8 Update Companion donation URL
Resolves #913
2021-11-05 12:23:19 +10:00
Peter FeerickandGitHub 1e952b8d59 Add Open Collective badge 2021-11-04 16:57:49 +11:00
dlktdrandPeter Feerick d12dd81fcd Should be SBUS not PPM 2021-11-04 15:25:34 +10:00
dlktdrandPeter Feerick 4ae6152d62 Color LCD Fix SBUS rate. PPM use defines 2021-11-04 15:25:34 +10:00
dlktdrandPeter Feerick 172caf09bc Fix SBUS period not functioning, use defines over fixed numbers
SBUS period wasn't functional before. It was using the ppm.framelength, both in color and B/W.

Reduced maximum period to 32.5ms as it overflows the unsigned 16bit int otherwise

Tested with scope, color only.
2021-11-04 15:25:34 +10:00