Commit Graph
827 Commits
Author SHA1 Message Date
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
Raphael CoefficandRaphael Coeffic 0bb9994ac5 Allow disabling USB connection by discarding the pop-up menu 2021-05-24 16:23:06 +02:00
Raphael CoefficandRaphael Coeffic 4fe4c1a385 Added confirmation dialog on power down and USB connected. 2021-05-24 16:23:06 +02:00
Raphael CoefficandRaphael Coeffic cb8a23cb5e Added confirmation dialog and use it to confirm shutdown on receiver still connected 2021-05-24 16:23:06 +02:00
Raphael CoefficandRaphael Coeffic 51e6c48bbe re-enabled rambackupRestore() 2021-05-24 16:23:06 +02:00
Raphael CoefficandRaphael Coeffic 6b9abe0670 Remove obsoleted code 2021-05-24 16:23:06 +02:00
Raphael Coeffic 9c642e9e5c Fix compilation with LUA=NO and COLORLCD 2021-05-15 13:39:37 +02:00
Raphael Coeffic cc5ae4d2a9 Small fixes
- no double SD card init
- removed "noHighlightCounter" warning
- wipe the screen buffers before setting up the layer (removes shadow image on boot)
2021-05-09 11:02:57 +02:00
Raphael CoefficandRaphael Coeffic 72a7409d10 First working LUA widget: Timer2 2021-05-06 12:55:59 +02:00
Alessandro cb01fef370 init 2021-05-02 01:50:02 +10:00
Raphael Coeffic ef6f2d0c57 Scrolling from view to view works now
And quite some bugs & crashes fixed.
2021-04-18 07:57:42 +02:00