Commit Graph
404 Commits
Author SHA1 Message Date
Bryan MaylandandPeter Feerick a04a56c0e7 Reduce USB polling interval for joystick mode from 10ms to 1ms 2021-10-01 11:16:43 +10:00
Raphael Coeffic c374e3369b Send pulses as well.... 2021-09-19 16:17:47 +02:00
Raphael Coeffic e29138f7e3 Draft support internal module NV14 2021-09-19 16:17:47 +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
Raphael Coeffic e02d234f07 Remove "bootloader" and "simu" targets from "all" 2021-09-16 13:50:46 +02:00
RistoandGitHub 954eeaedc0 Merge pull request #709 from EdgeTX/FlySkyHallPlus2Analogs
Enable EX3 and EX4 on TX16S in combination with FlySky Hall Gimbal
2021-09-14 09:23:24 +02:00
Peter FeerickandGitHub cc0c530f3f Prevent USB activation while flashing firmware (#672)
* Prevent USB activation while flashing firmware
* Also prevent USB if at FLASH_DONE screen
2021-09-14 16:03:11 +10: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
Peter Feerick 44eca11635 Better to use exact resolution 2021-08-28 12:45:06 +10:00
Peter Feerick 115bf4a4cc Use LCD height so not transmitter specific 2021-08-27 21:42:11 +10:00
Peter Feerick bf4aa156fe Show more files on the NV14
Since it has a much taller screen
2021-08-26 11:34:21 +10:00
RistoandGitHub 525126e155 Merge pull request #617 from EdgeTX/Horus_I2C_conf
Adds support of LSM6DS33 IMU to TX16S via AUX1 port
2021-08-24 17:05:08 +02:00
Raphael Coeffic 0cd8410f5e Fixed ADC_EXT DMA transfer flag 2021-08-22 09:18:42 +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
rotorman 6f7a0eee55 Removes the constant "+00000ms:" from the debug output. 2021-08-21 11:22:16 +02:00
Raphael Coeffic 478e345a32 [nv14] Fix key support in bootloader
Resolves #597
2021-08-17 14:32:04 +02:00
Raphael Coeffic f1fd6dde02 Integrate NV14 ADC driver into generic stm32_hal_driver 2021-07-31 18:46:40 +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
rotormanandRaphael Coeffic ec630671ad Small bugfix and added some comments. 2021-07-31 18:46:39 +02:00
Raphael Coeffic b1be0bf57d Fix X7 / XLITE(S) / X9LITE(S) targets 2021-07-31 18:46:39 +02:00
Raphael Coeffic 0e4201f25d WiP 2021-07-31 18:46:38 +02:00
Raphael Coeffic cf480b03a3 [adc] Use StdPeriph lib instead of direct reg access 2021-07-31 18:46:37 +02:00
Raphael Coeffic 1c8d33a7ca Use task notification for mixer scheduler: faster and less RAM 2021-07-31 17:31:51 +02:00
Raphael Coeffic 06f898006e Added F2 support and try to save more memory 2021-07-31 17:31:50 +02:00
Raphael Coeffic 12e7780fa3 Move FreeRTOS port file inclusion to MCU specific section 2021-07-31 17:31:50 +02:00
Raphael Coeffic 421d19bc6b Fixed interrupt prio 2021-07-31 17:31:50 +02:00
Raphael Coeffic 7e4cdaeaca Patched mixer scheduler related interrupts with the correct prio 2021-07-31 17:31:49 +02:00
Raphael Coeffic d4edb7713e WiP: FreeRTOS integration 2021-07-31 17:31:49 +02:00
Raphael CoefficandGitHub 6e9b09b548 Merge pull request #494 from EdgeTX/nv14-build
NV14 Support and Build
2021-07-27 09:39:03 +02:00
Richard Li a752651cda Revert common adc driver changes for NV14. 2021-07-27 15:15:46 +08:00
Raphael Coeffic 74f2445558 WiP: Simu and modules fixes 2021-07-25 08:33:57 +02:00
Richard Li 82c3f0b3df NV14 reverted ADC driver change, not working properly for common driver. 2021-07-23 17:59:22 +08:00
Richard Li 62458bdb55 Migrated NV14 ADC driver to use common driver. 2021-07-23 14:08:38 +08:00
Raphael Coeffic 6bf0fe2889 Cleanup useless code 2021-07-21 16:06:16 +02:00
richardclliandGitHub 85723fac20 Merge pull request #447 from EdgeTX/2.4
Merge from 2.4 branch
2021-07-14 10:41:13 +08:00
Raphael CoefficandRaphael Coeffic 938679da2f Use longer period for PXX2 modules triggered by heartbeat signal and reset timer early
This allows to cope for the different frame rates used by ACCESS and ACCST modes. See opentx/opentx#8601 for details.
2021-07-09 14:26:26 +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 6126241f0b Revert "Further protection"
This reverts commit 751bb6127d.
2021-06-23 12:45:13 +02:00
3djcandRaphael Coeffic 751bb6127d Further protection 2021-06-23 06:28:17 +02:00
Raphael Coeffic 53261ad067 Removed waiting for serial queue
triggers emergency mode in case serial port has not been enabled.
2021-06-22 20:36:50 +02:00
RistoandGitHub 4bfcbf7a05 Adds support for correct Alps EC10E roller hookup (#261)
Enhanced roller update (thx to Mike Blandford https://www.rcgroups.com/forums/showpost.php?p=46929617&postcount=9974 )

* TX12 should also have ROTARY_ENCODER_GRANULARITY 2
2021-06-21 18:43:40 +02:00
Raphael Coeffic f3fbed5a1b Fixed AUX serial definition in auxSerialSetup() 2021-06-14 17:45:43 +02:00
Raphael Coeffic f7d36cd695 Place adcRead() back to mixer task to avoid issues with heartbeat triggered modules
Resolves #166
2021-06-09 14:26:46 +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 f9aeebcabe Fixed using objcopy with the full path as specified in main CMake 2021-05-31 18:14:08 +02:00
Raphael CoefficandRaphael Coeffic afd0a4541b Enable DEBUG over serial in bootloader 2021-05-26 16:08:51 +02:00
Raphael Coeffic f97843c746 bootloader: display fork version 2021-05-23 19:09:42 +02:00
Raphael CoefficandRaphael Coeffic 590ec5a9ed Fix color lcd bootloader deps 2021-05-14 22:42:10 +02:00
Raphael Coeffic 6956398a50 Added command to flash only the bootloader with "make flash-bl" 2021-05-09 08:53:23 +02:00