Commit Graph
2185 Commits
Author SHA1 Message Date
Raphael CoefficandGitHub 0e412000b9 feat: Allow using PXX2 external modules on Zorro (#1622)
Thx to @3djc
2022-02-28 11:10:21 +10:00
zyrenandGitHub 5f09d7fe39 fix: zorro - date and time reset issue (#1643)
Fixes removal of battery or DFU connection causing RTC time and date  to be reset
2022-02-28 11:09:02 +10:00
Peter FeerickandGitHub 2792ad2fa4 fix: TX12 bootloader contrast too dark, and SE/SF could not be set 3POS (#1548)
* fix: SE and SF could not be set 3POS
*Somebody* (me) forgot ternary operator only compares two value in #1303

* fix: TX12 default contrast is too high
There is no 'perfect' value due to manufacturing variance, but 25 is simply too high,
and 15 a bit too low.
2022-02-12 20:38:55 +10:00
Paul KendallandGitHub c725508876 feat: Add serial passthrough for T-Pro (requires mod documented in #1573)
Add PF11 as boot pin handler
2022-02-11 10:25:13 +10:00
Peter FeerickandGitHub 65ed80aa92 fix: NV14 bootloader navigation not working (#1534) 2022-02-04 10:50:54 +10:00
Raphael CoefficandPeter Feerick a052ba63c2 Remove COPROCESSOR 2022-01-29 14:40:17 +10:00
Raphael CoefficandPeter Feerick 09c49e24ee Remove SKY9X target 2022-01-29 14:40:17 +10:00
Raphael CoefficandPeter 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 CoefficandGitHub 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
RistoandGitHub 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 CoefficandGitHub aa79087e4d Merge pull request #1186 from EdgeTX/cpn-storage-fmts
Companion YaML support
2022-01-02 13:06:01 +01:00
RistoandGitHub 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
elecpowerandRaphael Coeffic 73539a10a9 Rename libsims 2021-12-31 10:53:08 +01:00
rotormanandRaphael 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 LangermannandGitHub 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 LangermannandGitHub 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 FeerickandRaphael Coeffic a1c10fa486 Add power delay for when turning on MPM for T16
Fixes #1239
2021-12-23 07:38:58 +01:00
Raphael CoefficandRaphael 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
3djcandRaphael 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
3djcandRaphael Coeffic 6735a42b08 Radiomaster Zorro
Port of opentx/opentx#8791
2021-12-17 15:17:48 +01:00
Raphael CoefficandRaphael Coeffic e854515147 Fix T12 switch definitions
The T12 has SG instead of SF.
2021-12-17 12:08:23 +01:00
Malte LangermannandGitHub 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
dlktdrandRisto 99253efd75 Add verbose option 2021-12-10 22:46:42 +01:00
dlktdrandRisto 8a7ba1bd96 Add a DEBUG_BLUETOOTH option 2021-12-10 22:46:42 +01:00
Peter FeerickandPeter 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 FeerickandGitHub 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 CoefficandPeter 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 CoefficandRaphael Coeffic 04afb867a0 Fix CMake for empty PCBREV 2021-11-25 12:10:16 +01:00
Raphael CoefficandRaphael Coeffic 18401a1cbe Fix NV14 2021-11-25 12:10:16 +01:00
Raphael CoefficandRaphael Coeffic 0c305f4237 X9D+ and QX7 ACCESS cannot support swapped internal modules 2021-11-25 12:10:16 +01:00
Raphael CoefficandRaphael Coeffic e440038968 Added support for any supported internal module in 128x64 UI 2021-11-25 12:10:16 +01:00
Raphael CoefficandRaphael Coeffic ae552bd6fd WiP: support internal module as a hardware setting 2021-11-25 12:10:16 +01:00
Raphael CoefficandRaphael Coeffic 5290820ada Move YaML models list to /MODELS
Resolves #1073
2021-11-22 12:52:53 +01:00
gagarinlgandPeter Feerick 22112de372 fix touch slide deltaX/deltaY not resetting 2021-11-22 11:44:12 +10:00
ErNisandRaphael Coeffic 3e9a6b79d3 Taranis-based B/W: Initial Contrast fix 2021-11-21 22:43:28 +01:00