Commit Graph
450 Commits
Author SHA1 Message Date
Raphael Coeffic 074a141d81 UI improvements 2022-03-20 16:30:58 +01:00
Raphael Coeffic 4bdd7e7ea7 GPS support at runtime 2022-03-20 16:30:58 +01:00
Raphael Coeffic b39baa2360 Use USB VCP as a normal serial driver as well 2022-03-20 16:22:14 +01:00
Raphael Coeffic 530d395204 WiP 2022-03-20 16:22:14 +01:00
Raphael Coeffic 74f19371ae Fixes for TX16S 2022-03-20 16:22:14 +01:00
Raphael Coeffic 74effd7c14 Moved AUX2 to HAL LL
TODO: power for serial ports
2022-03-20 16:22:14 +01:00
Raphael Coeffic 059232b3bb Aux serial to HAL LL part 1 (tbc) 2022-03-20 16:22:14 +01:00
Raphael Coeffic 025659ac36 Add support for RX DMA 2022-03-20 16:22:14 +01:00
Raphael Coeffic d93cd1ea25 Moved aux serial defs to own header file 2022-03-20 16:22:14 +01:00
Raphael Coeffic 5c21dee2fa Configurable IRQ prio and read first in ISR 2022-03-20 16:22:14 +01:00
Raphael Coeffic fa3389447c HAL LL serial driver 2022-03-20 16:22:14 +01:00
Raphael Coeffic e17729c61f Fix F2 targets 2022-03-20 16:22:14 +01:00
Raphael Coeffic 1df3d86513 Fixed typo 2022-03-20 16:22:14 +01:00
Raphael Coeffic 60f5b58212 Move external module serial to HAL LL 2022-03-20 16:22:14 +01:00
Raphael Coeffic 661e12b7e9 Some fixes for STM32F2xx 2022-03-20 16:22:13 +01:00
Raphael Coeffic 346de7ece4 Move extmodule_driver to stm32 common part
And add support for F2
2022-03-20 16:22:13 +01:00
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