Commit Graph
899 Commits
Author SHA1 Message Date
rotorman 4b2af8eb82 Fix taranis I2C volume control. 2021-08-21 16:23:20 +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
Raphael Coeffic f77d236978 fixed DMA channels / flags for taranis targets 2021-07-31 18:46:41 +02:00
rotormanandRaphael Coeffic 897d2f3025 Adheres to the STM32F429 reference manual (RM0090) Section 10.3.17 DMA stream configuration procedure.
Before write access is permitted to numerous DMA registers, need to make sure that DMA is disabled for the stream. Disabling the stream is not instantaneous, and needs to be waited for (previous transmissions need to be finished first).

Added return values to numerous functions to signal a failure.
2021-07-31 18:46:40 +02:00
Raphael Coeffic 0e4201f25d WiP 2021-07-31 18:46:38 +02:00
Raphael Coeffic 06f898006e Added F2 support and try to save more memory 2021-07-31 17:31:50 +02:00
richardclliandGitHub d9d4591008 Merge pull request #495 from EdgeTX/main
Merge from main
2021-07-24 00:23:37 +08: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 1d81db0113 Updated timer driver to use 1ms loop to compatible with nv14. 2021-07-07 10:39:16 +08:00
Raphael Coeffic 33d8267489 Merge branch '2.3' into 2.4
# Conflicts:
#	radio/src/datastructs.h
2021-06-10 17:31:39 +02:00
Raphael CoefficandRaphael Coeffic f4a6b3411f Revert "Disable NANO for everything but taranis targets"
This reverts commit 67760354b8.
2021-05-29 13:31:50 +02:00
Raphael Coeffic 67760354b8 Disable NANO for everything but taranis targets 2021-05-28 10:09:43 +02:00
HydraandRaphael Coeffic 2f27c3c1a6 Add OneBit mode to HARDWARE menu. OneBit mode can help if your radio
has a slow inverter circuit by changing the UART sampling behaviour.

* It was found that the X9D+ and X7 (maybe others) have a slow inveter
that messes up reception of fast (400,000baud) UART signals.  On the
scope the rise time of the signal is very long.
* See RM0033 24.3.3 Receiver / Selecting the proper oversampling method.
Page 631.


Also note that reducing the pull-up resistor from 10k to 1k at R82
(X9D+) / R406 (X7) will also help with the rise times.  However on the
X7 changing the resistor is not enough, OneBit is needed too.
2021-05-20 23:24:04 +02:00
Raphael Coeffic 2f5b522413 Merge branch '2.3' into 2.4 2021-05-16 12:55:21 +02:00
3djc 2d36ef626c Fix #8510 2021-05-15 08:30:59 +02:00
3djc 8a4787d199 cleanups 2021-05-12 17:41:03 +02:00
3djc 0a5c3d5969 Merge branch '2.3' into 2.4 2021-04-15 10:48:46 +02:00
3djc b1812ce90c Fix T8 2021-04-15 09:42:41 +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 2dbdb32575 Cosmetics 2021-04-05 18:02:38 +02:00
3djc 9ba3914ec4 Cosmetics 2021-04-05 17:51:13 +02:00
3djc 84387e7e0f Cosmetics 2021-04-05 11:16:17 +02:00
3djc 41459f180c Merge branch '2.3' into 3djc/2.3-synced 2021-02-16 18:12:56 +01:00
Daniel b9b5ee8a9d Add switch I X9D+2019 2021-02-06 14:58:34 +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
3djcandGitHub 753842fbaf Jumper T-Lite support (#8230) 2021-01-25 15:36:32 +01:00
Kilrah 14343ea37c Better battery settings for T-Lite/T8 based on design 2021-01-24 10:06:12 +01:00
3djc 9559f34630 Cosmetics 2021-01-21 13:02:06 +01:00
3djc be4c3c2824 Compilation fix 2021-01-19 16:35:55 +01:00
3djc b90cfb7675 Cosmetics 2021-01-19 16:14:46 +01:00
3djcandGitHub c38e513c7e Allow setting serial baurate for LUA (#8228) 2021-01-19 14:57:45 +01:00
3djc af946f1064 Merge branch '2.3' into 3djc/2.3-synced 2021-01-19 09:29:44 +01:00
3djc 8fcc4f7247 Cosmetics 2021-01-18 17:37:50 +01:00
3djc ea6fec611f Fixes
(cherry picked from commit 17e272412e)
2021-01-16 09:05:32 +01:00
Kilrah c34ed67343 Merge branch '2.3' into 3djc/T-Lite
# Conflicts:
#	companion/src/firmwares/boards.h
#	companion/src/firmwares/opentx/opentxeeprom.h
#	radio/src/gui/common/stdlcd/radio_hardware.cpp
#	radio/src/targets/common/arm/stm32/adc_driver.cpp
#	radio/src/targets/common/arm/stm32/bootloader/CMakeLists.txt
#	radio/src/targets/taranis/board.h
#	radio/src/targets/taranis/hal.h
#	radio/src/targets/taranis/keys_driver.cpp
#	radio/src/targets/taranis/lcd_driver_spi.cpp
2021-01-15 20:17:02 +01:00
3djc 17e272412e Fixes 2021-01-15 18:01:16 +01:00
3djcandGitHub 1f01fa6d47 Radiomaster T8 (#8219) 2021-01-15 17:19:25 +01:00
3djc 84c86f718b Jumper TLite support 2021-01-14 13:30:54 +01:00
Bertrand Songis a02bf3aa0c Merge with latest 2.3 2021-01-12 17:16:15 +01:00
3djc 885bd9ceb9 Merge branch 'mixer-scheduler-squash-rebase' into 3djc/2.3-synced 2020-12-21 19:33:07 +01:00
3djc 726541c793 cosmetics 2020-12-10 17:23:54 +01:00
3djc 45c24c6b28 Handles charge indication 2020-12-10 13:08:59 +01:00
Raphael Coeffic 1c33efac9f fixed AFHDS3 taranis external module 2020-12-09 07:24:28 +01:00
Raphael Coeffic 3c98a9907e fixed extmodule serial polarity 2020-12-09 07:24:28 +01:00
Raphael Coeffic 3f3747c0c7 pxx1 internal module: add pre-load register enable (required for pwm mode) 2020-12-09 07:24:28 +01:00
Raphael Coeffic 02c7d5004a fixed internal PXX1 re-enable for DMA request 2020-12-09 07:24:28 +01:00
Raphael Coeffic 47f38dc5b7 potential fix for internal PXX1 2020-12-09 07:24:28 +01:00
Raphael Coeffic e2fb0522cd fixed pxx1 driver 2020-12-09 07:24:28 +01:00
Raphael Coeffic 02660c763a mixer scheduler 2020-12-09 07:24:27 +01:00
3djc 92686db6d6 Review AFHDS3 option 2020-12-06 11:53:32 +01:00