Commit Graph
113 Commits
Author SHA1 Message Date
Neil HorneandGitHub 33845b9def chore(cpn): Bump miniz to v2.2.0 (#2010)
* Install miniz v2.2.0 release over v1.15
* Update interfacing to miniz and compile miniz as a library
2022-06-08 12:38:40 +10:00
Neil HorneandGitHub 47a90ed38f feat(cpn): Add individual model save to yml (#1968)
- add save model(s) to context menu and toolbar
- new storage functions to support single model write
- modified yml storage format write functions
- default save directory is application sd card TEMPLATES
- model name used as default file name
2022-06-07 20:53:45 +10:00
Neil HorneandGitHub 1964560774 feat(cpn): Add two more new model actions: template and prompt (#1963)
* Add new model actions to application settings

* Add new model prompt action

* Tweak wording

* Add new model action template

* Open individual model yml files

* Tidy up after importing template

* Add create default and edit to prompt options

* Fix edit mode to display the edit dialog after model creation when selected in settings
2022-06-07 17:53:03 +10:00
Neil HorneandGitHub cd59eac89f feat(cpn): Allow opening of individual model yml files (#1959)
- parse the yaml file and if successful open as a new document in a Models and Settings window
- warn the user that no radio conversion has been possible as source radio flavour unknown
- populate radio settings with default values based on current radio profile
2022-06-07 10:50:21 +10:00
Neil HorneandGitHub 9d6d91d99c feat(cpn): Clean up B&W MODELS folder before write to radio (#1932) 2022-05-04 18:48:11 +10:00
Neil HorneandGitHub 44f12ba7f0 feat: Improve searching for previous versions of companion app settings (#1540) 2022-02-04 10:50:22 +10:00
Peter FeerickandPeter Feerick dc8f86700c [companion] fix: only write yaml to radio, not bin 2022-01-10 21:53:29 +10:00
Raphael Coeffic 67816e0d65 Fix current model index 2022-01-09 16:09:29 +01:00
Raphael Coeffic 748435fa8f Various small fixes 2022-01-08 17:10:25 +01:00
Raphael Coeffic 01ca714312 Fallback to model file scanning if models.yml cannot be read 2022-01-07 11:52:46 +01:00
elecpowerandRaphael Coeffic e728560a45 Add default internal module to radio profile 2022-01-02 13:05:09 +01:00
Raphael Coeffic b097593e73 Fix reading models from B&W radio 2021-12-31 10:53:12 +01:00
Raphael Coeffic 5628391539 Allow yaml-cpp exception to be caught in the loader and set as error
This allows for better debugging: the exception shows where in the file the error has occurred.
2021-12-31 10:53:11 +01:00
Raphael Coeffic 79181d1484 Add model files loading for B&W radios 2021-12-31 10:53:11 +01:00
elecpowerandRaphael Coeffic 7648dfc544 Do not prompt to use previous version settings when newer version 2021-12-31 10:53:11 +01:00
elecpowerandRaphael Coeffic e64f57768a Add board flavour 2021-12-31 10:53:11 +01:00
Raphael Coeffic f965707bdd Fixed write format detection 2021-12-31 10:53:11 +01:00
elecpowerandRaphael Coeffic 03a6e9edc8 Bump Companion settings version to force upgrade of profiles 2021-12-31 10:53:11 +01:00
Raphael Coeffic e56e769d27 Patch .bin filename to .yml 2021-12-31 10:53:11 +01:00
Raphael Coeffic 7e8e5bf554 Fixed metadata in models.yml 2021-12-31 10:53:11 +01:00
Raphael Coeffic 9f348b513e Fix writing model files for radios without categories 2021-12-31 10:53:11 +01:00
Raphael Coeffic 9057a6b7f1 Default to YAML for write format 2021-12-31 10:53:11 +01:00
elecpowerandRaphael Coeffic 5d8947f19f Fix grouping models by category 2021-12-31 10:53:11 +01:00
elecpowerandRaphael Coeffic 832b1820dd Remove poc include 2021-12-31 10:53:10 +01:00
elecpowerandRaphael Coeffic 427be5165c Remove testing safeguard for saving etx format 2021-12-31 10:53:10 +01:00
Raphael Coeffic d0089232ff Fixes saving b&w models 2021-12-31 10:53:09 +01:00
Raphael Coeffic 763964193e Small fixes 2021-12-31 10:53:09 +01:00
Raphael Coeffic b73ffb5e08 WiP: write basic model data and models list 2021-12-31 10:53:09 +01:00
Raphael Coeffic a7781deb6a Mark read models as "used" 2021-12-31 10:53:09 +01:00
Raphael Coeffic c5d686a6f0 WiP: write GeneralSettings to YAML 2021-12-31 10:53:09 +01:00
Raphael Coeffic d0293013ec WiP: Add model loading 2021-12-31 10:53:09 +01:00
Raphael Coeffic 5a8a5ab743 WiP: start parsing YaML 2021-12-31 10:53:08 +01:00
elecpowerandRaphael Coeffic 0f6db9c5cb Detect sdcard format and split processing of otx and etx 2021-12-31 10:53:08 +01:00
elecpowerandRaphael Coeffic cf43d3ed40 Fix settings conversion 2021-12-31 10:53:08 +01:00
elecpowerandRaphael Coeffic 06fef816f0 Convert profile firmware types and remove some old code 2021-12-31 10:53:08 +01:00
elecpowerandRaphael Coeffic 9db320577a Move miniz include to categorized storage 2021-12-31 10:53:08 +01:00
elecpowerandRaphael Coeffic 76c3dd8240 Use full project names 2021-12-31 10:53:08 +01:00
elecpowerandRaphael Coeffic 0db9363df9 Fix miniz linker 2021-12-31 10:53:08 +01:00
elecpowerandRaphael Coeffic a7948f736b Add back otx format 2021-12-31 10:53:08 +01:00
rotormanandRaphael Coeffic 89517d8bd8 Use ETX instead of OTX (also as a file extension). 2021-12-31 10:53:08 +01:00
3djcandRaphael Coeffic 6735a42b08 Radiomaster Zorro
Port of opentx/opentx#8791
2021-12-17 15:17:48 +01:00
Malte LangermannandGitHub ec01fa8df9 RLE for greyscale lcd (gives more firmware space!) (#1142)
* use RLE encodes bitmaps on 212x64 pixel radios

* fix model image display
fix icon display

* implement RLE bitmaps in companion for splash image on 212x64 radios
reserve 3kB for RLE bitmaps in firmware

* fix size check

* use defines instead of magic numbers

* fix display of splash screens on 212x64 radios

* add warning message if compressed image is larger than the reserved space
2021-12-04 15:06:23 +11:00
Peter FeerickandGitHub 47dac14b2f Add codename define, update radio version screens and tweak companion (#747)
* Add codename deffine and update all radio version screens

* Move string, make const and formatting

* Missed parentheses around version number

* Add codename to Companion

* Replace edge-tx.org with edgetx.org

* Change EdgeTX website http links to https
Also consistent URL

* Update copyright string
Leave second version for future years
2021-09-18 20:35:31 +10:00
Neil HorneandGitHub a9812688b0 Companion 2.5 (#555)
* Introduce yaml in Companion

* EdgeTX Companion
Replace some OpenTX refs
Data conversion to v220
Update Timers ui to cater for mode field split

* Fix some simulators crashing when started from Companion

* Disable firmware and app update checking and downloads from companion

* Some more rebranding

* Disable manual download actions and another rebrand

* Fix cmake warning

* Fix mode ON conversion gtests and enable switch in model edit

* Stop update message when updates turned off

* OpenTX #8580 Fixes missing negative sign for telemetry sources

* OpenTX #8604 fix curves tooltip colors

* OpenTX #8616 Fix release notes url references

* OpenTX #8548 Align file sync folder references

* OpenTX #8548 Link field once

* OpenTX #8550 Confirmation prompt before write models and settings to radio

* OpenTX #8550 Translate strings

* Title and splash images

* Change DEB package maintainer

* Start NV14

* NV14 continued

* NV14 sim

* Timer countdownStart data conversion and ui fixes

* Fix screen width

* Merge OpenTX PR 8675

* NV14 sim add computer keys and mouse to activate some functions

* Only allow supported protocols for each module on conversion

* Clear mismatched modules on conversion

* Replace colorlcd theme and layout blobs with detailed data structs in companion

* NV14 has 2 topbar zones

* Fix layout init

* Fix layout init again

* Reset to eepromimportexport.h to main branch

* Import/export does not like enum fields

* Model edit add custom screens tab for color and bw telemetry

* Free memory
2021-09-08 10:56:39 +10:00
DanielGeAandGitHub 5d4f6679e5 Remove Avr boards (#7713)
Remove AVR
2020-06-22 16:52:52 +02:00
Bertrand Songis 23aaafbfa2 Fixes #7731 2020-06-14 18:41:37 +02:00
Bertrand Songis b795a72ef4 Cosmetics (bootloader title bar) 2020-06-13 12:46:38 +02:00
Bertrand Songis 38f6d5772f Change binaries version (origin added: otx / frsky / tbs / radiomaster) 2020-06-09 10:46:22 +02:00
Neil HorneandGitHub 70507779a8 Option to prompt for radio profile on companion start (#7565)
* Optional prompt for radio profile on companion start

* Sort out timings and use std appdata function

* Change dialog title
2020-05-04 14:44:33 +02:00
3djcandGitHub 0f9114c524 Initial TX16S (#7344)
* TX16S initial push - Radio booting, navigation keys ok

* TX16S libsimu

* Please Travis

* Do not start radio on charger power

* USB charger led handling

* Revert "USB charger led handling" until we have proper details

* Pseudo sport power pin

* Please Travis

* tx16s serial debug

* Add tx16s calibration picture

* Review anadir for tx16s, needs to be checked on more radios

* Dump raw multi telem on AUX port

* More work on TX16S

* Fixes

* Compilation fix

* Compilation fix

* Fix Aux Serial power

* Various improvement

* USB charger led handling

* Cosmetics

* Cosmetics

* USB charger led handling

* Add charge indicator on GUI
2020-01-30 17:25:09 +04:00