Raphael Coeffic and GitHub
06c359f096
feat(ACCESS): Configure AUX serial port as "External module" ( #2562 )
...
* Enable RX DMA on external module USART
* feat(ACCESS): configure AUX serial port as "External module" (#2562 )
This allows configuring the external access mod on runtime rather than by compilation option.
* fix: fetch external module driver
2022-12-14 18:41:32 +10:00
Raphael Coeffic and Raphael Coeffic
4b2c30db3c
Finally removed StdPeriph EXTI driver
2022-12-10 13:37:31 +01:00
Raphael Coeffic and Raphael Coeffic
84d8075794
Generic EXTI driver now configures & enables trigger
2022-12-10 13:37:31 +01:00
Raphael Coeffic and Raphael Coeffic
4eae312cff
Taranis hal.h cleanup
2022-12-10 13:37:31 +01:00
Raphael Coeffic and Raphael Coeffic
042d5091f2
HAL/LL: Generic EXTI & trainer driver
...
Changes:
- generic EXTI driver
- generic trainer driver
- relocated rotary encoder timer (simple 100us delay) from TIM4 to TIM12
- taranis & horus use now TIM4 for trainer pulses
- serial driver handles periph clocks for UARTs
TODO:
- SBUS on heartbeat pin (USART or soft-serial)
2022-12-10 13:37:31 +01:00
Raphael Coeffic and GitHub
f7d7ec2070
chore(hal): streamline rotary encoder definitions ( #2550 )
2022-11-15 19:13:54 +10:00
e90cd0f440
feat(X10/X12S) Int/Ext Antenna UI ( #1765 )
...
* feature(colorlcd): antenna selection
* fix: let's assume all internal XJT modules used in horus targets are either X10 or X12S type
* fix NV14 compilation
Co-authored-by: Raphael Coeffic <raphael.coeffic@frafos.com >
2022-10-11 21:48:46 +10:00
Raphael Coeffic and Raphael Coeffic
c413790892
Horus targets: use RX DMA with internal module
2022-08-11 12:15:46 +02:00
Raphael Coeffic and Raphael Coeffic
bb6c6d6e2d
WiP PoC AFHDS3 internal module
2022-08-11 12:15:46 +02:00
dd9e265e4f
feat: Allow for Jumper T16 touchscreen mod using TX16S. #2060 for docs
...
* add HARDWARE_TOUCH to T16
* cleared and corrected
cleared and corrected
* forced indication of rst
forced indication of rst
* Update hal.h
* chore: Remove unnecessary T16 specific condition
Only unique cases should be added, and the pre-existing ELSE
already sets this value correctly.
Co-authored-by: Peter Feerick <peter.feerick@gmail.com >
2022-07-31 11:33:05 +10:00
Raphael Coeffic and Raphael Coeffic
1f8072374c
x12s: move touch panel inversion to LVGL driver
2022-06-25 16:09:04 +02:00
Raphael Coeffic and Raphael Coeffic
8821c4ea8c
Fix internal module HAL taranis and horus
2022-06-25 16:09:04 +02:00
Raphael Coeffic and Raphael Coeffic
244efed6ba
NV14 touch driver
2022-06-25 16:09:04 +02:00
Raphael Coeffic and Raphael Coeffic
7cb2973248
gt911: enable clocks in driver
2022-06-25 16:09:04 +02:00
Raphael Coeffic and Raphael Coeffic
2ffe22b8de
Allow IMU not only for TX16S
2022-06-25 16:09:04 +02:00
Raphael Coeffic and Raphael Coeffic
0b8d93ca88
WiP: support for LSM6DSxx
2022-06-25 16:09:04 +02:00
Raphael Coeffic and Raphael Coeffic
bc6c53681c
Move Horus GT911 driver to HAL
2022-06-25 16:09:04 +02:00
Wilhelm and GitHub
7a6d6239b5
feat(X12S): Add support for touch screen mod ( #1779 )
...
Adds support of RadioMaster TX16S touch screen on FrSky X12S radio.
2022-04-23 12:22:47 +02:00
Raphael Coeffic
3057652b40
Force inactive output between pulse trains
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
de43d7e77c
Try to fix the trainer mode mess
2022-03-20 16:30:59 +01:00
Raphael Coeffic
4bdd7e7ea7
GPS support at runtime
2022-03-20 16:30:58 +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
fa3389447c
HAL LL serial driver
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
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
ffefd0f6dd
External serial driver moved to a separate driver
2022-03-20 16:22:12 +01:00
Raphael Coeffic and Raphael Coeffic
c8a4a80ffd
Serial pass-through
2021-11-21 11:18:35 +01:00
rotorman and Risto
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
rotorman and Risto
fc2142ec78
Changed uniformly to EdgeTX boiler plate (also added boiler for files that were missing it).
2021-10-02 14:22:01 +02:00
Raphael Coeffic and Risto
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
rotorman
17325ae30b
In combination with TX16S & FLYSKY HALL GIMBAL - enable the right joystick two analogs as EX3 and EX4.
...
At the same time disable PWM Sticks on TX16S.
2021-09-11 19:40:05 +02:00
rotorman
d19dcb9fc9
Unified dual I2C naming across Taranis and Horus builds.
...
Using "*_B1_*" for first logical I2C bus and "*_B2_*" for second logical I2C bus (instead of less clear I2C and I2CX).
2021-08-21 15:59:19 +02:00
rotorman
b123caba06
Adds support of LSM6DS33 I2C IMU to TX16S via AUX1 port. Using CMake option -DIMU_LSM6DS33=YES the std. serial USART3/AUX1 functionality is changed to I2C2 bus.
...
The temperature, gyro and linear acceleration values of LSM6DS33 are sampled and displayed at radio analogs dialog screen in SI-units.
2021-08-21 15:08:50 +02:00
Raphael Coeffic
f5dec4e31e
Fix AUX2 serial RX DMA stream
...
Thx @olliw42 (see opentx/opentx#8656 )
2021-08-07 08:42:30 +02:00
Raphael Coeffic
f1fd6dde02
Integrate NV14 ADC driver into generic stm32_hal_driver
2021-07-31 18:46:40 +02:00
Raphael Coeffic
cf480b03a3
[adc] Use StdPeriph lib instead of direct reg access
2021-07-31 18:46:37 +02:00
Raphael Coeffic
1f6b384927
internal module timer is no longer in use
2021-07-31 17:31:51 +02:00
Raphael Coeffic
6bf0fe2889
Cleanup useless code
2021-07-21 16:06:16 +02:00
rotorman
8bfbb723f3
Integrated STM32F4 I2C HAL functions.
...
Changed old "I2C_SPEED" to "I2C_CLK_RATE" in order not to conflict with HAL.
Use TOUCH_INT again to gate touch sampling.
2021-07-15 19:25:31 +02:00
Richard Li
17ed43d0d0
Fixed flysky hall stick mod problem in T16.
2021-07-07 13:48:32 +08:00
Raphael Coeffic
7789f5547c
Added touch support for T18
...
Resolves #138
2021-06-14 19:57:35 +02:00
richardclli and GitHub
ea9207bfb8
Flysky Hall Stick MOD using UART4 by disabling stick A/D, resolving #140 . ( #149 )
...
* Flysky Hall Stick MOD using UART4 by disabling stick A/D.
* Fixed build error.
* Added Flysky hall stick mod in test targets.
* Changed ADC disable for Flysky hall sticks method.
2021-06-06 18:09:58 +02:00
Raphael Coeffic
199afb8efa
Fixed T18 support
2021-05-28 09:40:46 +02:00
Raphael Coeffic and Raphael Coeffic
eb4e4af0d2
Fixed display inversion issues.
2021-05-06 12:55:59 +02:00