Commit Graph
467 Commits
Author SHA1 Message Date
Raphael Coeffic a994fc708a WiP internal module buffer 2022-03-25 18:15:56 +01:00
Raphael CoefficandRaphael Coeffic 4d0d89b967 Move telemetry EXTI handler up in the chain 2022-03-24 10:40:17 +01:00
Raphael CoefficandRaphael Coeffic f09c10b49d Cleaner first pulse 2022-03-24 10:40:17 +01:00
Peter FeerickandGitHub b54ad7169a feat: Option for inverting rotary encoder direction (#1690)
* feat: Add option for rotary encoder direction
Based heavily on opentx/opentx#8852 by @3djc

* companion ui elements

* Cleanup

* Hook up UI, reading setting from yaml

* Teach simulator about rotEncDirection

* Simu and radio default scroll direction correction
Otherwise the "default" would be the opposite to how it has always been

* Remove what will be a confict with fix in #1586

* Wasn't using rotEncDirection consistently

* Zorro RE dir is opp to TX16, TX12, TPro, X9D+2019
2022-03-22 16:14:57 +10:00
Raphael Coeffic 55a08d2f9d Fix windows & Mac packaging 2022-03-20 16:30:59 +01:00
Raphael Coeffic ae54c9bf99 Some cleanup and RX buffer size increase to 128 bytes on targets with SDRAM 2022-03-20 16:30:59 +01:00
Raphael Coeffic d39f3e058c Add support for CLI on AUX1/AUX2 2022-03-20 16:30:59 +01:00
Raphael Coeffic 94cb389edc Taranis internal module driver (PXX1) and fix for external complementary timer channel (TIM8_CH1N) 2022-03-20 16:30:59 +01:00
Raphael Coeffic 3742cb6b03 Fixed external module IRQ definitions for taranis targets 2022-03-20 16:30:59 +01:00
Raphael Coeffic 76e79358b8 Set OC mode before enabling DMA stream 2022-03-20 16:30:59 +01:00
Raphael Coeffic 3fa6e270d5 Improved stm32_pulse_config_output() 2022-03-20 16:30:59 +01:00
Raphael Coeffic 2a50e344af Cleanup and streamlining 2022-03-20 16:30:59 +01:00
Raphael Coeffic 3d6c971197 Use normal soft-serial function for AFHDS3 2022-03-20 16:30:59 +01:00
Raphael Coeffic 3057652b40 Force inactive output between pulse trains 2022-03-20 16:30:59 +01:00
Raphael Coeffic d2685aeadf Fix polarity 2022-03-20 16:30:59 +01:00
Raphael Coeffic cee942a834 Streamline pulse driver
In preparation of merging with taranis int-module pulse driver.
2022-03-20 16:30:59 +01:00
Raphael Coeffic e5bb901b1e Fix SBUS trainer defines 2022-03-20 16:30:59 +01:00
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