Commit Graph
837 Commits
Author SHA1 Message Date
Raphael Coeffic 998af78f19 Remove MENUS_LOCK 2021-12-09 09:11:00 +01:00
Peter FeerickandPeter Feerick 15a6b6f1d4 Ensure stock internal module is set where possible
e.g. where before a complete wipe or unsupported upgrade path failure
failed to enable NV14 internal module by default.
2021-12-07 18:32:31 +10:00
Malte LangermannandGitHub 9a5663e611 Fix colorlcd auto power off on cleared shutdown warning trigger (#1164) 2021-11-28 12:39:40 +11:00
Peter FeerickandPeter Feerick 8a77be2328 AUDIO_HELLO before doSplash() 2021-11-27 08:46:47 +10:00
Peter FeerickandPeter Feerick 017ece4caf Play hello wav before SF and switch checks 2021-11-27 08:46:47 +10:00
rotormanandRisto 80a51837c1 Automatically detect FlySky digital hall sticks on X10-class radios without necessity of build-time CMake option FLYSKY_HALL_STICKS.
Added special UART4 init to sample if FlySky sticks are present or not.
Added boolean globalData.flyskygimbals to save the detection result.
Removed FLYSKY_HALL_STICKS and FLYSKY_HALL_STICKS_REVERSE CMake build options.

Tested on two RM TX16S radios, one with FlySky digital hall sticks and second with stock analog sticks.
2021-11-19 21:33:03 +01:00
gagarinlgandPeter Feerick f70814c778 code cleanup 2021-11-16 11:21:04 +10:00
gagarinlgandPeter Feerick 8360434516 touch on/off with backlight on/off is now working for TX16s, untested, but implemented for NV14
simulator for tX16s and NV14 works
2021-11-16 11:21:04 +10:00
Malte LangermannandGitHub 5614646861 Improve backlight handling on color lcd radios (#998)
* no more backlight off mode for color lcd radios
disable backlight input controls in radio setup screen, when they are not used by the selected backlight mode
force backlight on to be at least the brightness of backlight off

* do not allow to set the display brightness below the configured off brightness, except when display mode is set to ON.

* Revert "do not allow to set the display brightness below the configured off brightness, except when display mode is set to ON."

This reverts commit e153a8dc658d53f5420c912e7543d6d0a9fe6ed9.
2021-11-12 12:19:45 +11:00
Raphael Coeffic 11621cf736 Added support for EXT3 / EXT4 2021-11-10 11:07:03 +01:00
Raphael Coeffic c696313a4e Use simple scheme with direct model slot to model filename 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 72859ad6d1 WiP 2021-11-10 11:06:59 +01:00
Jesper FrickmannandGitHub d3ab7f9c61 Fix LUA=NO, remove ModelMixerScriptsPage when support not enabled (#869)
* Trying to align LUA options with radio/src/CMakeLists.txt
-DLUA=NO:  no Lua of any kind
-DLUA=ON:  everything but mixer scripts
-DLUA=YES: also mixer scripts

* Color LCD with -DLUA=NO is probably a rare combination, so it needed a little help with #defines.

* Some strange error using floor function w/o <math> - probably because -DLUA=NO is not normally used w/ color.
2021-10-11 10:37:06 +11:00
rotormanandRisto fc2142ec78 Changed uniformly to EdgeTX boiler plate (also added boiler for files that were missing it). 2021-10-02 14:22:01 +02:00
rotormanandRisto 89965ed5b2 Use 32-bit int always. 2021-09-21 08:11:26 +02:00
rotormanandRisto 9570f8595a Removed FlySky digital hall gimbal double value conversion (first using the FlySky factory calibration values min,mid and max to convert to 0 to 4095 and second to convert this value again into EdgeTX internal 11-bit range 0 to 2047).
This has the added benefit of precision increase and also avoiding unnecessary computation. Needed to change to uint32_t, as the jitter removal computation would otherwise go over the 16-bit range. As 16-bit computation can be left for "normal" sticks, added a special define just for FLYSKY_HALL_STICKS.

In addition this PR changes back the radio analogs diagnose page second column also for FlySky digital hall sticks to show +/- 100 again, as now with first and second column we already cover all internal ranges used.

Tested on RM TX16S with FlySky digital hall sticks.
2021-09-21 08:11:26 +02:00
Raphael CoefficandRisto 68d9162cb4 Make FS hall sticks EXT3 EXT4 optional
As this breaks Companion model editing for now (see issue #758).
2021-09-19 13:49:47 +02:00
rotorman 322ad843ab use named constants instead of magic numbers. 2021-09-12 17:53:35 +02:00
rotorman 17325ae30b In combination with TX16S & FLYSKY HALL GIMBAL - enable the right joystick two analogs as EX3 and EX4.
At the same time disable PWM Sticks on TX16S.
2021-09-11 19:40:05 +02:00
rotormanandRaphael Coeffic 897d2f3025 Adheres to the STM32F429 reference manual (RM0090) Section 10.3.17 DMA stream configuration procedure.
Before write access is permitted to numerous DMA registers, need to make sure that DMA is disabled for the stream. Disabling the stream is not instantaneous, and needs to be waited for (previous transmissions need to be finished first).

Added return values to numerous functions to signal a failure.
2021-07-31 18:46:40 +02:00
Raphael Coeffic 0e4201f25d WiP 2021-07-31 18:46:38 +02:00
Raphael Coeffic 56542bf7e8 Some fixes for simu 2021-07-31 17:31:50 +02:00
Raphael Coeffic 40609f5d67 Moved drawSplash() into UI task and fixed task prios 2021-07-31 17:31:50 +02:00
Raphael Coeffic d4edb7713e WiP: FreeRTOS integration 2021-07-31 17:31:49 +02:00
Richard Li c4b9c26fcc Added NV14 specific definitions. 2021-07-27 15:16:27 +08:00
richardclliandGitHub f12e9d4599 Merge pull request #501 from EdgeTX/main
Merge from main
2021-07-26 10:50:32 +08:00
Raphael Coeffic 9366abab32 Removed SD card version check 2021-07-24 11:49:59 +02:00
richardclliandGitHub d9d4591008 Merge pull request #495 from EdgeTX/main
Merge from main
2021-07-24 00:23:37 +08:00
Richard Li 185b201251 Fixed a problem in B/W screen. 2021-07-23 18:07:54 +08:00
Raphael Coeffic c1486c8780 Adjust audio announcements on trim limits 2021-07-15 10:45:57 +02:00
richardclliandGitHub 85723fac20 Merge pull request #447 from EdgeTX/2.4
Merge from 2.4 branch
2021-07-14 10:41:13 +08:00
eshifriandGitHub 64f277152c Implement View Text (#406)
* View text and code cleanup

* Typo fix

* Fixed case generation

* check list fixed

* Horizontal clipping fixed

* Lost letter fixed.

* Cleanup

* Unified implementation (Rotory button support)

* Fixed USB menu issue and RTN button.

* Rotary encoder acceleration implemented

* Do not close file on every line read

* Sliding window implemented. File size limitations practically removed.

* scrollbar implemented

* Cleanup & scroll bar adjustment

* Cleanup

* Smoother scrolling for long lines.

* Minor cleanup
2021-07-14 10:46:42 +10:00
richardclliandGitHub 2222ee75e8 Merge pull request #373 from EdgeTX/2.4
Merge from 2.4
2021-06-30 15:14:08 +08:00
Raphael CoefficandRaphael Coeffic a67b61406f Removed "Disabled RSSI alarm" warning 2021-06-28 08:58:28 +02:00
RistoandGitHub 8efe5e767e RTC bridge fix (#360)
* RTC bridge fix

Merged code by @bsongis from https://github.com/opentx/opentx/pull/8577
2021-06-28 08:46:27 +02:00
richardclliandGitHub 2f54a629a2 Merge pull request #289 from EdgeTX/2.4
Merge from 2.4 bug fixes
2021-06-21 15:45:44 +08:00
qba667 a79b317a39 Fixed LCD backligh on touch 2021-06-20 09:45:47 +02:00
Raphael Coeffic 4965927d39 B/W: make shutdown confirmation depending on the issue at hand
Resolve #199
2021-06-13 12:51:55 +02:00
Raphael Coeffic c28f61c646 Reload LUA widgets before resuming the UI 2021-06-12 07:52:20 +02:00
Raphael Coeffic 78915daf95 Fixed memory leak: widget factories need to be deleted
in opentxClose()
2021-06-12 07:38:31 +02:00
Raphael Coeffic f7d36cd695 Place adcRead() back to mixer task to avoid issues with heartbeat triggered modules
Resolves #166
2021-06-09 14:26:46 +02:00
Raphael Coeffic afb297b0f6 Test new EdgeTX splashes and remove vendor specific branding
Resolves #154
2021-06-07 11:52:50 +02:00
Raphael CoefficandRaphael Coeffic 162ffdb148 Added auto-switch / auto-source to colorlcd
Resolves #118
2021-06-07 11:08:36 +02:00
richardclliandGitHub ea9207bfb8 Flysky Hall Stick MOD using UART4 by disabling stick A/D, resolving #140. (#149)
* Flysky Hall Stick MOD using UART4 by disabling stick A/D.

* Fixed build error.

* Added Flysky hall stick mod in test targets.

* Changed ADC disable for Flysky hall sticks method.
2021-06-06 18:09:58 +02:00
RistoandGitHub d709b69a3c resolves #141 2021-06-06 18:06:17 +02:00
Raphael CoefficandRaphael Coeffic 26bb790d89 Fix shutdown with LUA widgets used 2021-05-29 13:31:50 +02:00
Raphael CoefficandRaphael Coeffic 5960d0aac2 Moved MPM failsafe check to the UI task
Resolves #87
2021-05-26 23:21:34 +02:00
rotormanandRaphael Coeffic 03efcdf22c SD card version warning 2021-05-26 23:09:19 +02:00
Raphael Coeffic 945fc9510a Properly reload color UI on USB mass-storage
Resolves #79
2021-05-25 08:32:59 +02:00