Commit Graph
61 Commits
Author SHA1 Message Date
rotorman df76801a8e Need explicit TR_BAUDRATE as well, was also missing in German translations. 2022-06-13 15:20:12 +02:00
rotorman 4a8f9d00b2 Added missing German translation strings. 2022-06-13 15:15:45 +02:00
rotorman d1f94afcce Simplified Python pillow and lz4 installation thx to @raphaelcoeffic. 2022-06-12 13:27:34 +02:00
rotormanandRaphael Coeffic 47db45886b Removed obsolete file. 2022-06-11 15:38:08 +02:00
rotormanandRaphael Coeffic 467779a59b Fix Finnish translations. 2022-06-11 15:38:08 +02:00
rotorman fa5b718579 Bugfix: serial power state executed on power-up irrespective of the serial mode selected. 2022-04-23 17:01:59 +02:00
rotorman bd80f7d454 Remove obsolete code. 2022-04-23 15:24:32 +02:00
rotorman db8c38d4c7 Use power port string from translations 2022-04-22 13:53:43 +02:00
rotorman ae265b6f94 Bugfix missing YAML padding. 2022-04-20 19:32:23 +02:00
rotorman 7e0eadd743 Save some flash on radios w/o software controllable serial port power supply pins. 2022-04-20 14:02:19 +02:00
rotorman 5682286173 Bugfix. Darn, tested locally building only for TX16S. 2022-04-19 13:03:31 +02:00
rotorman 62f328b976 Changed power bit to MSBit as requested. 2022-04-19 12:58:56 +02:00
rotorman 084da41dc9 Limit to TX16S only. 2022-04-19 12:53:45 +02:00
rotorman b1a3bc834f User controllable serial port power.
Thx to @raphaelcoeffic for numerous tips with YAML.
Tested with TX16S mkII.
2022-04-18 13:19:33 +02:00
rotormanandRisto f7dee48d50 List ProtocolName next to Mode: MULTI (similar to OpenTX). 2022-02-26 10:18:55 +01:00
rotorman 9f6038c4e7 Enable building under MSYS2 2021-12-31 12:47:32 +01:00
rotormanandRaphael Coeffic 89517d8bd8 Use ETX instead of OTX (also as a file extension). 2021-12-31 10:53:08 +01:00
rotormanandRisto 58d15c11ab Do not list EX3 and EX4 if FlySky gimbals are not detected.
Tested on two RM TX16S - one with FlySky Paladin EV gimbals, other with analog gimbals.
EX3 and EX4 are listed under SYSTEM -> Hardware -> Pots only, when FlySky gimbals are detected.

Please do not spoil the surprise, by discussing the other changes of this commit in public before the date.
2021-11-28 09:59:09 +01:00
rotormanandRisto 4ca26b3cae Set globalData.flyskygimbals immediately true on NV14, so that ADC init runs correct path without waiting for first successful telegram from gimbals. 2021-11-19 21:33:03 +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
rotorman 4b48e92a47 GitHub WebGUI created the file in root. Let's try under workflows instead. 2021-11-08 21:55:10 +01:00
rotorman cf7cf79dc3 Compile fix 2021-10-04 16:40:45 +02:00
rotorman 78489a69c0 Removed obsolete CooCox CoOS. 2021-10-02 15:05:21 +02: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
rotormanandRisto 89965ed5b2 Use 32-bit int always. 2021-09-21 08:11:26 +02:00
rotormanandRisto 9570f8595a Removed FlySky digital hall gimbal double value conversion (first using the FlySky factory calibration values min,mid and max to convert to 0 to 4095 and second to convert this value again into EdgeTX internal 11-bit range 0 to 2047).
This has the added benefit of precision increase and also avoiding unnecessary computation. Needed to change to uint32_t, as the jitter removal computation would otherwise go over the 16-bit range. As 16-bit computation can be left for "normal" sticks, added a special define just for FLYSKY_HALL_STICKS.

In addition this PR changes back the radio analogs diagnose page second column also for FlySky digital hall sticks to show +/- 100 again, as now with first and second column we already cover all internal ranges used.

