Commit Graph
18035 Commits
Author SHA1 Message Date
Raphael CoefficandRaphael Coeffic bb6c6d6e2d WiP PoC AFHDS3 internal module 2022-08-11 12:15:46 +02:00
Raphael CoefficandRaphael Coeffic 5132e11d41 Add some support for RX DMA on internal module 2022-08-11 12:15:46 +02:00
Raphael CoefficandRaphael Coeffic db73e4cd87 Move AFHDS3 to new module interface 2022-08-11 12:15:46 +02:00
Raphael CoefficandRaphael Coeffic 1a918bf072 Improve NV14 CMake 2022-08-11 12:15:46 +02:00
Raphael CoefficandRaphael Coeffic f952c5f7c7 Internal and external module buffers are now private 2022-08-11 12:15:46 +02:00
Raphael CoefficandRaphael Coeffic ab6033e4d5 Use static string 2022-08-11 12:15:46 +02:00
Raphael CoefficandRaphael Coeffic 99673224bf FlySky UI fixes 2022-08-11 12:15:46 +02:00
Peter FeerickandPeter Feerick 8e1281ac68 fix: FI and PL missing/invalid strings, cleanup
Also some indentation cleanup, and removal of
no longer needed `LEN_`. Some stems from #1900
2022-08-10 19:26:03 +10:00
HThurenandPeter Feerick b88a58d244 Moved strings to translate from untranslated.h to specific country file
Moved strings to translate from untranslated.h to specific country file

Moved strings to translate from untranslated.h to specific country file

Moved strings to translate from untranslated.h to specific country file

Moved strings to translate from untranslated.h to specific country file

Moved strings to translate from untranslated.h to specific country file

Moved strings to translate from untranslated.h to specific country file

