d41855a316
[TX12] Fix support for additional switches (SI and SJ) ( #1303 )
...
* Fixed support for Radiomaster TX12 additional switches (SI and SJ)
Two connectors are present on TX12 main board (near top of internal TX module) and are mapped as SI and SJ, but were not read out by the firmware.
With this update they might be used for some further hacking of the radio (ex. adding additional 2-pos switches, adding detector of external module insertion etc.).
* Radiomaster TX12 - preventing selection of Si and SJ as 3POS
* Radiomaster TX12 - corrected SI and SJ switch names in Keys Debug screen
Switches were displayed in test screen as SG and SH, due to fact that firmware did not take into account no presence of SG and SH in TX12.
The update provides correct and consistent naming of the additional switches across whole radio.
* Alignment tweak + fix rot_enc info overlap
Co-authored-by: Peter Feerick <peter.feerick@gmail.com >
2021-12-30 15:49:23 +10:00
Malte Langermann and GitHub
9e285b3cb2
[touch] Fix hardware touch diagnostics regression ( #1314 )
...
* fix touch screen test in analog input test screen
* remove #if SIMU check for touch test
* remove unneeded trace
2021-12-30 11:46:10 +10:00
Malte Langermann and GitHub
a1e03ed7b5
[NV14] Fix ST7796S LCD controller detection and colors, show LCD controller type on version screen ( #1294 )
...
show LCD controller type on NV14 radio version screen
fix ST7796S LCD controller detection
fix ST7796S driven displays to show correct colors
fix NV14 lcd_driver.cpp compiler warning
2021-12-26 10:17:30 +10:00
Peter Feerick and Raphael Coeffic
a1c10fa486
Add power delay for when turning on MPM for T16
...
Fixes #1239
2021-12-23 07:38:58 +01:00
Raphael Coeffic and Raphael Coeffic
6402088349
ARM64 fixes
2021-12-20 11:46:03 +01:00
Raphael Coeffic
3052891ee4
Fixed USB name
2021-12-17 17:09:38 +01:00
3djc and Raphael Coeffic
d31482c18b
Introduce T-pro and function switches handling
2021-12-17 17:07:48 +01:00
Raphael Coeffic
37dd890714
Reverted BOOTCMD pin
2021-12-17 15:17:49 +01:00
Raphael Coeffic
f93cac3b1d
Make USB serial dependent on USB_SERIAL rather than DEBUG
2021-12-17 15:17:49 +01:00
Raphael Coeffic
cd4b782cfe
Prepare intmodule bootpin
2021-12-17 15:17:49 +01:00
3djc and Raphael Coeffic
6735a42b08
Radiomaster Zorro
...
Port of opentx/opentx#8791
2021-12-17 15:17:48 +01:00
Raphael Coeffic and Raphael Coeffic
e854515147
Fix T12 switch definitions
...
The T12 has SG instead of SF.
2021-12-17 12:08:23 +01:00
Malte Langermann and GitHub
d6e1213554
Fix NV14 touch behavior ( #1242 )
...
TE_UP needs to be resettet to TE_NONE after touch read from MainWindow. If this is not done, the TE_UP event is handled multiple times
2021-12-12 12:45:04 +11:00
dlktdr and Risto
99253efd75
Add verbose option
2021-12-10 22:46:42 +01:00
dlktdr and Risto
8a7ba1bd96
Add a DEBUG_BLUETOOTH option
2021-12-10 22:46:42 +01:00
Peter Feerick and Peter Feerick
90df2540ba
[NV14] Enable GHOST by default
...
As is already the case with Horus colorlcd targets
2021-12-07 19:49:05 +10:00
Peter Feerick and GitHub
8fa1d91e65
SD Card version cleanup + update more OTX references ( #1194 )
...
* Remove references to `REQUIRED_SDCARD_VERSION`
* EdgeTX, not OpenTX
* Alignment
2021-12-07 20:48:36 +11:00
Raphael Coeffic and Peter Feerick
b8335b994f
Make list of supported internal module configurable per cmake option
...
Resolves #1159
2021-11-29 09:00:59 +10:00
Raphael Coeffic
482de830b1
X9D: Fixed simu crash when simulated EEPROM is not started.
2021-11-27 14:28:29 +01:00
Raphael Coeffic
453e478de6
Ported trainer output to IRQ driven mode
...
Next period is loaded after CCR2 expires (PPM delay).
Resolves #766
2021-11-27 12:34:01 +01:00
Raphael Coeffic and Raphael Coeffic
04afb867a0
Fix CMake for empty PCBREV
2021-11-25 12:10:16 +01:00
Raphael Coeffic and Raphael Coeffic
18401a1cbe
Fix NV14
2021-11-25 12:10:16 +01:00
Raphael Coeffic and Raphael Coeffic
0c305f4237
X9D+ and QX7 ACCESS cannot support swapped internal modules
2021-11-25 12:10:16 +01:00
Raphael Coeffic and Raphael Coeffic
e440038968
Added support for any supported internal module in 128x64 UI
2021-11-25 12:10:16 +01:00
Raphael Coeffic and Raphael Coeffic
ae552bd6fd
WiP: support internal module as a hardware setting
2021-11-25 12:10:16 +01:00
Raphael Coeffic and Raphael Coeffic
5290820ada
Move YaML models list to /MODELS
...
Resolves #1073
2021-11-22 12:52:53 +01:00
gagarinlg and Peter Feerick
22112de372
fix touch slide deltaX/deltaY not resetting
2021-11-22 11:44:12 +10:00
ErNis and Raphael Coeffic
3e9a6b79d3
Taranis-based B/W: Initial Contrast fix
2021-11-21 22:43:28 +01:00
Raphael Coeffic and Raphael Coeffic
916651033c
Fixed mixer scheduler timer overflow
...
The max period is now 50ms, so that it overflows the 16bit timer when set to the max period.
Many thanks to @marianomd for finding the issue and the proposed fix!
2021-11-21 21:53:11 +01:00
Raphael Coeffic and Raphael Coeffic
3c43ac6c87
Do not enable INTERNAL_MODULE_CRSF by default
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
aa7b0143bd
Add active polling on UART buffer and bigger USB buffers
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
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
c95667394c
OMG when is it ending
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
c8a4a80ffd
Serial pass-through
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
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
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
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