Commit Graph
18603 Commits
Author SHA1 Message Date
HThurenandGitHub 9c39b08b7e chore: Update Danish translation in Companion 🇩🇰 (#3308)
* Update danish translation i Companion

* Update companion_da.ts

Restore da_DA
2023-03-07 11:15:28 +10:00
philmozandGitHub 8a7fb3fc4c fix(color): GVAR edit page not showing second title line on first load (#3311) 2023-03-07 11:14:06 +10:00
EldenrootandGitHub 3720633365 fix: Wrong case used for units of time (#3314)
* Update cz.h

* Update cn.h

* Update da.h

* Update de.h

* Update en.h

* Update es.h

* Update fi.h

* Update fr.h

* Update it.h

* Update jp.h

* Update nl.h

* Update pl.h

* Update pt.h

* Update se.h
2023-03-07 11:12:48 +10:00
philmozandGitHub d098e45179 chore(color): Convert analog debug pages to lvgl (#3240)
* Convert analog debug pages to lvgl.

* Refactor classes.

* Cleanup
2023-03-05 21:28:31 +10:00
Neil HorneandGitHub 9fa9a1f100 fix(cpn): Model print global and special functions (#3075)
* fix(cpn): Model print global and special functions

* fix(cpn): Model print sf/gf adjust gvar abbreviate further

* fix(cpn): Model print gf/sf move to table format

* fix(cpn): Model print gf housekeeping
2023-03-05 20:15:52 +10:00
c84abbf739 chore(cpn): Allow configuring AUX serial port as "External module" (#2854)
* Add external module to hardware settings

* Use serial port aux1 rather than radio profile externalaccessmod
Move module conversion function from OpenTxFirmare to ModuleData

* Remove externalaccessmod from radio profile options

* Unnecessary CMake option HARDWARE_EXTERNAL_ACCESS_MOD removed.

---------

Co-authored-by: rotorman <risto.koiva@web.de>
2023-03-05 19:12:32 +10:00
MichaelandGitHub b4e13474df fix: hex2char() returning wrong char for 0xa..0xf (#3302) 2023-03-05 12:27:29 +10:00
philmozandGitHub b8220e5be4 feat(color): Generate layout icon bitmap at runtime to account for screen orientation (#3282)
* Simplify layouts code, use data driven layout definition.
Generate icon bitmap at runtime to account for screen orientation.
Move old layout png images to companion folder (still used in companion).

* Align buffer for bitmap.

* Use 'free' instead 'delete' for bitmap buffer to avoid failed build test.
2023-03-05 11:36:56 +10:00
philmozandGitHub 5b45b7ce2c chore(color): Add 'title2' to Page class to manage 2nd header title line (#3238) 2023-03-05 10:39:42 +10:00
richardclliandGitHub 4547f08cca feat: Add support for FRM303 (#2875)
* Add FRM303 support.

* chore: Formatting
2023-02-27 21:51:45 +10:00
HThurenandGitHub d927a8d687 feat: Bootloader translated from EN to native language (#2946)
* Basic change

* Other languages

* Minor correction

* IT translated

* Minor correction

* Fix enable / disable in ascii only

* Fix enable / disable in ascii only

* Update cn.h

Fix enable / disable at nv14 bootloader

* Update cz.h

Fix enable / disable at nv14 bootloader

* Update de.h

Fix enable / disable at nv14 bootloader

* Update es.h

Fix enable / disable at nv14 bootloader

* Update fi.h

Fix enable / disable at nv14 bootloader

* Update fr.h

Fix enable / disable at nv14 bootloader

* Update it.h

Fix enable / disable at nv14 bootloader

* Update jp.h

Fix enable / disable at nv14 bootloader

* Update nl.h

Fix enable / disable at nv14 bootloader

* Update se.h

Fix enable / disable at nv14 bootloader
Only use of Ascii in bootloader

* Update pt.h

Fix enable / disable at nv14 bootloader

* Update de.h

Fix enable / disable at nv14 bootloader

* Update pl.h

Fix enable / disable at nv14 bootloader

* Update tw.h

Fix enable / disable at nv14 bootloader
Only use of Ascii in bootloader
2023-02-27 21:50:12 +10:00
Peter Feerick dd6f2f7a9d chore(color): Change define to FLYSKY_GIMBAL 2023-02-27 17:45:43 +10:00
Peter Feerick ec8212901e fix(sim): hall_raw_values does not exist 2023-02-27 17:21:08 +10:00
Neil HorneandGitHub 8ee0336b5e fix(cpn): Align Internal/External antenna parameters with radio (#3050)
* fix(cpn): internal module antenna parameters

* Add xjt filter to model settings antenna
2023-02-27 16:23:13 +10:00
Peter Feerick a8e4bddcb9 chore: Unused code cleanup
Post #3135
2023-02-27 14:53:55 +10:00
philmozandGitHub ad46f1ca42 fix(translation): Missing comma in FR translation (#3270) 2023-02-27 14:28:34 +10:00
philmozandGitHub f81e140cf3 fix(color): LVGLify themes page and fix several possible string handling issues (#3135)
* Convert theme select, theme edit and color edit pages to LVGL flex.
Add 'Edit Color' string to language files (requires translations).
Simplify theme edit 'onCancel' logic.
Fix size of buttons in ConfirmDialog for portrait layout.
Truncate item strings in ListBox to fit available space.
Set window background color on Page and TabsGroup classes instead of using 'paint' function.
Replace strncpy and strncat with strAppend - avoid possible unterminated strings and string overrun.
Truncate display of long name and author strings in theme pages.

* Revert code to truncate ListBox entry strings as it causes other issues.

* Adjust layout for theme color editor to fit large hex string size.

* Remove unnecessary copying of the ThemeFile object being edited.
Refresh TabsGroup page background color when theme changes.

* Set selected theme in list on long press as well as short press.
Comment out unused 'title' in ListBox.

* Handle default theme like custom themes on SD card:
- show logo when selecting theme
- support background_WxH.png names for background images
Use f_stat( via isFileAvailable) instead of opening and closing files to check for existence.

* Remove debug print.

* Fix rebase.
2023-02-27 11:40:02 +10:00
9216570d6c feat: Flysky gimbal support for RM Boxer (#3139)
* Adds Flysky digital hall gimbal support for RadioMaster Boxer.

---------

Co-authored-by: rotorman <risto.koiva@web.de>
2023-02-26 13:27:37 +01:00
philmozandGitHub 4ea77ee749 feat(cpn): Show splash screen after main window - resolves delay and position save issues on MacOS (#3210)
- Don't create splash objects unless needed
- Show main window before showing splash (fixes MacOS issues)
- Delay showing splash until app.exec() started (fixes MacOS issues)
2023-02-24 18:58:21 +10:00
philmozandGitHub 4fa666e680 fix(simulator): Telemetry checks not running due to inverted logic (#3246) 2023-02-23 13:42:10 +10:00
philmozandGitHub f76aea333e feat(color): Long press menu no longer restricted to active model on model select page (#3237)
* Update long press handler on model select page.
Long press (via touch) on any model will select it and open the menu.

* Open menu for model just selected on long touch press.
2023-02-22 21:53:49 +10:00
Frankie ArzuandGitHub 7aa4999c03 feat(DSM): Allow Lua scripts to access raw DSM telemetry data (#3126)
Fixed DSM telemetry to allow LUA scripts to request the RAW DSM telemetry raw data.  This will enable the use of TextGen
2023-02-22 21:12:46 +10:00
RistoandGitHub ba5058abe7 SDL2 is supported only from current main-dev or 2.9 onwards 2023-02-22 12:03:27 +01:00
philmozandGitHub e637b534f3 fix(color): Rotary encoder behaviour on inputs, mixes and outputs pages (#3189) 2023-02-22 20:48:56 +10:00
Malte LangermannandGitHub ae6dc8ea27 fix(yaml): Potential unaligned access when reading/writing switch warning positions (#3232)
It IS unaligned for the X9E
2023-02-22 20:44:32 +10:00
Malte LangermannandGitHub 8d91c0ae95 chore: Convert simu/simulator/companion to SDL2 (#3085)
* chore(pc): convert simu/simulator/companion to use SDL2

* switch companion builds to SDL2 - OSX is not converted
the linux change is done a bit hacky, it should be done by updating the EdgeTX docker container

* update build system setup scripts

* add compatibility for old and new SDL2 cmake integration

* fix windows installer

* fix simulator audio on windows by using DirectSound vie SDL2

* fix windows audio with SDL2
enable simu for windows builds

* remove workflow changes for linux builds, this needs to be fixed in the build environment

* fix OSX build, thx @pafleraf

* fix windows audio for companion and simulator with SDL2

* select SDL2 branch of the build-docker environment

* Revert "select SDL2 branch of the build-docker environment"

This reverts commit da801609d78e1aed513ad7d9d8ab3ebded2900b9.

* fix tests with SDL2
2023-02-22 20:32:51 +10:00
Neil HorneandGitHub cbec97d76e fix(cpn): Include openssl files in install packages (#2935)
* Fix packaged win 32 bit openssl file names

* Win install openssl from qt tools

* Fix filters and paths

* Fix github workflow for x64

* Remove export from run
2023-02-22 16:57:58 +10:00
Peter Feerick 3c9fab0e8f chore(gh): Add downloads badge 2023-02-22 16:26:37 +10:00
Jan PazdzioraandGitHub c68e9a1238 fix(compilation): 'uint32_t' has not been declared with newer GCC (#3224)
In file included from /builddir/build/BUILD/edgetx-2.8.1/radio/src/gui/colorlcd/str_functions.cpp:25:
/builddir/build/BUILD/edgetx-2.8.1/radio/src/gui/colorlcd/str_functions.h:30:42: error: 'uint32_t' has not been declared
   30 | extern std::string wrap(std::string str, uint32_t width);
      |                                          ^~~~~~~~

Fixes #3222.
2023-02-22 12:58:15 +10:00
Offer ShmuelyGitHuboshmuely <AbCd321654>
58e5d88cf3 fix: MSYS2 build script file rename (#3216)
* fix script name of MSYS2 build

---------

Co-authored-by: oshmuely <AbCd321654>
2023-02-20 12:30:00 +01:00
Peter Feerick fd684d4648 chore: Closing backticks missing from luadocs
Cleanup of #3181, #630
2023-02-20 15:12:48 +10:00
97c57cf9ee feat(colorlcd): Value widget text alignment options (#3080)
* Adds option to align value widget label and value to left, center or right border of the widget zone.

* Cpn sync

* Typofix thx to @Eldenroot

* fix: Add `TW` translation

* fix: Two spaces for indent

---------

Co-authored-by: elecpower <neilh713@tpg.com.au>
2023-02-20 14:57:58 +10:00
RistoandGitHub 688addd5d2 feat(LUA): Add delete command to filesystem API (#3181) 2023-02-20 14:56:33 +10:00
philmozandGitHub 1df8fe86a8 fix(lua): Store and update the 'zone' rectangle for Lua widgets. (#3060)
* Store 'zone' rectangle dat in Lua registry and update it when the screen layout changes or full screen mode changes. Allows Lua widgets to adjust to layout changes.

* Call widget 'update' function is layout has changed.
2023-02-20 11:46:27 +10:00
Malte LangermannandGitHub c3516b54c1 fix(yaml): String compare not comparing to full string length (#3215)
The string compare only matched the number of characters found
in the yaml file, so "SLIDER1" matched "SL" on the X9E
2023-02-20 11:01:58 +10:00
raphaelcoeffic 66c0551076 fix: simu internal port module fake driver 2023-02-19 15:56:38 +01:00
raphaelcoeffic 426a6e965f fix: revert and fix logs & spacemouse
Check where deactivated in #3208
2023-02-18 18:59:27 +01:00
MichaelandGitHub fef6782f5e fix: logs not written to SD card and SpaceMouse not working (#3208)
* fixes https://github.com/EdgeTX/edgetx/issues/3207
* fixes SpaceMouse readout
2023-02-18 18:24:58 +01:00
3djcandGitHub 1562b80764 fix(telemetry): CRSF GPS heading precision (#3177) 2023-02-18 18:28:20 +10:00
Peter Feerick e930183395 fix: It is now 2023 2023-02-17 22:07:06 +10:00
Peter FeerickandGitHub 7d1a9caee0 fix(gh): Workaround bug in GitHub runner for Mac Cpn action (#3203)
* fix(gh): Mac Cpn action dependency reorder

* Another possible fix
2023-02-17 22:06:12 +10:00
Peter FeerickandGitHub 6de37d9b8a fix(boxer): Power LED sequence BLUE => GREEN (#3201) 2023-02-17 19:25:33 +10:00
Peter FeerickandGitHub 7c7d541309 fix: loadRadioSettingsYaml not honoring chk flag (#3197) 2023-02-17 16:18:39 +10:00
Offer ShmuelyandGitHub f696470ea8 feat: MSYS2 build script enhancements (#3165)
* enhance msys2 build script
- stop on error
- support different branch's (not only main)
- add all the radio option on top of the script
- support re-run of the build (handle existing dir & git pull)
- add logs to follow the progress steps (especially in case of failure)
Authored-by: oshmuely <AbCd321654>
2023-02-15 10:10:06 +01:00
HThurenandGitHub 27bf42d038 chore(translation): Updates to Danish - telemetri plot 🇩🇰 (#3166) 2023-02-15 16:24:38 +10:00
4ea77cd172 fix: Enable AUX1 power on TX16S with IMU_LSM6DS33 (#3156)
* fix: enable AUX1 power on TX16S with IMU_LSM6DS33

* Add some delay when powering I2C bus

---------

Co-authored-by: raphaelcoeffic <raphael.coeffic@frafos.com>
2023-02-15 16:22:58 +10:00
Raphael CoefficandGitHub bf23791fdf fix: Various issues related to IMU sensor (#3171)
* fix(imu): reset error counter on successful IMU query

Please note that the HAL already handles busy I2C bus, so that we should not run into the case where the bus is used and another query is started. However, if that happens, HAL_BUSY will be returned, which leads to -1 being returned in our functions, thus increasing the error count until the sensor stops working.

* fix(imu): move imu init into mixer task

Fixes a race condition between init and use.
2023-02-15 16:05:39 +10:00
3695930242 fix: Sort mixer lines after loading model (#3172)
* fix: sort mixer lines after loading model

Fixes #2806

* fix(cpn): sort mixer lines after loading model

* More efficient swap

---------

Co-authored-by: elecpower <neilh713@tpg.com.au>
2023-02-15 15:11:13 +10:00
Raphael CoefficandGitHub d57afea89e chore: Remove unused files (#3191) 2023-02-15 13:10:14 +10:00
ulfhedlundandGitHub 205342b9b4 chore(translation): Swedish translation updates 🇸🇪 (#3194)
* A few additions and minor changes

* Minor changes

* Added timer string for PR #3173

* Missing save and delete theme

Added missing strings for Save theme and Delete theme
2023-02-15 13:03:16 +10:00