Raphael Coeffic and Raphael Coeffic
81da0bf587
Added power and bootpin commands (Thx @pkendall64)
2021-11-21 11:18:35 +01:00
Raphael Coeffic and Raphael Coeffic
85ec133ff3
Auto baudrate on serialpassthrough
...
baudrate param becomes optional
2021-11-21 11:18:35 +01:00
Raphael Coeffic and Raphael Coeffic
c5c2829c24
Added baud rate changing on the fly to serial pass through
2021-11-21 11:18:35 +01:00
Raphael Coeffic and Raphael Coeffic
f3301e6210
Added control line and bitrate callbacks
...
And some additional clean-up
2021-11-21 11:18:35 +01:00
Raphael Coeffic and Raphael Coeffic
01059da849
Fixed serial passthrough exit when pulling USB cable
2021-11-21 11:18:35 +01:00
Raphael Coeffic and Raphael Coeffic
aa7b0143bd
Add active polling on UART buffer and bigger USB buffers
2021-11-21 11:18:35 +01:00
Raphael Coeffic and Raphael Coeffic
1fe4876786
Revert ModuleFifo size to original (PXX2_FRAME_MAXLENGTH = 64)
2021-11-21 11:18:35 +01:00
Raphael Coeffic and Raphael Coeffic
729ed91e7b
Add @CapnBry 5.25M
2021-11-21 11:18:35 +01:00
Raphael Coeffic and Raphael 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 Coeffic and Raphael Coeffic
3e390bd582
Cleanup debug pin toggle
2021-11-21 11:18:35 +01:00
Raphael Coeffic and Raphael Coeffic
3fd3077944
Fixed simulator
2021-11-21 11:18:35 +01:00
Raphael Coeffic and Raphael Coeffic
35f8dc2551
Fixed compilation for pulses based internal module
2021-11-21 11:18:35 +01:00
Raphael Coeffic and Raphael Coeffic
d2acdda429
Fixed AUX_SERIAL
2021-11-21 11:18:35 +01:00
Raphael Coeffic and Raphael Coeffic
07c6d3b116
Set CDC_IN_FRAME_INTERVAL to 4 (USB CDC driver)
2021-11-21 11:18:35 +01:00
Raphael Coeffic and Raphael Coeffic
73790c1654
Use FreeRTOS stream buffers and task notifications
2021-11-21 11:18:35 +01:00
Raphael Coeffic and Raphael 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 Coeffic and Raphael Coeffic
4124d0a950
Quick and dirty: use a memory address actually usable with DMA
2021-11-21 11:18:35 +01:00
Raphael Coeffic and Raphael Coeffic
c95667394c
OMG when is it ending
2021-11-21 11:18:35 +01:00
Raphael Coeffic and Raphael Coeffic
0cef967912
Fix typo
2021-11-21 11:18:35 +01:00
Raphael Coeffic and Raphael Coeffic
496c3861c4
Fix targets with internal module UART without DMA
2021-11-21 11:18:35 +01:00
Raphael Coeffic and Raphael Coeffic
ffd537a28b
Fixed compiling with DEBUG=ON
2021-11-21 11:18:35 +01:00
Raphael Coeffic and Raphael Coeffic
c8a4a80ffd
Serial pass-through
2021-11-21 11:18:35 +01:00
Raphael Coeffic and Raphael Coeffic
1f0480532d
Removed "[SYNC]" debug
2021-11-21 11:18:35 +01:00
Raphael Coeffic and Raphael Coeffic
8b438bc672
Fix receiving RADIO_ID pkt
...
Thx @CapnBry
2021-11-21 11:18:35 +01:00
Raphael Coeffic and Raphael Coeffic
6b94c2f45d
Small fixes for TX16S
2021-11-21 11:18:35 +01:00
Raphael Coeffic and Raphael Coeffic
b1b3423844
Use stream buffer for CLI
2021-11-21 11:18:35 +01:00
Raphael Coeffic and Raphael Coeffic
ae629c4065
Enable CLI on TX16S
2021-11-21 11:18:35 +01:00
Raphael Coeffic and Raphael Coeffic
7cfcac3e1e
Fix compiling with CLI and define most commands away
2021-11-21 11:18:35 +01:00
Raphael Coeffic and Raphael Coeffic
043c1e6a2d
Fixed pushing CRSF telem packets to internal module
2021-11-21 11:18:35 +01:00
Raphael Coeffic and Raphael Coeffic
9fb741be98
Don't forget to actually send the payload
2021-11-21 11:18:35 +01:00
Raphael Coeffic and Raphael Coeffic
dbb976063a
CROSSFIRE does look like it's defined at this point....
2021-11-21 11:18:35 +01:00
Raphael Coeffic and Raphael Coeffic
22d82784b5
Add CMake defs for internal CRSF on TX16S
2021-11-21 11:18:35 +01:00
Raphael Coeffic and Raphael Coeffic
5d240e4e48
WiP internal CRSF pulses
2021-11-21 11:18:35 +01:00
Raphael Coeffic and Raphael Coeffic
42508f4173
Slightly revamp telemetry polling
2021-11-21 11:18:35 +01:00
Raphael Coeffic and Raphael 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
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
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
eshifri and GitHub
3b0e1ab25e
Fix slider center beep buttons not highlighting ( #1094 )
2021-11-20 21:53:55 +11:00
eshifri and Peter Feerick
d2b3e8cd9a
Fix #1062
2021-11-20 20:47:37 +10:00
eshifri and Peter Feerick
0dac734f9c
fix split touch window for carousel #1088
2021-11-20 20:35:55 +10:00
Raphael Coeffic and Peter Feerick
582cbc13a5
std::string::data() gives no guaranty on 0-termination
2021-11-20 19:18:09 +10:00
elecpower and Peter Feerick
53d6c0344b
Cpn new curves (-100,-100) to (100,100)
2021-11-20 19:08:39 +10:00
rotorman and Risto
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
rotorman and Risto
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 Feerick and GitHub
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 Langermann and Peter 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