Raphael Coeffic
fc4cdfd9ae
Implement model backup/restore
2021-11-10 11:07:01 +01:00
Raphael Coeffic
8d04e373b6
WiP storage format conversions
2021-11-10 11:07:01 +01:00
Raphael Coeffic
0503e6fb8e
Some cleanup
2021-11-10 11:07:01 +01:00
Raphael Coeffic
f0dbbf41da
Fix LCD_W defines
2021-11-10 11:07:01 +01:00
Raphael Coeffic
2e4c313f01
Pack the frozen time capsule
2021-11-10 11:07:01 +01:00
Raphael Coeffic
bcc1f55b37
Use full custom to cope with the strange trainer mode defs
2021-11-10 11:07:01 +01:00
Raphael Coeffic
61e837f0b7
Clean up
2021-11-10 11:07:01 +01:00
Raphael Coeffic
69c017091a
More stringified values
2021-11-10 11:07:01 +01:00
Raphael Coeffic
c048b187b4
Set indexes directly rather than incrementing step by step
2021-11-10 11:07:01 +01:00
Raphael Coeffic
d59bbd1020
Fix compiling taranis-like targets
2021-11-10 11:07:00 +01:00
Raphael Coeffic
a8f2212f2c
Added support for lists (without index value)
2021-11-10 11:07:00 +01:00
Raphael Coeffic
77ff579355
Stick names in own config list
2021-11-10 11:07:00 +01:00
Raphael Coeffic
21bf580f9a
Merge switches / pots / sliders names into their config struct
2021-11-10 11:07:00 +01:00
Raphael Coeffic
b5aca8f22e
Fix case with invalid switch, pot & slider idx name in config
2021-11-10 11:07:00 +01:00
Raphael Coeffic
218590b277
Fixed NV14 CMakeLists.txt
2021-11-10 11:07:00 +01:00
Raphael Coeffic
33d6cd95a2
Conversion tests are for EEPROM only
2021-11-10 11:07:00 +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
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