Commit Graph
100 Commits
Author SHA1 Message Date
Raphael Coeffic aa85002705 companion windows: remove qt styles plugin directory 2021-09-29 18:40:41 +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 742336450e [color] Fix subType editing & set default channel start + range on change
Resolves #567
2021-09-27 12:24:44 +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 08b3507d18 [MPM] Sanitized static protocol definition pointer checks 2021-09-26 11:07:57 +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 Coeffic 0574f04bde Fixed PCBREV for X10 Express 2021-09-24 18:40:34 +02:00
Raphael Coeffic 99048e6389 Pin macOS builds to 10.15
macos-latest is about to change to big sur (11.0).
2021-09-23 09:06:55 +02:00
Raphael Coeffic b06cbe92bf Fix define for AFHDS2
Resolves #791
2021-09-22 09:58:16 +02:00
Raphael Coeffic b3da777251 Bumped version to 2.6.0-dev 2021-09-21 08:42:21 +02:00
Raphael Coeffic 982382e164 Aligned / Added 2.5 branch in automatic builds 2021-09-21 08:34:42 +02:00
Raphael CoefficandPeter Feerick 64a87812bb [color] do not use setValue() in SourceChoice / SwitchChoice
This potentially deletes the source/switch choice, which then triggers a "use-after-free".