Tested on RM TX16S with FlySky digital hall sticks.
2021-09-21 08:11:26 +02:00
rotormanandPeter Feerick de680aea3f Changed to https://edgetx.org/ w/o dash 2021-09-17 09:43:58 +10:00
rotormanandRaphael Coeffic cabf7f6155 Show raw value in first column, also in decimal; pre-processed value in second column. 2021-09-13 14:42:02 +02:00
rotormanandRaphael Coeffic 1737a52d7e Must supply full path for NV14 build to find the header. 2021-09-13 14:42:02 +02:00
rotormanandRaphael Coeffic 4af5adecef Show true raw input value on radio analogs diagnose screen for FlySky hall gimbals (signed short). 2021-09-13 14:42:02 +02:00
rotorman 322ad843ab use named constants instead of magic numbers. 2021-09-12 17:53:35 +02:00
rotorman d949815b46 String bugfix for EX3 and EX4. 2021-09-11 19:46:41 +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 4b2af8eb82 Fix taranis I2C volume control. 2021-08-21 16:23:20 +02:00
rotorman 2d6f706c47 Fix building for NV14. 2021-08-21 16:07:48 +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 8400159871 Enables AUX1 again when FlySky Hall sticks are used.
Tested on RM TX16S, AUX1/USART3 and Hall Sticks on UART4, both work.
2021-08-21 11:59:08 +02:00
rotorman 6f7a0eee55 Removes the constant "+00000ms:" from the debug output. 2021-08-21 11:22:16 +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
rotorman 4ff02be17d Removed obsolete folders. 2021-07-31 18:15:55 +02:00
rotormanandRaphael Coeffic 3ac70da582 Changed I2C timing to FreeRTOS ticks and added HAL_I2C_Mem_Write_DMA() and HAL_I2C_Mem_Read_DMA() from STM32F4 HAL in preparation of changing to DMA based I2C. 2021-07-31 17:31:51 +02:00
rotormanandRaphael Coeffic 8c14b80c69 Need to give semaphore after creation. 2021-07-31 17:31:50 +02:00
rotorman 94bb85142b SD card is now in own repository at https://github.com/EdgeTX/edgetx-sdcard
Removing this obsolete copy here.
2021-07-31 17:04:52 +02:00
rotorman ef08fc019f Incremented GT911 configuration with +1 and stopped writing it to GT911 on init/start if the same version has already been flashed to GT911 (as previously). 2021-07-18 11:32:14 +02:00
rotorman 5f0bac3dc9 Rewrore STM32F4 HAL_I2C_MspDeInit to not call HAL_GPIO_DeInit(), but only disable I2C GPIO with GPIO_Init(). 2021-07-16 18:40:52 +02:00
rotorman a886c72a55 Cosmetics 2021-07-15 23:09:33 +02:00
rotorman b86745d8f4 Clear ADDR bit in atomic way. Not in original STM32F4 HAL.
Lower timeouts to more reasonable values.
2021-07-15 22:41:12 +02:00
rotorman 2ca5cc771c Added De-Init and Re-Init (in case this is ever required). 2021-07-15 21:34:20 +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
rotormanandRaphael Coeffic 8c7f3cecec * removed red LED
* added GT911 fw version and hiccup cound output to analogs page
* changed I2C to 400 kHz
* changed X Y threshold to 1
* added trace output
* fixed bool / uint8_t errors
2021-07-11 13:04:13 +02:00
rotormanandRaphael Coeffic 2c65b21355 Based on PR #408 ff34616 that according to @rcvideoreviews on Discord works.
Added:
* @olliw42 PR #415 STOP condition fix.
* @raphaelcoeffic EXTI_Trigger_Rising
* fixed some uint8_t bool confusions
* added volatile to touchEventOccured that is set from ISR and accessed from main code
* changed to upload GT911 config also if config version is the same
2021-07-11 13:04:13 +02:00
rotorman bbd71be011 Added background to splash, matching the bootloader. 2021-06-18 20:52:29 +02:00
rotorman a49abcf19f Re-created blank credits to allow building Companion and Simulator binaries for now, until a better solution is available. See #242 2021-06-17 22:50:54 +02:00
rotorman 9b670b0e4d The UARTs of radios are using 3.3V logic level, not TTL / 5V. 2021-06-14 20:47:04 +02:00
rotorman b990ec17a2 The UARTs of radios are using 3.3V logic level, not TTL / 5V. 2021-06-14 20:42:52 +02:00
rotormanandRaphael Coeffic 78327063fb Added stdio.h to be able to compile with GNU Arm Toolchain v10 2020-q4 without errors. 2021-05-29 07:39:12 +02:00
rotormanandRaphael Coeffic 03efcdf22c SD card version warning 2021-05-26 23:09:19 +02:00
rotormanandRaphael Coeffic 58fdd039f8 Build environment setup script for Ubuntu 20.04 2021-05-15 15:31:12 +02:00
rotorman fc86f77610 Build environment setup script for Ubuntu 20.04 2021-05-15 11:40:36 +02:00