Commit Graph
742 Commits
Author SHA1 Message Date
Raphael Coeffic 11621cf736 Added support for EXT3 / EXT4 2021-11-10 11:07:03 +01:00
Raphael Coeffic 288fe158ae WiP fix emergency mode 2021-11-10 11:07:03 +01:00
Raphael Coeffic c696313a4e Use simple scheme with direct model slot to model filename 2021-11-10 11:07:00 +01:00
Raphael Coeffic f21bcd6987 Added missing STORAGE_CONVERT cmake var to Horus-like targets 2021-11-10 11:07:00 +01:00
Raphael Coeffic c2f42879a4 Test with X7 family 2021-11-10 11:06:59 +01:00
Raphael CoefficandRaphael Coeffic 74ea7812e2 Add ALLOW_TRAINER_MULTI to enable Multi-trainer on targets with PXX2 internal module
Please note that this requires the S.PORT connection to the internal ISRM to be cut, as it would otherwise be pulled low by the ISRM (without using it otherwise).
2021-11-02 14:26:40 +01:00
c59f579bbe Add special function to disable the touch screen (#942)
* added a new special function to disable the touch screen

* Bump libopenui

* Don't try to disable touch if no hardware touch

* Disable processing of SF if no touch hardware

Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
2021-10-25 23:20:57 +11:00
Peter FeerickandPeter Feerick 3e8faa381b Bump libopenui, add needed const 2021-10-22 21:03:16 +11:00
Jesper FrickmannandGitHub 69a465f0e2 Remove all radio predefined colors except BLACK and WHITE (#882)
* Removed all "Basic color definitions" except BLACK and WHITE in colors.h
Please ref. discussion on Discord: https://discord.com/channels/839849772864503828/839856795781431317/895858311579181066

* Removed theme color from the bootloader and replaced by RGB() like for e.g. green.

* Wrong color in Value widget default background color; should be white, not black
2021-10-16 22:34:31 +11:00
Raphael CoefficandPeter Feerick 03188cd333 [t18/tx18s] add some delay after turning the internal module on
This allows to avoid power supply instabilities.

Resolves #802
2021-10-06 20:21:12 +11:00
Raphael CoefficandPeter Feerick 6684489f01 [colorlcd] make malloc() thread-safe 2021-10-04 21:52:08 +11: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
Peter FeerickandRaphael Coeffic 0e71cb180d Make 'back' hitbox bigger for touch 2021-09-29 19:12:37 +02:00
Raphael CoefficandRaphael Coeffic 07d0a66368 telemetry driver: clear TC flag before re-enabling TC interrupt
This prevents the USART TC IRQ handler to trigger right after the DMA request has completed, and thus turning the output OFF before the last byte has been transmitted.

Resolves #801
2021-09-27 11:05:27 +02:00
Raphael CoefficandRaphael 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
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
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 a17a02c541 Compute SDKROOT and use it 2021-09-16 12:05:41 +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
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 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
Raphael Coeffic 118fc26374 WiP Windows build workflow 2021-09-13 11:13:08 +02:00
Raphael CoefficandGitHub 9bb08c2c1f Merge pull request #705 from EdgeTX/mpm-proto-list2
[color] Dynamic MPM proto list
2021-09-13 08:35:47 +02:00
Paul KendallandPeter Feerick 1c84b6d0e8 Enable medium GPI speed and 8bit sampling on high baud rates only 2021-09-13 15:08:30 +10:00
884bcec13c Allow selecting higher baud rates (#640)
* higher baud rates

* Update colorlcd models to support selectable baud tp 3.75M

# Conflicts:
#	radio/src/gui/colorlcd/radio_hardware.cpp

Co-authored-by: Jye <JyeSmith@users.noreply.github.com>
Co-authored-by: Paul Kendall <pkendall64@gmail.com>
2021-09-12 06:46:43 +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
Raphael Coeffic ba906e1d5d [color] Dynamic MPM proto list 2021-09-11 11:10:00 +02:00
jfrickmann b1ac01501d Add tapCount to touchState in gt911 driver 2021-09-10 17:11:55 -04:00
Peter Feerick 8a1970670d Only enable HARDWARE_TOUCH for TX16 & T18 default
As TX16S and T18 are only Horus targets with hardware touch as standard
Also only enable SOFTWARE_KEYBOARD with HARDWARE_TOUCH
2021-09-08 15:07:10 +10:00
Peter Feerick 2b457637e6 Manually re-add #617 build options 2021-08-30 21:26:18 +10:00
kkoenig1@optonline.comandkevinkoenig 59234cd145 Modified mask_key_backspace.png. These bitmaps should have no extra padding around them. IMHO
Modified horus target to add SOFTWARE_KEYBOARD.
2021-08-29 09:20:22 -04: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
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
Peter Feerick 324dbb7d8a GPS, EXT_ANT icon relative to target screen width 2021-08-20 20:35:35 +10:00
Peter Feerick 4e7d7cea59 USB and log icons relative to target screen width 2021-08-20 20:34:06 +10:00
Richard Li 9f498e5ec4 Datetime display does not display CN/TW translations properly. 2021-08-19 13:08:28 +08: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 49bec9110d [color] fixed internal GPS cmake settings 2021-08-05 13:58:13 +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
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
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 b8ee83da32 [nv14] Fixed unknown type 2021-07-31 17:52:28 +02:00
Raphael Coeffic 1f6b384927 internal module timer is no longer in use 2021-07-31 17:31:51 +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
Raphael Coeffic d4edb7713e WiP: FreeRTOS integration 2021-07-31 17:31:49 +02:00