Commit Graph
434 Commits
Author SHA1 Message Date
Raphael Coeffic d6f6f3ea43 PPM: DMA request via LL 2022-03-20 16:22:13 +01:00
Raphael Coeffic 32faabd928 PPM init with LL driver 2022-03-20 16:22:13 +01:00
Raphael Coeffic 937e92ede7 Moved PPM driver to synchronous mode (horus only)
TODO: trainer output and taranis driver
2022-03-20 16:22:13 +01:00
Raphael Coeffic 6ac8d50c40 Fixed some more mockup drivers 2022-03-20 16:22:12 +01:00
Raphael Coeffic 0d2bc7e0c2 Fixed WDG and some others for gtests & simu 2022-03-20 16:22:12 +01:00
Raphael Coeffic 3439a94aa4 Some cleanup 2022-03-20 16:22:12 +01:00
Raphael Coeffic fe2266fb70 AFHDS2 and PXX1 serial module drivers 2022-03-20 16:22:12 +01:00
Raphael Coeffic e5c852ab37 Fixed some compilation issues 2022-03-20 16:22:12 +01:00
Raphael Coeffic 5fb369f052 X9lite fixes 2022-03-20 16:22:12 +01:00
Raphael Coeffic c26c6b1cbe Fix PXX1 serial external module 2022-03-20 16:22:12 +01:00
Raphael Coeffic ffefd0f6dd External serial driver moved to a separate driver 2022-03-20 16:22:12 +01:00
Raphael Coeffic 803b472c85 Move all serial internal module functions into proper drivers 2022-03-20 16:22:12 +01:00
Raphael Coeffic f733810c79 WiP: refactor serial ports 2022-03-20 16:22:12 +01:00
Raphael Coeffic 55689c4084 hotfix: T-pro does not have TX DMA on internal module 2022-01-21 12:38:15 +01:00
Raphael CoefficandGitHub 0ee144dd25 Remove useless DEBUG_TASKS (not supported on FreeRTOS) (#1448) 2022-01-21 12:59:45 +10: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
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 fa5078f33a Missing implementation => ROTARY_ENCODER_INVERT 2022-01-01 12:16:26 +10:00
Raphael Coeffic f93cac3b1d Make USB serial dependent on USB_SERIAL rather than DEBUG 2021-12-17 15:17:49 +01: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 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 CoefficandRaphael Coeffic 18401a1cbe Fix NV14 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 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 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 aa7b0143bd Add active polling on UART buffer and bigger USB buffers 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 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 c95667394c OMG when is it ending 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 c8a4a80ffd Serial pass-through 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 9fb741be98 Don't forget to actually send the payload 2021-11-21 11:18:35 +01:00
Risto 620a43a9c3 Fix building for X9E 2021-11-20 20:30:42 +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
Raphael Coeffic 11621cf736 Added support for EXT3 / EXT4 2021-11-10 11:07:03 +01:00
Raphael CoefficandRaphael Coeffic 7e34635dd7 NV14: fix attempt for external power mod
Use `EXTERNAL_MODULE_OFF()` function rather than defining `EXTERNAL_MODULE_PWR_OFF()` macro in `hal.h`.
2021-11-01 11:01:32 +01:00
Raphael CoefficandPeter Feerick c4dd1c78a0 [nv14] Boot issue fixes
Fixed:
- delay shortened.
- adjusted priority of IRQs used before FreeRTOS is started.

Resolves #863
2021-10-06 16:45:55 +11:00
rotormanandRisto fc2142ec78 Changed uniformly to EdgeTX boiler plate (also added boiler for files that were missing it). 2021-10-02 14:22:01 +02:00
Bryan MaylandandPeter Feerick a04a56c0e7 Reduce USB polling interval for joystick mode from 10ms to 1ms 2021-10-01 11:16:43 +10:00
Raphael Coeffic c374e3369b Send pulses as well.... 2021-09-19 16:17:47 +02:00
Raphael Coeffic e29138f7e3 Draft support internal module NV14 2021-09-19 16:17:47 +02:00
Raphael CoefficandRisto 68d9162cb4 Make FS hall sticks EXT3 EXT4 optional
As this breaks Companion model editing for now (see issue #758).
2021-09-19 13:49:47 +02:00