Resolves #759
2021-09-20 11:04:11 +10:00
Raphael Coeffic 66b523cf88 Fixed workflow name patterns 2021-09-19 16:55:48 +02:00
Raphael Coeffic f554c12337 Fixed Companion artifacts names 2021-09-19 16:49:44 +02:00
Raphael Coeffic 571465668f Fixed ifdefs for AFHDS2A & AFHDS3 2021-09-19 16:26:10 +02:00
Raphael Coeffic 024934e637 Disable AFHDS3 on NV14 2021-09-19 16:17:47 +02:00
Raphael Coeffic bc2a0810bd AFHDS2A is not available for external modules 2021-09-19 16:17:47 +02:00
Raphael Coeffic 4a79480e5e Prevent AFHDS2A from being used as an external module
The pulses code for that module does not support it.
2021-09-19 16:17:47 +02:00
Raphael Coeffic f7214862e4 Removed extra debug 2021-09-19 16:17:47 +02:00
Raphael Coeffic 5e091faba4 Fixed ifdefs 2021-09-19 16:17:47 +02:00
Raphael Coeffic e0a8b3d8c3 Added RX options (PWM/PPM, iBUS/SBUS) 2021-09-19 16:17:47 +02:00
Raphael Coeffic 7e3b06bffd Disable range checking mode on AFHDS2A modules (does not work) 2021-09-19 16:17:47 +02:00
Raphael Coeffic f7af8f1e98 Force set AFHDS2A subType on NV14 2021-09-19 16:17:47 +02:00
Raphael Coeffic b0147a43d0 Fixed telemetry 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 8d46737e56 Remove useless setFlyskyState()
This is already done in resetPulsesAFHDS2()
2021-09-19 16:17:47 +02:00
Raphael Coeffic 0e12166786 Avoid circular header dependencies 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 Coeffic c389000713 Enable pulses for AFHDS2A (avoids WDG reset) 2021-09-19 16:17:47 +02:00
Raphael Coeffic e90c300bf4 Clean-up / renaming MODULE_TYPE_AFHDS3 to MODULE_TYPE_FLYSKY 2021-09-19 16:17:47 +02:00
Raphael Coeffic e6cdb7623b Allow Companion build on version tags on main and 2.5 branch 2021-09-19 14:13:37 +02:00
Raphael CoefficandRaphael Coeffic 366290307a Fixed commit-tests 2021-09-19 14:08:13 +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 ccc83b9d2e Set the record straight on GHST channels 2021-09-18 13:03:51 +02:00
Raphael Coeffic b5da0e164c Add GHST and SBUS to the list of protos with fixed # channels
The end-channel is thus non-editable.
2021-09-18 12:52:03 +02:00
Raphael CoefficandPeter Feerick fd1f6d2f3d [nv14] Fix translation strings used
Strings defined for "x" (shortest) are mostly defined if "LCD_W < 212", which is not the case for the NV14, thus leading to faulty static strings (see TR_VFSWRESET in en.h.txt translation for example).
2021-09-18 19:21:06 +10:00
Raphael Coeffic 9b63f75e1d Fix max # channels and default channel range
Resolves #299
2021-09-18 10:43:55 +02:00
Raphael CoefficandPeter Feerick f401cd4a12 [color] use own protocol counter
Overloading the frame counter causes aa race condition with the UI thread (see SEND_FAILSAFE_1S()).
2021-09-18 11:57:23 +10:00
Raphael Coeffic c2588efbca Prevent proto list to be fetched when started in anything but "normal" mode 2021-09-17 11:15:33 +02:00
Raphael Coeffic 9987912fce Do not install arm-gcc on windows either
And fix a couple of missing (implicitely added) packages
2021-09-16 14:58:52 +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
Raphael Coeffic 28dc161337 PoC: compile companion macOS without arm-gcc toolchain 2021-09-16 11:23:55 +02:00
Raphael Coeffic cfdee7f0e6 [color] properly filter sources in drop-downs
Resolves #731
2021-09-16 09:03:17 +02:00
Raphael Coeffic 24292d83aa [color] fixed module index to fetch protolist on internal module enable 2021-09-16 08:49:44 +02:00
Raphael Coeffic ff0abf11a5 Call GV_IS_GV_VALUE() without offset applied
Resolves #722
2021-09-14 10:38:24 +02: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 Coeffic a632d341bc Do not access hall stick raw array on SIMU 2021-09-13 15:11:31 +02:00
Raphael Coeffic 669e33e7f2 Add NV14 to the simulator targets 2021-09-13 12:56:33 +02:00
Raphael Coeffic 21b29899fd Moved LcdWidget implementation into own .cpp file 2021-09-13 12:39:33 +02:00
Raphael Coeffic 1b57e415be Add touch support to simulation 2021-09-13 12:39:33 +02:00
Raphael Coeffic 2d7307a4f8 Fixed warnings 2021-09-13 12:39:33 +02:00
Raphael Coeffic a3b9d9ff7f Re-enable customisation data 2021-09-13 12:30:07 +02:00
Raphael Coeffic b9544afe6a Update libopenui 2021-09-13 11:13:49 +02:00
Raphael Coeffic ba63348a6e Do not use "strip" with Clang 2021-09-13 11:13:08 +02:00
Raphael Coeffic e67fc491e5 Updated license information 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 3f8e547077 Added Mac OSX companion build 2021-09-13 11:13:08 +02:00
Raphael Coeffic 05c9905db6 Re-enable all libsimulator targets and copy installer to output directory 2021-09-13 11:13:08 +02:00
Raphael Coeffic 52d30ab6fd Use "EdgeTX" instead of "OpenTX" in Windows installer 2021-09-13 11:13:08 +02:00
Raphael Coeffic 118fc26374 WiP Windows build workflow 2021-09-13 11:13:08 +02:00
Raphael Coeffic 34677d0148 Invalidate MPM cached proto list on firmware upgrade 2021-09-11 12:10:05 +02:00
Raphael Coeffic 66066181fc Improved progress bar label 2021-09-11 11:33:03 +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
Raphael Coeffic 2e767a8d6b Updated libopenui 2021-09-05 19:25:47 +02:00
Raphael Coeffic e700870f70 Updated libopenui to fix crash with software keyboard 2021-09-03 09:49:14 +02:00
Raphael Coeffic 8eab7bbace Ghost GPS: convert to signed before dividing
Resolves #568
2021-08-23 16:16:54 +02:00
Raphael Coeffic 44001fee50 updated libopenui 2021-08-22 19:42:50 +02:00
Raphael Coeffic a450ac5b9a [nv14] Use max baudrate 400k 2021-08-22 18:04:49 +02:00
Raphael Coeffic 9509569c40 [nv14] aligned telemetry signal polarity on other radios and fixed requested polarity for MPM
Resolves #590
Resolves #613
2021-08-22 17:33:37 +02:00
Raphael Coeffic b9aad2d307 [nv14] Fixed ADC EXT DMA TC flag name 2021-08-22 09:31:22 +02:00
Raphael Coeffic 0cd8410f5e Fixed ADC_EXT DMA transfer flag 2021-08-22 09:18:42 +02:00
Raphael Coeffic 7e5397a8d2 Updated libopenui 2021-08-18 06:32:37 +02:00
Raphael Coeffic 478e345a32 [nv14] Fix key support in bootloader
Resolves #597
2021-08-17 14:32:04 +02: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 77f6b5a5b1 Fixed Qt includes (sub-path) 2021-08-05 19:27:26 +02:00
Raphael Coeffic 49bec9110d [color] fixed internal GPS cmake settings 2021-08-05 13:58:13 +02:00
Raphael CoefficandRaphael Coeffic 356449ce73 [color] Set proper CRSF module state when model-ID has changed
Resolves #559
2021-08-05 10:39:41 +02:00
Raphael Coeffic 5cd68753d3 Do not add parameters to a target not defined (if QT was not detected) 2021-08-05 09:18:27 +02:00
Raphael CoefficandRaphael Coeffic a2b8b4ecba Bump cmake minimum required version to 3.13 2021-08-04 16:23:33 +02:00
Raphael Coeffic ab1dd80862 Updated copyright / license boilerplate
Resolves #553
2021-08-04 07:24:30 +02:00
Raphael Coeffic 7f6b1c7924 Updated libopenui 2021-08-04 07:19:31 +02:00
Raphael Coeffic 5b5ea807e1 Use the current time to generate the log filename
Resolves #548
2021-08-03 11:08:14 +02:00
Raphael Coeffic 6a202015e0 Fix flashing firmware over S.Port (modules / receiver).
Resolves #541
2021-08-02 17:28:01 +02:00
Raphael Coeffic bb60d62267 [color] fixed drawing values from LUA mixer scripts 2021-08-02 13:04:41 +02:00
Raphael Coeffic 9a112977f8 Update libopenui 2021-08-02 10:46:18 +02:00
Raphael Coeffic fde67702d2 Fix simulator when there is no rotary encoder and no PLUS / MINUS keys 2021-08-01 11:05:01 +02:00
Raphael Coeffic 8172d38906 Allow ENTER/EXIT to be used with the NV14
This requires enabling HARDWARE_KEYS, otherwise the UI won't have any key handling compiled.
2021-08-01 10:02:03 +02:00
Raphael Coeffic 89bedc5365 Fixed key driver 2021-08-01 10:00:23 +02:00
Raphael Coeffic a8e2e3de74 Fixed NV14 simu linking 2021-07-31 18:46:43 +02:00
Raphael Coeffic 2e5dd73f51 Fixed NV14 TC flags 2021-07-31 18:46:43 +02:00
Raphael Coeffic 56b30ffa9e X12S fixes (not tested) 2021-07-31 18:46:42 +02:00
Raphael Coeffic 4ea1820366 Allow NULL driver methods 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 f77d236978 fixed DMA channels / flags for taranis targets 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