Raphael Coeffic and Peter Feerick
641cb7f4aa
F4: Remove useless additional DMA buffer
2022-01-25 19:57:36 +10:00
Raphael Coeffic
55689c4084
hotfix: T-pro does not have TX DMA on internal module
2022-01-21 12:38:15 +01:00
88a4458cfe
fix: Resolve some issues with touch TE_SLIDE_END, and tapCount on NV14 ( #1434 )
...
* move TE_SLIDE_END handling for slide inertia to libopenui
reset tapCount on TE_SLIDE_END on NV14
* Bump libopenui
Co-authored-by: Peter Feerick <peter.feerick@gmail.com >
2022-01-21 20:29:18 +10:00
1d7b04d679
[nv14] Make Ghost menu work with joystick trims ( #1416 )
...
* Update radio_ghost_module_config.cpp
* Update board.h
* Update keys_driver.cpp
* Auto-formatting
* Add functions simply so gtests compiles
* Update board.h
define TRIMS_EMULATE_BUTTONS to avoid HW dependent defines in other code
* Update radio_ghost_module_config.cpp
Use TRIMS_EMULATE_BUTTONS rather than PCBNV14
* `simu` code behind build flag also
Co-authored-by: Peter Feerick <peter.feerick@gmail.com >
2022-01-21 14:42:13 +10:00
Raphael Coeffic and GitHub
0ee144dd25
Remove useless DEBUG_TASKS (not supported on FreeRTOS) ( #1448 )
2022-01-21 12:59:45 +10:00
Risto
adca4f0a3b
Fixed Zorro battery voltage sensing
...
New Zorro revision uses internally 3.3V VREG and requires this change to properly sense the battery voltage. Tested on latest revision of physical Zorro.
2022-01-17 16:06:26 +01:00
Risto and GitHub
293b8edd4b
Disable VBatBridge after first run ( #1388 )
...
Checked with in-circuit-debugger on physical RM TX16S, only after this fix, isVBatBridgeEnabled() is really false.
2022-01-09 10:49:35 +10:00
88ade987a7
[nv14] Minor code cleanup ( #1364 )
...
* Remove unused DMA defines
* Removed further unused DMA defines
* Removed obsolete unused files.
* Remove reference to removed file
Co-authored-by: Peter Feerick <peter.feerick@gmail.com >
2022-01-08 13:40:10 +10:00
Raphael Coeffic and GitHub
aa79087e4d
Merge pull request #1186 from EdgeTX/cpn-storage-fmts
...
Companion YaML support
2022-01-02 13:06:01 +01:00
Risto and GitHub
5a090d689d
Easier rotary encoder inversion code ( #1326 )
...
* Easier inversion code.
* Evaluate define INVERTED_ROTARY_ENCODER instead.
* Make Zorro roller direction more natural and matching also TX16S navigation style.
2022-01-01 21:54:49 +10:00
Peter Feerick
58310ff0ef
Don't invert the T-Lite Pro rotenc
2022-01-01 14:29:23 +10:00
Peter Feerick
fa5078f33a
Missing implementation => ROTARY_ENCODER_INVERT
2022-01-01 12:16:26 +10:00
Raphael Coeffic
f4257c0c2a
Fix simulated SD card path redirection
2021-12-31 10:53:11 +01:00
elecpower and Raphael Coeffic
73539a10a9
Rename libsims
2021-12-31 10:53:08 +01:00
rotorman and Raphael Coeffic
89517d8bd8
Use ETX instead of OTX (also as a file extension).
2021-12-31 10:53:08 +01:00
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