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 Raphael Coeffic
004989ea57
[color] Move touch panel init to UI task
...
This allows for the timeout checks in I2C code to work properly as they are based on SysTick IRQ, which is started by FreeRTOS when the scheduler is started.
Resolves #803
2021-09-26 10:29:39 +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
56b30ffa9e
X12S fixes (not tested)
2021-07-31 18:46:42 +02:00
Raphael Coeffic
5ba5cb299e
Hotfix for X12S ADC driver
2021-07-31 18:46:41 +02:00
rotorman and Raphael 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
Richard Li
1d81db0113
Updated timer driver to use 1ms loop to compatible with nv14.
2021-07-07 10:39:16 +08: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
Risto and Raphael Coeffic
3a01639f5f
Fixes HardFault on boardOff() with forced power supply
...
Fixes power-off HardFault during hw-debugging at the end of boardOff(), when power supply to MCU is forced (developer boards, w/o cutting power with pwrOff() ).
2021-05-29 13:40:05 +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
Raphael Coeffic
02660c763a
mixer scheduler
2020-12-09 07:24:27 +01:00
Bertrand Songis
42a3198568
Merge with latest 2.3
2020-10-07 21:01:45 +02:00
3djc and GitHub
6a5aa60a76
rework touch panel driver ( #7803 )
...
* Hardware I2C support
2020-07-07 21:14:46 +02:00
3djc and GitHub
2d01916055
Preliminary T18 support ( #7581 )
2020-06-22 21:15:47 +02:00
3djc
396ebf27b5
TX16S 2.4 touch support
2020-06-18 09:40:43 +02:00
3djc and GitHub
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
3djc and GitHub
f0d8d340fd
Add AUX2 ( #7588 )
...
AUX2 added
2020-05-15 14:51:36 +02:00
Kilrah
2abafbede6
Fix battery voltage
2020-04-26 18:06:54 +02:00
3djc
9a20a8780b
Init usb charger detect
2020-04-20 13:01:11 +02:00
3djc
dd4f9de2e9
Please local travis (and more)
2020-04-07 12:48:09 +02:00
Bertrand Songis and GitHub
f100e4375a
Bsongis/sport power line on off ( #7435 )
...
SmartPort Power
2020-03-10 17:48:58 +01:00
3djc
562ee338b1
Touch GPIO def
2020-02-25 11:30:14 +01:00
3djc
b7523d12f0
Fix TX16S compile, and add more radio to Travis
2020-02-03 07:32:31 +01:00
3djc and GitHub
0f9114c524
Initial TX16S ( #7344 )
...
* TX16S initial push - Radio booting, navigation keys ok
* TX16S libsimu
* Please Travis
* Do not start radio on charger power
* USB charger led handling
* Revert "USB charger led handling" until we have proper details
* Pseudo sport power pin
* Please Travis
* tx16s serial debug
* Add tx16s calibration picture
* Review anadir for tx16s, needs to be checked on more radios
* Dump raw multi telem on AUX port
* More work on TX16S
* Fixes
* Compilation fix
* Compilation fix
* Fix Aux Serial power
* Various improvement
* USB charger led handling
* Cosmetics
* Cosmetics
* USB charger led handling
* Add charge indicator on GUI
2020-01-30 17:25:09 +04:00
Bertrand Songis
cf7e45d7cd
#7210 merged (thanks Fiam)
2020-01-03 12:32:21 +01:00
Bertrand Songis and GitHub
4cdd17f0d7
MAGIC value for powerReason should be stored in RTC backup on Horus ( #7096 )
...
- Allows the radio main application to start correctly when coming from an app in RAM
- Refactoring of the `UNEXPECTED_SHUTDOWN()` process
- Saves the RTC battery as BACKUP RAM is not needed on normal shutdown
- On PWR OFF on an ALERT, the radio won't show the next alert before shutting down
- Bootloader flashable through the SD Manager
2019-11-21 11:50:33 +01:00
3djc
084d7dc846
Fix T16 power led
2019-10-20 19:59:47 +02:00
Raphael Coeffic and 3djc
aaafe445db
Added support for flashing AVR multi on horus targets ( #6888 )
...
* Added support for flashing AVR multi on horus targets
taranis soft serial
Added support for flashing AVR multi on horus targets
taranis soft serial
* Added support for multi V2 signature (hex code)
* Check multi signature before flashing
* small clean-up
* Cosmetics
* Fix v2 signature check
* Cosmetics
2019-10-16 15:29:10 +02:00
3djc and GitHub
891c13e98d
Spectrum analyser reworked ( #6836 )
...
* Spectrum analyser reworked
* Fix typo
* Cosmetics
* Cosmetics
* yet another overall look update
* T16 compilations fixes
* Various Taranis compile fixes
* Cosmetics
* Cosmetics
* Cosmetics
* Cosmetics fixes
2019-10-10 15:42:35 +02:00
Raphael Coeffic and Bertrand Songis
0a8917cbe2
Deactivate aux_serial on Horus targets ( #6733 )
...
Remove AUX_SERIAL on Horus
2019-09-10 15:36:34 +02:00
Bertrand Songis
036eb953f0
[X10] RTC fixed
2019-08-21 17:35:28 +02:00
Bertrand Songis
185532f05e
No more voltage alarms on simu
2019-08-12 14:23:03 +02:00
Bertrand Songis and GitHub
3a0960c1e3
Bsongis/adc rtc temperature ( #6537 )
...
RTC voltage + CPU temperature + RTC voltage alarm (thanks @schwabe)
2019-07-03 07:58:32 +02:00
Bertrand Songis and GitHub
c3388dc65e
Bsongis/x9lite pwr fix ( #6501 )
...
X9 Pwr fix
2019-06-14 21:19:26 +02:00
Bertrand Songis and GitHub
55ec942610
Bsongis/rotary encoder delay ( #6503 )
...
Rotary encoder fixed on X10 / X12S
2019-06-14 19:19:52 +02:00
Bertrand Songis
c9581630ff
Rename serial2 to aux_serial
2019-06-04 16:57:35 +02:00
3djc and Bertrand Songis
1c51c646c4
Introduce AUX_SERIAL ( #6456 )
2019-05-28 13:06:02 +02:00
Bertrand Songis
c28210e3e4
Rotary encoder refactoring
2019-04-30 14:55:21 +02:00
Bertrand Songis
5ab678298f
Compilation fixes
2019-04-25 16:02:34 +02:00
Bertrand Songis
d4cd8498ce
PXX2 probe on Horus should be OK (same code than Taranis)
2019-04-25 11:32:20 +02:00
Bertrand Songis
501238af41
RTC battery voltage on X12S
2019-04-19 13:44:36 +02:00
Bertrand Songis
b0b027e958
[X10] PWM sticks fix
2019-03-21 13:57:23 +01:00
Bertrand Songis
d3af7fca5d
[Pulses] PXX2 Probe warning
2019-03-12 18:20:55 +01:00
3djc
d80dc67bbd
R9M and R9M2
2019-02-19 13:15:54 +01:00
Bertrand Songis
fd6ec42d7f
X10 / X12S fixes
2019-02-09 16:55:02 +01:00
Bertrand Songis
274543a57f
Data structs ready ...
2019-02-04 16:26:44 +01:00
Andre Bernet and Bertrand Songis
8e7e036591
Potential fix for #5895 ( #5897 )
...
Fixes #5895
2018-05-21 10:43:44 +02:00