Moved strings to translate from untranslated.h to specific country file
2022-08-10 19:26:03 +10:00
Peter Feerick 87b3614798 fix: Drop the path from nightly release zips
Nightly release zips were including a subfolder, as
opposed to PR and normal releases.
2022-08-10 14:44:08 +10:00
Peter FeerickandGitHub 2c455e0623 chore(github): Add 'Nightly' choice to bug form 2022-08-08 12:15:38 +10:00
MichaelandGitHub 6dd5c87bfb feat: Add acoustic and/or haptic feedback for touch events depending on radio settings (#2193)
This addresses issue #1778 (https://github.com/EdgeTX/edgetx/issues/1778)

Select "All" in radio settings/radio setup/Sound/Mode for key and touch acoustic feedback and settings/radio setup/Haptic/Mode for key and touch haptic feedback.

"NoKey" also disables touch feedback.
2022-08-07 19:44:29 +10:00
a3d44d7b09 chore: Remove "OFF" from protocol lists (#2186)
* chore: Remove "OFF" from protocol lists

* Fix subType setting for X9D+2019

* fix: Chan start and count for ISRM, dup type set
Channel start and count wasn't being updated for ISRM.
Also remove duplicate modulke type setting, which was the
cause of an earlier bug that was worked around on 128x64

* fix(colorlcd): Shorter ACCST opts string crash

* chore: Formatting only

Co-authored-by: Raphael Coeffic <raphael.coeffic@frafos.com>
2022-08-05 21:21:56 +10:00
62692dba6a feat: More rotary encoder options for B&W screens (see #2045)
* First build

* Fix X9

* Update api_general.cpp

* Update translations.h

* clean up translations

* fix: B&W option handling, remove magic numbers, cleanup
- Remove references to invertRotary, change to RotEncDir or similar
- Add compatabilty importing to companion, firmware
- Rename Lua API call
- Move magic numbers to enum
- Improve B&W option handling so it doesn't apply changes while in menu

* chore: yaml regen

* fix: Add missing guards for X9D/X9D+

* fix: Wrong enum name in simu

* fix(cpn): Use correct names for UI elements

* fix: Translations

* fix: Allow `rotEncMode` in all yaml due to x9d var
Of the three X9D variants, the X9D+2019 is the only one that
has a rotary encoder as standard. However, as the base config
file is for the X9D, this meant it wasn't reading or writing the
config value. Rather than add a seperate config file for it for
a single variable, simple to just allow it across all targets.

* fix: Companion string, change colorlcd to `Choice`

Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
2022-08-04 20:06:17 +10:00
Peter Feerick 5752cf4061 fix: Take colorlcd into account for ISRM protocols
Thid time lucky for #2079... now I know where it went wrong 😆
2022-08-04 11:38:16 +10:00
MichaelandGitHub c29f12f997 fix: Adjust pointer so extra character not included in source name when logging
The adding of UTF-8 support in 30e3ac3 / #1900 meant there was a second character present
in the symbol character strings, which was not expected here when trimming them off.
2022-08-04 11:25:19 +10:00
Peter Feerick a0770beb5f fix: Missing "OFF"/protocol offset for ISRM radios 2022-08-03 11:16:30 +10:00
be7a6a51ab feat: Allow the timer count direction to be selected (#2038)
* timer direction: ellapsed or left

* Add AUDIO announcement support

* Storage for showElapsed

* Translations

* Fix storage

* BW implementation

* Different BW implementation

* Companion support

* Color LCD implementation and rebase to lvgl

* Fix problems found by raphaelcoeffic

* chore: Regenerate the YAML files properly

* fix: Remove unused `TR_SHOW` remnant

* chore: Formatting and cleanup

* fix: Timer dir choice was shown in wrong place
Wrong newline used in ce23b50

* Fix cpn ui triggers, remove unnecessary code and some formatting

* fix(colorlcd): Hide timer dir opt if zero value

Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
Co-authored-by: elecpower <neilh713@tpg.com.au>
2022-08-03 09:22:42 +10:00
tonyyngandGitHub 415b566a79 fix: Handle text fields in logs (#2173)
Telemetry sensors that have text (ie. FM from Betaflight) were not
being handled at all, so were logged as 0.
2022-08-01 19:48:50 +10:00
Raphael Coeffic aecc5104f8 Update libopenui
Fixes issue with NumberEdit not editable via keys
2022-08-01 11:23:10 +02:00
MichaelandPeter Feerick 16f4f7280a fix: Elevate audio task to avoid sharing same priority as FreeRTOS timer
freeRTOS: elevated audio task to priority 3 to avoid sharing the same priority with freeRTOS software timer task  (defined in FreeRTOSConfig.h as priority 2).

Resulting task priority list:
mixer task 4 (highest)
audio task 3
freeRTOS Software timer tasks 2
menus task 1
CLI task 1
idle task 0 (lowest)
2022-08-01 19:07:58 +10:00
MichaelandPeter Feerick 4b254b9da4 feat: Add channel outputs to logging
Adds channel outputs (end of the processing chain) to set of logged data in units of microseconds.

Use constant PPM_CENTER instead of literal 1500
2022-08-01 19:07:58 +10:00
Raphael CoefficandGitHub b57c1f303e chore(github): Bump macOS runner version to mac-11 (#2176)
* Bump macOS runner version to mac-11

* Use XCode 11.7 (oldest supported version by GH runners)
2022-08-01 18:33:50 +10:00
Neil HorneandGitHub a07a215018 fix(companion): Timer switch list filtering (#2178) 2022-08-01 11:07:38 +10:00
dd9e265e4f feat: Allow for Jumper T16 touchscreen mod using TX16S. #2060 for docs
* add HARDWARE_TOUCH to T16

* cleared and corrected

cleared and corrected

* forced indication of rst

forced indication of rst

* Update hal.h

* chore: Remove unnecessary T16 specific condition
Only unique cases should be added, and the pre-existing ELSE
already sets this value correctly.

Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
2022-07-31 11:33:05 +10:00
Raphael CoefficandGitHub e98583ce28 fix: Type cast for failsafe channel update causing EM crashes (#2170) 2022-07-31 11:29:11 +10:00
wimalopaanandPeter Feerick 0daaf9b82f removed unneccessary member 2022-07-27 10:45:26 +10:00
wimalopaanandPeter Feerick f55080e9e9 separated radio_tools and radio_version pages according to reusableBuffer 2022-07-27 10:45:26 +10:00
gagarinlg 4084497c70 fix: use libopenui with working pixel draw check 2022-07-26 21:12:29 +02:00
gagarinlg bc12aa2b6d fix: compilation with -DDEBUG_WINDOWS enabled 2022-07-24 16:36:51 +02:00
zyrenandGitHub 8d3ed24a77 fix(zorro;tx12mk2): Intermittent lines on the screen after shutdown (#2155)
Solve ZORRO and TX12MK2 display cluttered stripes on the screen after shutdown
2022-07-23 18:52:49 +10:00
zyrenandGitHub 755d5a0373 chore(translation): Updates to CN and TW for new content (#2151)
* Added new CN and TW translations

* Revised and refined CN & TW translations to fit B&W builds

Revised and refined CN & TW translations to fit B&W builds

* Improved CN translations a bit
2022-07-23 18:33:43 +10:00
Peter FeerickandPeter Feerick 911aec40b9 fix: Remove CFGV as no longer needed
Since it related to the EEPROM config value,
which is no longer relevant.
Additionally, this broke after ee0c371
2022-07-22 21:01:32 +10:00
Peter FeerickandPeter Feerick 1ca482529d fix: Edge case where no MPM or internalaccess 2022-07-22 20:45:04 +10:00
Raphael CoefficandPeter Feerick 8379b47e2b Fix compilation with MULTIMODULE=NO
And allow for Spektrum telemetry to stay enabled (needed for DSMP module).
2022-07-22 20:45:04 +10:00
Peter FeerickandPeter Feerick 59466b1978 fix(tx12mk2): Trim + - header spacing on diags screen 2022-07-22 20:00:39 +10:00
Peter FeerickandPeter Feerick 0a76027488 fix(tx12mk2): Wrong labels for keys in diags screen
Also update Up/Down to reflect TX12/TX12mk2 keys
2022-07-22 20:00:39 +10:00
Peter FeerickandPeter Feerick b79fbc60fc fix(tx12mk2): Blue and Green LED GPIOs were swapped 2022-07-22 20:00:39 +10:00
Peter FeerickandPeter Feerick 857e863d3c fix(tx12mk2): Switch pos checks 2022-07-22 20:00:39 +10:00
Peter FeerickandGitHub d266689d25 chore(github): Build win32 companion on push to main
It's enough to build the win64 companion on PRs for testing, and this keeps the win32 builds from going stale, and may also keep it's build cache form from being cleared.
2022-07-22 11:02:57 +10:00
2ee75033bb feat(color): Add OneBit option to color radios (and Companion!!) (#1994)
* Added OneBit option also to color radios

* Try to work around GH repo owner issue

Original by @raphaelcoeffic in https://github.com/EdgeTX/edgetx/commit/bf4b5d8c0c1e386d5a4852a80d459540bab98ed3

* Add Companion support for radios with external module

* Companion housekeeping - do not display unnecessary hardware section headings

* fix: Rebase cleanup

* fix: LVGL changes

* feat: Move sample mode to a new Ext RF block

Co-authored-by: elecpower <neilh713@tpg.com.au>
Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
2022-07-22 11:00:20 +10:00
Peter Feerick 54aaf5b9d9 fix: Add missing BUILD_OPTS to commit-tests
Duh! Added it to build-gh but not commit-tests
2022-07-20 13:13:43 +10:00
Peter FeerickandPeter Feerick f31f06b344 fix(github): only build, not test 2022-07-20 13:01:31 +10:00
Peter FeerickandPeter Feerick d4ffe15e45 chore(github): Add to github actions 2022-07-20 13:01:31 +10:00
Peter FeerickandPeter Feerick 9e23561184 fix: Reset file permissions
Git is stupid and doesn't let you lock them
2022-07-20 13:01:31 +10:00
Peter FeerickandPeter Feerick 3f5e43aed4 chore: Add missing build system bits 2022-07-20 13:01:31 +10:00
3djcandPeter Feerick 4c6cad7a86 fix RTC bat reading. 2022-07-20 13:01:31 +10:00
3djcandPeter Feerick 03426c9afc yaml generate 2022-07-20 13:01:31 +10:00
3djcandPeter Feerick 50962bce70 STICK_DEAD_ZONE / IMU
pfeerick: IMU on rebase
2022-07-20 13:01:31 +10:00
3djcandPeter Feerick 8c828172e3 Fix conversions 2022-07-20 13:01:31 +10:00