Commit Graph
16723 Commits
Author SHA1 Message Date
Raphael CoefficandRaphael Coeffic 5e3c20b258 Push some dirty hack to give internal CRSF a higher prio
This allows for BF scripts to run on internal CRSF.
2021-11-21 11:18:35 +01:00
Raphael CoefficandRaphael Coeffic 9c50255905 Fix pollExtPXX2() 2021-11-21 11:18:35 +01:00
Raphael CoefficandRaphael Coeffic 5bbc055f3e Remove debug pins 2021-11-21 11:18:35 +01:00
Raphael CoefficandRaphael Coeffic a2b7f88e41 Added command to start/stop the pulses 2021-11-21 11:18:35 +01:00
Raphael CoefficandRaphael Coeffic 81da0bf587 Added power and bootpin commands (Thx @pkendall64) 2021-11-21 11:18:35 +01:00
Raphael CoefficandRaphael Coeffic 85ec133ff3 Auto baudrate on serialpassthrough
baudrate param becomes optional
2021-11-21 11:18:35 +01:00
Raphael CoefficandRaphael Coeffic c5c2829c24 Added baud rate changing on the fly to serial pass through 2021-11-21 11:18:35 +01:00
Raphael CoefficandRaphael Coeffic f3301e6210 Added control line and bitrate callbacks
And some additional clean-up
2021-11-21 11:18:35 +01:00
Raphael CoefficandRaphael Coeffic 01059da849 Fixed serial passthrough exit when pulling USB cable 2021-11-21 11:18:35 +01:00
Raphael CoefficandRaphael Coeffic aa7b0143bd Add active polling on UART buffer and bigger USB buffers 2021-11-21 11:18:35 +01:00
Raphael CoefficandRaphael Coeffic 1fe4876786 Revert ModuleFifo size to original (PXX2_FRAME_MAXLENGTH = 64) 2021-11-21 11:18:35 +01:00
Raphael CoefficandRaphael Coeffic 729ed91e7b Add @CapnBry 5.25M 2021-11-21 11:18:35 +01:00
Raphael CoefficandRaphael Coeffic 96743a9fc4 PoC: connect USB/serial ISR directly to the respective serial send
This assumes that USB IRQ has a lower logical prio as the UART IRQ so that it can be pre-empted by the USART ISR.
2021-11-21 11:18:35 +01:00
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