Raphael Coeffic
d747072e1e
TODO reminders
2021-11-10 11:06:59 +01:00
Raphael Coeffic
fcab8f2b24
Hide YAML traces behind DEBUG_YAML
2021-11-10 11:06:59 +01:00
Raphael Coeffic
09738f365d
Use max version number for YAML (provisional)
...
TODO: this needs to be changed once there is a proper version number assigned.
2021-11-10 11:06:59 +01:00
Raphael Coeffic
713579b238
Added basic support for PartialModel load
2021-11-10 11:06:59 +01:00
Raphael Coeffic
cbde43cbeb
Updated generated yaml model for X12S
2021-11-10 11:06:59 +01:00
Raphael Coeffic
e10439ce87
Updated directly loadable version to libclang-6.0
2021-11-10 11:06:59 +01:00
Raphael Coeffic
9a31683bee
Init value types properly from factory option defs
...
This is needed to dump the options with the proper type into yaml file.
2021-11-10 11:06:58 +01:00
Raphael Coeffic
a4701ef988
Fix crash on partial model load (model select)
2021-11-10 11:05:47 +01:00
Raphael Coeffic
94764d8fa9
Updated X10 generated structs
2021-11-10 11:05:47 +01:00
Raphael Coeffic and Raphael Coeffic
18e339e65c
Add support for D16/R9 options
...
Allows for selecting receiver channels (1-8 / 9-16) and telemetry usage (on/off).
Resolves #941
2021-11-06 15:58:45 +01:00
Raphael Coeffic and Raphael 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
Raphael Coeffic and Raphael Coeffic
3247b59f5e
Fix some power-up issues
...
Resolves #519
2021-11-01 11:01:32 +01:00
Raphael Coeffic and Raphael Coeffic
aabfc6f6b1
More cleanup
2021-11-01 11:01:32 +01:00
Raphael Coeffic and Raphael Coeffic
5af7b7edc7
Some cleanup
2021-11-01 11:01:32 +01:00
Raphael Coeffic and Raphael Coeffic
b4e8ff3d6b
Fix ADC pin definition (port A)
2021-11-01 11:01:32 +01:00
Raphael Coeffic and Raphael Coeffic
7e34635dd7
NV14: fix attempt for external power mod
...
Use `EXTERNAL_MODULE_OFF()` function rather than defining `EXTERNAL_MODULE_PWR_OFF()` macro in `hal.h`.
2021-11-01 11:01:32 +01:00
Raphael Coeffic
ba6881eb0f
Remove compiler warning about potsPos[idx]
2021-10-31 09:30:21 +01:00
Raphael Coeffic and Peter Feerick
d77ff2f4e9
Do not use FreeRTOS functions as long as the scheduler is not started
...
Otherwise interrupts with a logical priority lower than configLIBRARY_MAX_SYSCALL_INTERRUPT_PRIORITY are masked after the first call to xTaskResumeAll() (after the first critical section is entered, and never released).
2021-10-15 21:40:01 +11:00
Raphael Coeffic and Peter 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 Coeffic and Peter Feerick
c4dd1c78a0
[nv14] Boot issue fixes
...
Fixed:
- delay shortened.
- adjusted priority of IRQs used before FreeRTOS is started.
Resolves #863
2021-10-06 16:45:55 +11:00
Raphael Coeffic and Peter Feerick
eebd10dd9a
Companion Linux: build AppImage
2021-10-06 16:45:32 +11:00
Raphael Coeffic and Risto
155d55dff8
Theme manager: fix paths
2021-10-04 18:51:55 +02:00
Raphael Coeffic and Peter Feerick
ba03d02b7a
Fixes a race condition on proto list class init between UI and mixer task
2021-10-04 21:52:08 +11:00
Raphael Coeffic and Peter Feerick
6684489f01
[colorlcd] make malloc() thread-safe
2021-10-04 21:52:08 +11:00
Raphael Coeffic and Peter Feerick
4258684248
Simu: Adjust RTC according to local time on start
2021-10-01 10:50:39 +10:00
Raphael Coeffic and Raphael Coeffic
bb4eedd073
[bw] set multi binding mode only if multimodule
2021-09-29 19:08:17 +02:00
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 Coeffic and Raphael Coeffic
742336450e
[color] Fix subType editing & set default channel start + range on change
...
Resolves #567
2021-09-27 12:24:44 +02:00
Raphael Coeffic and Raphael 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 Coeffic and Raphael Coeffic
08b3507d18
[MPM] Sanitized static protocol definition pointer checks
2021-09-26 11:07:57 +02:00
Raphael Coeffic and Raphael 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 Coeffic and Peter 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 Coeffic and Raphael Coeffic
366290307a
Fixed commit-tests
2021-09-19 14:08:13 +02:00
Raphael Coeffic and Risto
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 Coeffic and Peter 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 Coeffic and Peter 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