d9b51f8ecf
feat: Deadzone option for NV14 sticks ( #1777 )
...
Imported from open-flysky/Flysky-OpenTX-Test-Branch
* companion: Don't nuke `stickDeadZone` setting
* Implement data storage properly
* Add missing check for NV14 storage struct sizes
* Formatting
* Use one less byte in the packed data struct
Thanks @raphaelcoeffic :)
* Move setting of stickDeadZone default
* Use a Choice combo rather than NumberEdit
* Good riddance magic number
* Also set default stick zone if setting is missing
* Teach tests about `STICK_DEAD_ZONE`
* Tweak choice width
* Cpn NV14 add stick dead zone to hardware and section labels
* Cpn NV14 align default pot names to radio
Co-authored-by: elecpower <neilh713@tpg.com.au >
2022-04-06 10:30:20 +10:00
Raphael Coeffic
c11d7d58ae
Moved FreeRTOS to an object library
...
This also allows for reducing the propagated includes and thus avoid name clashes to FreeRTOS.
2022-04-03 17:50:53 +02:00
Raphael Coeffic
57d1d953c8
Removed GCC path hack on NV14 as well
2022-04-01 08:56:25 +02:00
Raphael Coeffic
baa4f65d9b
Use ExternalPoject_Add() to split by toolchain
2022-04-01 08:56:25 +02:00
zyren and GitHub
8a988b7f88
fix: Added CN/TW translations, reduced TW text size to fit firmware, TX16 BOR tweak ( #1776 )
...
* Added CN/TW translation and reduced TW text size
Added CN/TW translation and reduced TW text size.
Because the TW text causes the firmware to exceed the flash size, reduce the text size.
* Modify the STM32 BOR level on TX16S to avoid system failure in extreme cases
Modify the STM32 BOR level on TX16S to avoid system failure in extreme cases.
* Update cn.h.txt
* Update tw.h.txt
2022-04-01 10:46:09 +10:00
Raphael Coeffic
885c0d1a2e
Fix targets without trainer port
2022-03-27 17:09:41 +02:00
Raphael Coeffic
1017172350
Fix MPM firmware update
2022-03-27 17:03:41 +02:00
Raphael Coeffic
ead920bf1d
Fixed INTMODULE_FIFO_SIZE
2022-03-27 16:22:46 +02:00
Raphael Coeffic
0613a29122
Cleanup
2022-03-25 18:23:19 +01:00
Raphael Coeffic
a994fc708a
WiP internal module buffer
2022-03-25 18:15:56 +01:00
Raphael Coeffic and Raphael Coeffic
4d0d89b967
Move telemetry EXTI handler up in the chain
2022-03-24 10:40:17 +01:00
Raphael Coeffic and Raphael Coeffic
9d5cd1876c
Added support for Lemon-Rx DSMP
2022-03-24 10:40:17 +01:00
Raphael Coeffic and Raphael Coeffic
f09c10b49d
Cleaner first pulse
2022-03-24 10:40:17 +01:00
Raphael Coeffic and Raphael Coeffic
86d1ca4364
Reorganize module type/subType/rfProtocol
2022-03-24 10:40:17 +01:00
Peter Feerick and GitHub
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
Peter Feerick and GitHub
33f761c17b
feat: Configurable external CRSF baud rates (see #1581 )
...
CRSF modules baudrate
2022-03-22 16:06:57 +10:00
Peter Feerick and GitHub
c327c6c0db
fix: TPro FS showing in global funcs and MPM protocol list updates ( #1705 )
...
* Init contrast earlier for 128 B&W screens
https://github.com/opentx/opentx/pull/8882
* fix: TPro - No FS in global functions
https://github.com/opentx/opentx/pull/8845
* Missing IS_SWITCH_FS defintions
* Update MPM fallback SUBTYPE and OPT strings
* Custom MPM proto should not be processed
2022-03-21 20:57:04 +10:00
3djc and Raphael Coeffic
6f158663a9
Fixes
2022-03-21 11:45:15 +01:00
3djc and Raphael Coeffic
001144cd5c
Ghost module handling
2022-03-21 11:45:15 +01:00
Peter Feerick and GitHub
cc609a6a3b
feat: Major serial driver re-write - see #1089 for details
...
Serial refactor
2022-03-21 19:58:26 +10:00
Raphael Coeffic
213d58d34b
NV14: fixed PPM/heartbeat pin polarity
...
Now it should now correspond to the exact same config as the other radios have hard-wired.
2022-03-21 08:17:56 +01:00
Raphael Coeffic
6804d66bd9
NV14: removed old pulses_driver.cpp
2022-03-21 06:39:17 +01:00
Raphael Coeffic
2eafefdf32
NV14: fixed EXTMODULE_TIMER_IRQ definitions
...
And moved mixer scheduler timer to TIM12 (as with Taranis)
2022-03-21 06:08:23 +01:00
Malte Langermann and GitHub
1d7c153979
fix: ST7796S display controller detection on NV14 is unreliable, disable for now ( #1714 )
2022-03-21 10:37:01 +10:00
Raphael Coeffic
d99a46a3bc
Enable CLI & ENABLE_SERIAL_PASSTHROUGH on NV14 by default
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
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
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
6b9c4fe165
Split UART_MODE_NONE and UART_MODE_DEBUG
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
7fccc9741e
Fix T18 / T16
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
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
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