Commit Graph
16539 Commits
Author SHA1 Message Date
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
dlktdrandPeter Feerick 5ef5b1e282 Fix Sbus single stepping 2021-11-04 15:25:34 +10:00
dlktdrandPeter Feerick 06522db5b9 Add defines for magic numbers 2021-11-04 15:25:34 +10:00
elecpowerandPeter Feerick fb5d8a30d3 Add trainer mode OFF for NV14 2021-11-04 11:29:08 +10:00
Raphael CoefficandRaphael Coeffic 74ea7812e2 Add ALLOW_TRAINER_MULTI to enable Multi-trainer on targets with PXX2 internal module
Please note that this requires the S.PORT connection to the internal ISRM to be cut, as it would otherwise be pulled low by the ISRM (without using it otherwise).
2021-11-02 14:26:40 +01:00
Raphael CoefficandRaphael Coeffic 3247b59f5e Fix some power-up issues
Resolves #519
2021-11-01 11:01:32 +01:00
Raphael CoefficandRaphael Coeffic aabfc6f6b1 More cleanup 2021-11-01 11:01:32 +01:00
Raphael CoefficandRaphael Coeffic 5af7b7edc7 Some cleanup 2021-11-01 11:01:32 +01:00
Raphael CoefficandRaphael Coeffic b4e8ff3d6b Fix ADC pin definition (port A) 2021-11-01 11:01:32 +01:00
Raphael CoefficandRaphael Coeffic 7e34635dd7 NV14: fix attempt for external power mod
Use `EXTERNAL_MODULE_OFF()` function rather than defining `EXTERNAL_MODULE_PWR_OFF()` macro in `hal.h`.
2021-11-01 11:01:32 +01:00
RistoandGitHub a6c47a670a Minor. Export label change from OpenTX -> EdgeTX 2021-10-31 10:17:26 +01:00
Peter Feerick 94d8ee1258 [companion] Add missing braces to conversion
Per:
https://github.com/EdgeTX/edgetx/pull/942/files/9df21159d01548716093e18ea829f58ec4a9475d#r739703672
2021-10-31 18:47:14 +10:00
Raphael Coeffic ba6881eb0f Remove compiler warning about potsPos[idx] 2021-10-31 09:30:21 +01:00
RistoandGitHub 4e404391de Added -Wno-dev to CMake 2021-10-29 16:22:51 +02:00
Peter FeerickandPeter Feerick 2b0a4ab27c Remove BMP_ARGB4444 override since autodetected
Fixes #966
2021-10-29 10:15:03 +10:00
elecpowerandPeter Feerick b4f0e7ca8e Fix cpn mix list highlight 2021-10-28 19:46:27 +10:00
Peter FeerickandPeter Feerick cd84f8665a Use ModelTextEdit in model edit screens!! 2021-10-28 09:28:17 +10:00
Peter FeerickandPeter Feerick 2f3919c4b9 Rebuild window when SF entry cleared
Resolves #322
2021-10-28 09:28:01 +10:00
eshifriandPeter Feerick 7aec59f05c Bypass widget options setup when they are not available #890 2021-10-27 09:41:54 +10:00
Peter FeerickandPeter Feerick 3041185ec3 Fix channel override icon state not being updated
Reported by @mervdale
2021-10-27 09:39:03 +10:00
Peter FeerickandPeter Feerick 8bb04e2a38 Fix widget options not triggering storageDirty
Fixes #958
2021-10-27 09:38:18 +10:00