Commit Graph
17362 Commits
Author SHA1 Message Date
Raphael Coeffic 9c9f77a2a9 Do not allocate memory for LUA Rx fifo from the USB ISR
Rather use explicit allocation when the serial is set as the on-demand method that was used previously.
2022-03-20 16:30:59 +01:00
Raphael Coeffic 55a08d2f9d Fix windows & Mac packaging 2022-03-20 16:30:59 +01:00
Raphael Coeffic 2a1b803c47 Fix simu led driver 2022-03-20 16:30:59 +01:00
Raphael Coeffic 1f6eb271cc Exclude disabled functions on VCP 2022-03-20 16:30:59 +01:00
Raphael Coeffic 6f3ad75821 Serial port settings are mutually exclusive 2022-03-20 16:30:59 +01:00
Raphael Coeffic e37a8bff7d Added YAML serialPort
TODO:
- restrict serial modes for VCP
- allow a function to be assigned only to one port
2022-03-20 16:30:59 +01:00
Raphael Coeffic bc75bed8c8 Default VCP mode to CLI 2022-03-20 16:30:59 +01:00
Raphael Coeffic 4559dfc2b2 No telemetry mirror exception for the MPM
Fixes #1104
2022-03-20 16:30:59 +01:00
Raphael Coeffic f4b1892b99 Remove overwrite protection on debug output callbacks 2022-03-20 16:30:59 +01:00
Raphael Coeffic b25aaaa431 Remove extern declaration of auxSerialRxFifo 2022-03-20 16:30:59 +01:00
Raphael Coeffic d9cde6afec Fix HAL trainer signal definitions 2022-03-20 16:30:59 +01:00
Raphael Coeffic 5544116303 Cleanup trainer/heartbeat conflict resolution 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 4ee41afe5a Disable telemetry input, SBUS trainer and GPS on VCP
This would require an additional rx buffer to support getByte() properly.
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 e5f7da0802 Start VCP serial according to config 2022-03-20 16:30:59 +01:00
Raphael Coeffic ce93ffbe9e Generic serial port config for stdlcd 2022-03-20 16:30:59 +01:00
Raphael Coeffic 1caa0d753c Restrict available UART modes to the feature enabled 2022-03-20 16:30:59 +01:00
Raphael Coeffic 6b9c4fe165 Split UART_MODE_NONE and UART_MODE_DEBUG 2022-03-20 16:30:59 +01:00
Raphael Coeffic f95597a7ce Enable telemetry mirroring for any telemetry protocol 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 fc71063c5b Fix horus X10 AUX_SERIAL definitions 2022-03-20 16:30:59 +01:00
Raphael Coeffic af214bdad8 Fix trainer modes 2022-03-20 16:30:59 +01:00
Raphael Coeffic 9999378da5 Fix SBUS polarity 2022-03-20 16:30:59 +01:00
Raphael Coeffic 7fccc9741e Fix T18 / T16 2022-03-20 16:30:59 +01:00
Raphael Coeffic 73cfa8402e Fixed serial port YAML writing 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 de43d7e77c Try to fix the trainer mode mess 2022-03-20 16:30:59 +01:00
Raphael Coeffic 34e9cbb245 Fix AUX serial setting taranis 2022-03-20 16:30:59 +01:00
Raphael Coeffic 074a141d81 UI improvements 2022-03-20 16:30:58 +01:00
Raphael Coeffic f1dc564c76 Read old auxSerialMode & aux2SerialMode 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 b5779f2a6a More generic serial port config 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 da59fca1bc Add ZORRO & TPRO definitions 2022-03-20 16:22:14 +01:00
Raphael Coeffic 70e7a0b4ae Fix simu 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 bbcb33f901 Fixed simu 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