Raphael Coeffic
96b256cbdb
Fix for targets without XPOTS
2021-11-10 11:07:00 +01:00
Raphael Coeffic
4b79cdc795
Fix some b&w target compilation
2021-11-10 11:07:00 +01:00
Raphael Coeffic
f8ab3770e4
Updated generated yaml parser structs
2021-11-10 11:07:00 +01:00
Raphael Coeffic
679c5aef31
Fixed EEPROM tests
2021-11-10 11:07:00 +01:00
Raphael Coeffic
a26a43ee1d
Use specific generated YAML bindings on X7 variants
2021-11-10 11:07:00 +01:00
Raphael Coeffic
8a9154db76
Force disable YAML on X9D-like targets (UI missing)
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
5e0d0131b4
Added EEPROM conversions to YAML
2021-11-10 11:07:00 +01:00
Raphael Coeffic
630e6918ea
Added more B/W targets
2021-11-10 11:07:00 +01:00
Raphael Coeffic
20a1fa38c4
Enable YAML storage by default
2021-11-10 11:07:00 +01:00
Raphael Coeffic
7e110ce4b1
Add empty CURR_MODEL_FILENAME in case SD card storage is not used
2021-11-10 11:07:00 +01:00
Raphael Coeffic
e48762e453
use proper define for KEY_PAGE defined
2021-11-10 11:07:00 +01:00
Raphael Coeffic
faaa5b928a
define away COLORLCD specifics
2021-11-10 11:07:00 +01:00
Raphael Coeffic
82fec817f1
yaml_ use EEPROM_VER = 221
2021-11-10 11:06:59 +01:00
Raphael Coeffic
7da2615d4f
yaml: do not copy '\r' or '\n' into attribute name
2021-11-10 11:06:59 +01:00
Raphael Coeffic
985a8760bb
WiP
2021-11-10 11:06:59 +01:00
Raphael Coeffic
5a367a5221
Bin to Yaml conversions
2021-11-10 11:06:59 +01:00
Raphael Coeffic
6c73b5ba0a
WiP
...
TODO: support conversions from BIN to YAML.
2021-11-10 11:06:59 +01:00
Raphael Coeffic
ce75a1a48d
Compilation fixes after rebase
2021-11-10 11:06:59 +01:00
Raphael Coeffic
72859ad6d1
WiP
2021-11-10 11:06:59 +01:00
Raphael Coeffic
c2f42879a4
Test with X7 family
2021-11-10 11:06:59 +01:00
Raphael Coeffic
fa521fa1da
Updated YAML data structs
2021-11-10 11:06:59 +01:00
Raphael Coeffic
d2ddb2e535
Fix compilation error
2021-11-10 11:06:59 +01:00
Raphael Coeffic
e1736294c8
Use a list attribute name as model category
2021-11-10 11:06:59 +01:00
Raphael Coeffic
9436e171a7
Change ExpoData to custom functions for X12S as well.
2021-11-10 11:06:59 +01:00
Raphael Coeffic
ea483e4dc9
Use custom [r/w]_mixSrcRaw in ExpoData as well.
2021-11-10 11:06:59 +01:00
Raphael Coeffic
cbfff0f168
yaml: switch warning state (de-)serialize
2021-11-10 11:06:59 +01:00
Raphael Coeffic
1ccf6be019
Fixed padding bits
2021-11-10 11:06:59 +01:00
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