Commit Graph
2081 Commits
Author SHA1 Message Date
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
Bryan MaylandandPeter Feerick a04a56c0e7 Reduce USB polling interval for joystick mode from 10ms to 1ms 2021-10-01 11:16:43 +10:00
Raphael CoefficandPeter Feerick 4258684248 Simu: Adjust RTC according to local time on start 2021-10-01 10:50:39 +10:00
Peter FeerickandRaphael Coeffic 0e71cb180d Make 'back' hitbox bigger for touch 2021-09-29 19:12:37 +02:00
Raphael Coeffic bf00ad22f6 Fix crash in simu caused by uninitialised pointer if f_opendir() returns an error 2021-09-29 17:20:48 +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
Raphael CoefficandGitHub 4907ebbf14 Merge pull request #728 from EdgeTX/nv14-internal-module
Nv14 internal module
2021-09-21 08:18:47 +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 Coeffic 024934e637 Disable AFHDS3 on NV14 2021-09-19 16:17:47 +02:00
Raphael Coeffic 78d8d976b4 Fixed ifdefs 2021-09-19 16:17:47 +02: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
Raphael Coeffic a17a02c541 Compute SDKROOT and use it 2021-09-16 12:05:41 +02:00
Peter Feerick 49cb277bf8 Hardware touch specific variables behind defines 2021-09-15 09:51:16 +10: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
Jesper FrickmannandGitHub 8d04b5112d Add tap count support to simulator (#719)
* Removed unused #define
* Added touchState.tapCount for double taps etc. to simulator
2021-09-14 16:30:39 +10: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
Raphael Coeffic 6278335eb9 Fix f_readdir() and use strict POSIX readdir() API 2021-09-13 17:34:47 +02:00
Raphael Coeffic ed95e2af5a Fix case w/ empty CMAKE_BUILD_TYPE 2021-09-13 16:11:03 +02:00
Raphael CoefficandGitHub 8d70f73979 Merge pull request #717 from EdgeTX/simu-mouse
Add touch support to simulation
2021-09-13 15:28:06 +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 1b57e415be Add touch support to simulation 2021-09-13 12:39:33 +02:00
Raphael Coeffic ba63348a6e Do not use "strip" with Clang 2021-09-13 11:13:08 +02:00
Raphael Coeffic 3ed1e20b9e Remove debug symbols on release builds 2021-09-13 11:13:08 +02:00
Raphael Coeffic b0d2853ed1 Remove "-Bsymbolic" for Clang (not supported) 2021-09-13 11:13:08 +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
eshifriandPeter Feerick 62d4dba74a fix BT build on NV14 2021-09-13 11:13:12 +10:00
Peter FeerickandGitHub 5dd4a89eb4 Merge pull request #704 from EdgeTX/nv14-doubletap
Implement tap count for NV14 TP also
2021-09-12 10:57:39 +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 fb460ca4dd Fix NV14 build 2021-09-11 11:16:48 +02:00
Raphael Coeffic ba906e1d5d [color] Dynamic MPM proto list 2021-09-11 11:10:00 +02:00
Peter Feerick 3d0cedc1c8 Update header 2021-09-11 18:48:56 +10:00
Peter Feerick b454bb8c43 Formatting 2021-09-11 18:44:57 +10:00
Peter Feerick f70f247302 Catch press and hold state 2021-09-11 18:43:13 +10:00
Peter Feerick dc9d213fc5 Implement tap count for NV14 2021-09-11 12:04:33 +10: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
Neil HorneandGitHub a9812688b0 Companion 2.5 (#555)
* Introduce yaml in Companion

* EdgeTX Companion
Replace some OpenTX refs
Data conversion to v220
Update Timers ui to cater for mode field split

* Fix some simulators crashing when started from Companion

* Disable firmware and app update checking and downloads from companion

* Some more rebranding

* Disable manual download actions and another rebrand

* Fix cmake warning

* Fix mode ON conversion gtests and enable switch in model edit

* Stop update message when updates turned off

* OpenTX #8580 Fixes missing negative sign for telemetry sources

* OpenTX #8604 fix curves tooltip colors

* OpenTX #8616 Fix release notes url references

* OpenTX #8548 Align file sync folder references

* OpenTX #8548 Link field once

* OpenTX #8550 Confirmation prompt before write models and settings to radio

* OpenTX #8550 Translate strings

* Title and splash images

* Change DEB package maintainer

* Start NV14

* NV14 continued

* NV14 sim

* Timer countdownStart data conversion and ui fixes

* Fix screen width

* Merge OpenTX PR 8675

* NV14 sim add computer keys and mouse to activate some functions

* Only allow supported protocols for each module on conversion

* Clear mismatched modules on conversion

* Replace colorlcd theme and layout blobs with detailed data structs in companion

* NV14 has 2 topbar zones

* Fix layout init

* Fix layout init again

* Reset to eepromimportexport.h to main branch

* Import/export does not like enum fields

* Model edit add custom screens tab for color and bw telemetry

* Free memory
2021-09-08 10:56:39 +10:00
eshifri b0de4ff120 add slider definitions 2021-09-04 17:58:15 -07:00
cf91c87c77 [Colorlcd] Pot and slider model setup settings implemented (#654)
* Pots and sliders warning implemented. #647

* add slider definitions

* Remove whitespace change causing merge conflict

* add slider definitions

Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
2021-09-01 11:10:33 +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