Commit Graph
16710 Commits
Author SHA1 Message Date
Raphael CoefficandRaphael Coeffic 3e390bd582 Cleanup debug pin toggle 2021-11-21 11:18:35 +01:00
Raphael CoefficandRaphael Coeffic 3fd3077944 Fixed simulator 2021-11-21 11:18:35 +01:00
Raphael CoefficandRaphael Coeffic 35f8dc2551 Fixed compilation for pulses based internal module 2021-11-21 11:18:35 +01:00
Raphael CoefficandRaphael Coeffic d2acdda429 Fixed AUX_SERIAL 2021-11-21 11:18:35 +01:00
Raphael CoefficandRaphael Coeffic 07c6d3b116 Set CDC_IN_FRAME_INTERVAL to 4 (USB CDC driver) 2021-11-21 11:18:35 +01:00
Raphael CoefficandRaphael Coeffic 73790c1654 Use FreeRTOS stream buffers and task notifications 2021-11-21 11:18:35 +01:00
Raphael CoefficandRaphael Coeffic 59f2b5e8b0 Temporary boosting the ModuleFifo to 128 bytes
This is to better cope with the CRSF frames that need to contain 64, whereby Fifo has a maximum content length of (N-1).
2021-11-21 11:18:35 +01:00
Raphael CoefficandRaphael Coeffic 4124d0a950 Quick and dirty: use a memory address actually usable with DMA 2021-11-21 11:18:35 +01:00
Raphael CoefficandRaphael Coeffic c95667394c OMG when is it ending 2021-11-21 11:18:35 +01:00
Raphael CoefficandRaphael Coeffic 0cef967912 Fix typo 2021-11-21 11:18:35 +01:00
Raphael CoefficandRaphael Coeffic 496c3861c4 Fix targets with internal module UART without DMA 2021-11-21 11:18:35 +01:00
Raphael CoefficandRaphael Coeffic ffd537a28b Fixed compiling with DEBUG=ON 2021-11-21 11:18:35 +01:00
Raphael CoefficandRaphael Coeffic c8a4a80ffd Serial pass-through 2021-11-21 11:18:35 +01:00
Raphael CoefficandRaphael Coeffic 1f0480532d Removed "[SYNC]" debug 2021-11-21 11:18:35 +01:00
Raphael CoefficandRaphael Coeffic 8b438bc672 Fix receiving RADIO_ID pkt
Thx @CapnBry
2021-11-21 11:18:35 +01:00
Raphael CoefficandRaphael Coeffic 6b94c2f45d Small fixes for TX16S 2021-11-21 11:18:35 +01:00
Raphael CoefficandRaphael Coeffic b1b3423844 Use stream buffer for CLI 2021-11-21 11:18:35 +01:00
Raphael CoefficandRaphael Coeffic ae629c4065 Enable CLI on TX16S 2021-11-21 11:18:35 +01:00
Raphael CoefficandRaphael Coeffic 7cfcac3e1e Fix compiling with CLI and define most commands away 2021-11-21 11:18:35 +01:00
Raphael CoefficandRaphael Coeffic 043c1e6a2d Fixed pushing CRSF telem packets to internal module 2021-11-21 11:18:35 +01:00
Raphael CoefficandRaphael Coeffic 9fb741be98 Don't forget to actually send the payload 2021-11-21 11:18:35 +01:00
Raphael CoefficandRaphael Coeffic dbb976063a CROSSFIRE does look like it's defined at this point.... 2021-11-21 11:18:35 +01:00
Raphael CoefficandRaphael Coeffic 22d82784b5 Add CMake defs for internal CRSF on TX16S 2021-11-21 11:18:35 +01:00
Raphael CoefficandRaphael Coeffic 5d240e4e48 WiP internal CRSF pulses 2021-11-21 11:18:35 +01:00
Raphael CoefficandRaphael Coeffic 42508f4173 Slightly revamp telemetry polling 2021-11-21 11:18:35 +01:00
Raphael CoefficandRaphael Coeffic 2abf07ed9b Port of TBS's changes for module scoped telemetry 2021-11-21 11:18:35 +01:00
Risto 620a43a9c3 Fix building for X9E 2021-11-20 20:30:42 +01:00
Kevin KoenigGitHubkkoenig1@optonline.com <kkoenig1@optonline.com>
a9abf028f7 Theme editor tweaks (#1066)
* 1. fixed color of lists to match menu popup as per JimB
2. added more controls to PreviewWindow() of theme editor

* 1. fixed issue with touch.  in theme list now if you touch, you must long press to get menu.  Enter works on short press
2. changed directory structure to new format, as per Issue #897
3. sorted theme list alphabetically and not by random order that the directory comes back in

* 1. make background image work correctly for new theme folder structure
2. sort theme names

* 1. fixed issues with touching previewwindow
2. fixed processing exit button on ThemeEditPage()

* fix focus issue in previewwindow

* layout enhancements for nv14

* more updates to layout

* fix nv14 issues.  Still havnt done performance optimization yet.  Lets merge first.

Co-authored-by: kkoenig1@optonline.com <kkoenig1@optonline.com>
2021-11-20 22:54:24 +11:00
Kevin KoenigGitHubkkoenig1@optonline.com <kkoenig1@optonline.com>
9a795c4126 Move [outputs] "Trim => Subtrims" button to top, change btn text (#1076)
* partial implementation of 354

* implemented screen refresh and test update

* chaged add to move...after much discussion

* change move to add

Co-authored-by: kkoenig1@optonline.com <kkoenig1@optonline.com>
2021-11-20 22:39:13 +11:00
eshifriandGitHub 3b0e1ab25e Fix slider center beep buttons not highlighting (#1094) 2021-11-20 21:53:55 +11:00
eshifriandPeter Feerick d2b3e8cd9a Fix #1062 2021-11-20 20:47:37 +10:00
eshifriandPeter Feerick 0dac734f9c fix split touch window for carousel #1088 2021-11-20 20:35:55 +10:00
Raphael CoefficandPeter Feerick 582cbc13a5 std::string::data() gives no guaranty on 0-termination 2021-11-20 19:18:09 +10:00
elecpowerandPeter Feerick 53d6c0344b Cpn new curves (-100,-100) to (100,100) 2021-11-20 19:08:39 +10:00
rotormanandRisto 4ca26b3cae Set globalData.flyskygimbals immediately true on NV14, so that ADC init runs correct path without waiting for first successful telegram from gimbals. 2021-11-19 21:33:03 +01: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
Peter Feerick 1002fddd12 Add include for NV14 found missing in #1082 2021-11-19 13:45:54 +10:00
Peter FeerickandGitHub 3e170e3cf8 [github] Reword PR template text 2021-11-19 11:49:37 +11:00
Peter Feerick 8f55fb0ffa libopenui: NumberEdit set min/max if fast scroll goes out of bounds
Resolves #399
2021-11-18 11:17:43 +10:00
Malte LangermannandPeter Feerick 849cc5d5b3 fix simu and simulator touch slide 2021-11-18 10:55:41 +10:00
Peter Feerick 15a1981d6e Fix simulated touch not working in simu
Resolves #1063
2021-11-17 10:41:58 +10:00
Peter Feerick 38308f6bef libopenui: Adjust theme constants used by Menu 2021-11-16 11:52:46 +10:00
CliffandGitHub 28da5e0447 Add live data to telemetry edit screen (#1047)
* Add live data to telemetry edit

* Move live data to top bar

* Add extra room for sensors button

Right side of telemetry ID list is being cut off. Changing to 38 gives room

* Remove incorrect comment

Seems self explanatory. I don't think this needs to be here at all.
2021-11-16 12:47:49 +11:00
ErNisandPeter Feerick 3aa21d5310 Taranis Bootloader: If EEPROM is not used - menu should not contain 'Restore EEPROM' 2021-11-16 11:25:27 +10:00
Peter FeerickandPeter Feerick 574658d616 Bump libopenui for companion PR 2021-11-16 11:21:04 +10: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
gagarinlgandPeter Feerick ced9df9510 started implementing backlight tracking (unfinished)
horus touch driver internally tracks touch state and returns the state on read to make in independed of the mainwindow touchState
2021-11-16 11:21:04 +10:00
Peter Feerick 52013da098 Clear buffer before drawing background image
Fixes #1058 , prevents alternating garbage drawn every cycle
2021-11-15 22:45:01 +10:00
Jesper FrickmannandGitHub f1baa383ae Fix standalone Lua script screen flicker and improve error messages (#982)
* Relax assumptions about when Lua is called in foreground and background

* Start Lua cycle timer both in foreground and background
Do not assume that background/foreground alternates

* Lua is called at every Standalone GUI cycle instead of 5 Hz
Since Lua preempts every 50 ms or so, the GUI should remain responsive.

* In standalone script, only call Lua once per GUI cycle, to avoid messing up buffer handling.

* Revamped error reporting for Standalone and Telemetry Lua scripts

* Font size for Lua error is reduced from XL to L on color if LCD_W < LCD_H

* In drawTextLines, also possible linebreaks for opening brackets.

* Smaller font for error message on tall color screen

* Make titlebar height match font size on narrow LCD
2021-11-15 12:57:14 +11:00