Commit Graph
164 Commits
Author SHA1 Message Date
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 CoefficandRaphael Coeffic c8a4a80ffd Serial pass-through 2021-11-21 11:18:35 +01:00
rotormanandRisto 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
rotormanandRisto 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 CoefficandRisto 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
richardclliandGitHub 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 CoefficandRaphael Coeffic eb4e4af0d2 Fixed display inversion issues. 2021-05-06 12:55:59 +02:00
3djc 70d24506da Merge branch '2.3' into 2.4
# Conflicts:
#	radio/src/fonts/480x272/font_dblsize.png
#	radio/src/fonts/480x272/font_xxlsize.png
#	radio/src/gui/128x64/model_setup.cpp
#	radio/src/gui/128x64/radio_setup.cpp
#	radio/src/gui/480x272/model_receiver_options.cpp
#	radio/src/gui/480x272/model_setup.cpp
#	radio/src/gui/480x272/radio_calibration.cpp
#	radio/src/gui/480x272/radio_hardware.cpp
#	radio/src/gui/common/stdlcd/draw_functions.cpp
#	radio/src/gui/gui_common.cpp
#	radio/src/keys.h
#	radio/src/lua/interface.cpp
#	radio/src/pulses/afhds3.h
#	radio/src/rtos.h
#	radio/src/switches.cpp
#	radio/src/targets/common/arm/stm32/aux_serial_driver.cpp
#	radio/src/targets/horus/CMakeLists.txt
#	radio/src/targets/horus/lcd_driver.cpp
#	radio/src/targets/horus/startup_stm32f42_43xxx.s
#	radio/src/targets/taranis/CMakeLists.txt
#	radio/src/telemetry/crossfire.h
#	radio/src/telemetry/multi.cpp
#	radio/src/translations.cpp
#	radio/src/translations/it.h.txt
#	radio/src/translations/untranslated.h
#	radio/util/font2png.py
#	tools/commit-tests.sh
2021-04-08 11:42:28 +02:00
3djc e3082756c9 Merge branch '2.3' into 3djc/2.3-synced 2021-03-14 10:51:46 +01:00
RistoandGitHub 1a4eb0636e Minor comment fix in hal.h (#8361)
Minor comment fix in hal.h for AUX_SERIAL_PWR_GPIO_PIN port and pin.
2021-03-13 17:57:53 +01:00
3djc 9b02d354d6 Tidy up 2021-03-09 17:07:32 +01:00
3djc 2cdbaba716 Merge branch '2.3' into 3djc/2.3-synced
# Conflicts:
#	radio/src/pulses/pulses.cpp
2021-01-26 11:22:58 +01:00
3djc 9559f34630 Cosmetics 2021-01-21 13:02:06 +01:00
3djc 274a7e96d4 Cosmetics 2021-01-20 08:12:15 +01:00
3djc be4c3c2824 Compilation fix 2021-01-19 16:35:55 +01:00
3djc 84c86f718b Jumper TLite support 2021-01-14 13:30:54 +01:00
Raphael Coeffic 02660c763a mixer scheduler 2020-12-09 07:24:27 +01:00
3djcGitHub3djc <Th1sisfmyofmyo>
87cd9047b1 2.4 continued (#8092)
Quite a bit of work on 2.4

Co-authored-by: 3djc <Th1sisfmyofmyo>
2020-11-14 14:55:37 +04:00
3djc 9272029ec2 Fix TX16S compilation when both BT and externalaccessmod are defined 2020-10-23 22:03:51 +02:00
3djcandGitHub 5fc342c85c Allow R9M 2019 in ACCESS mode on some radios (#7963)
Support for external R9M ACCESS
2020-10-16 16:35:31 +02:00
Bertrand Songis 42a3198568 Merge with latest 2.3 2020-10-07 21:01:45 +02:00
3djc d45475871d Cosmetics 2020-07-15 17:09:54 +02:00
3djcandGitHub 2d01916055 Preliminary T18 support (#7581) 2020-06-22 21:15:47 +02:00
Bertrand Songis bddccb9765 Merge with latest 2.3 2020-05-30 11:57:03 +02:00
3djcandGitHub 82b13ebe3f TX16S internal gps option (#7632) 2020-05-27 07:35:25 +02:00
3djc 318e4dd516 tx16s aux fixes 2020-05-15 21:11:05 +02:00
3djcandGitHub f0d8d340fd Add AUX2 (#7588)
AUX2 added
2020-05-15 14:51:36 +02:00
3djcandGitHub 0e2b4e0a3f Improve TX16s UARTS (#7568)
* Rework TX16s UARTs

* Rework TX16s UARTs
2020-05-04 15:46:43 +02:00
Kilrah 8f8ef313bb VRef is 3.3V 2020-04-26 18:23:48 +02:00
Kilrah 9bf6b1d0a2 No audio mute for TX16S 2020-04-24 12:01:07 +02:00
Kilrah c2ab1d96f3 Revert "No extra switches on TX16S"
This reverts commit 68584a7262.
2020-04-20 14:35:13 +02:00
Kilrah 68584a7262 No extra switches on TX16S 2020-04-20 14:26:57 +02:00