Raphael Coeffic
20961e460b
Use double quotes around switches to avoid escaping with backslash
...
Escaping with backslash arbitrary characters seems to be an issue with most YAML parsers.
2021-12-31 10:52:20 +01:00
Raphael Coeffic
2244e369ed
Add Zorro and T-pro to nightly builds
2021-12-31 09:35:25 +01:00
Raphael Coeffic
81d7768498
Fix arbitrary escaping in quoted strings
2021-12-30 14:21:02 +01:00
Raphael Coeffic
587e64f76a
Fix potential YAML format issue by enclosing "def" value in double quotes
2021-12-30 13:55:06 +01:00
Raphael Coeffic
1fa27e89ac
Fixed output of structs inside arrays without indexes
...
This is the case for curves inside mixes, which would previously prevent outputting all attributes following the `curve` attribute: `delayUp`, `delayDown`, `speedUp`, `speedDown` and `name`.
2021-12-29 15:26:25 +01:00
Raphael Coeffic
b0791e2afa
Reset channels to 16 instead of 24 for ISRM/D16
2021-12-26 17:08:46 +01:00
Raphael Coeffic
e51005af2a
Make sure SD card paths exist before converting from EEPROM
2021-12-24 10:34:23 +01:00
Raphael Coeffic and Raphael Coeffic
6402088349
ARM64 fixes
2021-12-20 11:46:03 +01:00
Raphael Coeffic
4a2b7f8d2d
Added 2.6 branch to actions
2021-12-20 11:32:32 +01:00
Raphael Coeffic
e8deb4e03f
Bump major version
2021-12-20 11:11:26 +01:00
Raphael Coeffic
a4c718f6b7
YAML: remove useless constants
2021-12-18 15:25:52 +01:00
Raphael Coeffic
fb8080392c
YAML: properly output calculated sensors
2021-12-18 12:29:34 +01:00
Raphael Coeffic
6b990574af
Fix switch checks
2021-12-17 17:31:36 +01:00
Raphael Coeffic
715beaff0c
Fixed YAML after rebase
2021-12-17 17:11:59 +01:00
Raphael Coeffic
3052891ee4
Fixed USB name
2021-12-17 17:09:38 +01:00
Raphael Coeffic
7535611e56
Fixed editName()
2021-12-17 17:09:38 +01:00
Raphael Coeffic
c2ecd0e1cf
Add T-pro to build action
2021-12-17 17:09:38 +01:00
Raphael Coeffic
83b676b4dd
Added YAML defs for T-pro
2021-12-17 17:08:49 +01:00
Raphael Coeffic
9cf6d61fa4
Missing include in companion
2021-12-17 17:07:48 +01:00
Raphael Coeffic
dffa1e3bef
Fixed YAML after rebase
2021-12-17 15:35:09 +01:00
Raphael Coeffic
37dd890714
Reverted BOOTCMD pin
2021-12-17 15:17:49 +01:00
Raphael Coeffic
1fb06a7c3a
Do not use DMA based send in passthrough mode
...
The USB buffer could be located and CCM, which does not work with DMA.
2021-12-17 15:17:49 +01:00
Raphael Coeffic
db264a0c29
Fixed radio diagnostic keys (Zorro)
2021-12-17 15:17:49 +01:00
Raphael Coeffic
f93cac3b1d
Make USB serial dependent on USB_SERIAL rather than DEBUG
2021-12-17 15:17:49 +01:00
Raphael Coeffic
8db2f2e185
Disable CPPM and SBUS trainer modes when disabled in HAL
2021-12-17 15:17:49 +01:00
Raphael Coeffic
cd4b782cfe
Prepare intmodule bootpin
2021-12-17 15:17:49 +01:00
Raphael Coeffic
0f970c93c9
Zorro YAML
2021-12-17 15:17:49 +01:00
Raphael Coeffic
479bd9d128
Add Zorro to build targets
2021-12-17 15:17:49 +01:00
Raphael Coeffic and Raphael Coeffic
e854515147
Fix T12 switch definitions
...
The T12 has SG instead of SF.
2021-12-17 12:08:23 +01:00
Raphael Coeffic
7542e75f1a
Fix T8 unit tests
2021-12-17 11:24:05 +01:00
Raphael Coeffic
710677a1f7
Use existing function to generate switch name in YAML switch warning field
2021-12-17 11:02:51 +01:00
Raphael Coeffic
665b9ee4d1
Fixes switch warning evaluation on COLORLCD
2021-12-09 10:38:04 +01:00
Raphael Coeffic
b29771c425
Do not allow 2POS warning to be set in middle position.
2021-12-09 09:51:30 +01:00
Raphael Coeffic
571cae732c
Unify switch warnings
2021-12-09 09:48:28 +01:00
Raphael Coeffic
416084b9e0
Fix unit tests for X7 derivates
2021-12-09 09:20:01 +01:00
Raphael Coeffic
865cf06b0d
Revamped switch state checking
2021-12-09 09:20:01 +01:00
Raphael Coeffic
998af78f19
Remove MENUS_LOCK
2021-12-09 09:11:00 +01:00
Raphael Coeffic and Peter Feerick
b8335b994f
Make list of supported internal module configurable per cmake option
...
Resolves #1159
2021-11-29 09:00:59 +10:00
Raphael Coeffic
eabb20a9ad
Fixed type in SensorSourceChoice
2021-11-28 12:59:38 +01:00
Raphael Coeffic and Peter Feerick
20a24f265e
Add support for FLEX on color targets
2021-11-28 21:03:59 +10:00
Raphael Coeffic and Peter Feerick
dc102f7d03
Remove FLEX options (and make it default)
2021-11-28 21:03:59 +10:00
Raphael Coeffic and Peter Feerick
66932626d5
YaML: escape exclamation marks to avoid issues with compliant parsers
...
and added some support for reading such escaped characters.
2021-11-28 11:31:47 +10:00
Raphael Coeffic
2c845648cf
Fixed trimming spaces in editName() on stdlcd
2021-11-27 14:59:45 +01:00
Raphael Coeffic
482de830b1
X9D: Fixed simu crash when simulated EEPROM is not started.
2021-11-27 14:28:29 +01:00
Raphael Coeffic
453e478de6
Ported trainer output to IRQ driven mode
...
Next period is loaded after CCR2 expires (PPM delay).
Resolves #766
2021-11-27 12:34:01 +01:00
Raphael Coeffic and Raphael Coeffic
da36a56dff
Fix reading second delay for single digit (< 1s)
2021-11-27 08:48:34 +01:00
Raphael Coeffic
521996df4a
Fixed X10 conversion tests
2021-11-26 18:00:50 +01:00
Raphael Coeffic
06c04c852a
Use symbolic indexes for calibration data
...
Resolves #1083
2021-11-26 17:31:57 +01:00
Raphael Coeffic
5d5ceb4d88
Fix SET_TIMER function
...
Resolves #1130
2021-11-26 13:28:40 +01:00
Raphael Coeffic
9a0c65cf04
Fix YAML for all GVAR adjustements custom functions
2021-11-26 08:55:06 +01:00
Raphael Coeffic and Raphael Coeffic
d775e75e81
Patched all conversion tests
2021-11-25 12:10:16 +01:00
Raphael Coeffic and Raphael Coeffic
27c0eaf05d
Use loadRadioSettings() as it is sets the default module in g_eeGeneral
2021-11-25 12:10:16 +01:00
Raphael Coeffic and Raphael Coeffic
718b3ec8ec
Fix compiling PXX2 without external module
2021-11-25 12:10:16 +01:00
Raphael Coeffic and Raphael Coeffic
04afb867a0
Fix CMake for empty PCBREV
2021-11-25 12:10:16 +01:00
Raphael Coeffic and Raphael Coeffic
18401a1cbe
Fix NV14
2021-11-25 12:10:16 +01:00
Raphael Coeffic and Raphael Coeffic
daf8bae8e4
Added support for internal module config in stdlcd UI in radio hardware
2021-11-25 12:10:16 +01:00
Raphael Coeffic and Raphael Coeffic
0c305f4237
X9D+ and QX7 ACCESS cannot support swapped internal modules
2021-11-25 12:10:16 +01:00
Raphael Coeffic and Raphael Coeffic
e440038968
Added support for any supported internal module in 128x64 UI
2021-11-25 12:10:16 +01:00
Raphael Coeffic and Raphael Coeffic
ae552bd6fd
WiP: support internal module as a hardware setting
2021-11-25 12:10:16 +01:00
Raphael Coeffic and Raphael Coeffic
5b1a1c27a9
Make the models list pass YaML linter
2021-11-22 13:23:28 +01:00
Raphael Coeffic and Raphael Coeffic
df4a44274b
Added support for empty spaces within attribute names and double quotes
2021-11-22 13:23:28 +01:00
Raphael Coeffic and Raphael Coeffic
7cccb0e76e
Read model names into models list while converting
2021-11-22 13:23:28 +01:00
Raphael Coeffic and Raphael Coeffic
934f4dadb9
Use double quotes for filename and model names in models list YaML
2021-11-22 13:23:28 +01:00
Raphael Coeffic and Raphael Coeffic
8c688bb6a4
Save models list after changing a model name
...
Resolves #1079
2021-11-22 13:23:28 +01:00
Raphael Coeffic and Raphael Coeffic
9fffb182d7
Added missing "break"
2021-11-22 13:05:11 +01:00
Raphael Coeffic and Raphael Coeffic
fad3ce67a7
Fix attribute comma separation in custom functions
...
Resolves #1122
2021-11-22 13:05:11 +01:00
Raphael Coeffic and Raphael Coeffic
e18e862a88
Move models.yml to its rightful place in case we find it at the old one
2021-11-22 12:52:53 +01:00
Raphael Coeffic and Raphael Coeffic
959f6c18e7
Fall back to /RADIO/models.yml in case /MODELS/models.yml is not present
...
and do not load models.txt unless we are explicitly converting.
2021-11-22 12:52:53 +01:00
Raphael Coeffic and Raphael Coeffic
5290820ada
Move YaML models list to /MODELS
...
Resolves #1073
2021-11-22 12:52:53 +01:00
Raphael Coeffic and Raphael Coeffic
3ffa531fdd
Fix length of Txx string
...
Resolves #1116
2021-11-21 22:34:53 +01:00
Raphael Coeffic and Raphael Coeffic
916651033c
Fixed mixer scheduler timer overflow
...
The max period is now 50ms, so that it overflows the 16bit timer when set to the max period.
Many thanks to @marianomd for finding the issue and the proposed fix!
2021-11-21 21:53:11 +01:00
Raphael Coeffic
ead357c702
Do not output the YAML files in simu without DEBUG_YAML
2021-11-21 15:55:55 +01:00
Raphael Coeffic
cee9b67cc6
Hotfix YAML generator
2021-11-21 11:46:37 +01:00
Raphael Coeffic and Raphael Coeffic
3c43ac6c87
Do not enable INTERNAL_MODULE_CRSF by default
2021-11-21 11:18:35 +01:00
Raphael Coeffic and Raphael Coeffic
5e3c20b258
Push some dirty hack to give internal CRSF a higher prio
...
This allows for BF scripts to run on internal CRSF.
2021-11-21 11:18:35 +01:00
Raphael Coeffic and Raphael Coeffic
9c50255905
Fix pollExtPXX2()
2021-11-21 11:18:35 +01:00
Raphael Coeffic and Raphael Coeffic
5bbc055f3e
Remove debug pins
2021-11-21 11:18:35 +01:00
Raphael Coeffic and Raphael Coeffic
a2b7f88e41
Added command to start/stop the pulses
2021-11-21 11:18:35 +01:00
Raphael Coeffic and Raphael Coeffic
81da0bf587
Added power and bootpin commands (Thx @pkendall64)
2021-11-21 11:18:35 +01:00
Raphael Coeffic and Raphael Coeffic
85ec133ff3
Auto baudrate on serialpassthrough
...
baudrate param becomes optional
2021-11-21 11:18:35 +01:00
Raphael Coeffic and Raphael Coeffic
c5c2829c24
Added baud rate changing on the fly to serial pass through
2021-11-21 11:18:35 +01:00
Raphael Coeffic and Raphael Coeffic
f3301e6210
Added control line and bitrate callbacks
...
And some additional clean-up
2021-11-21 11:18:35 +01:00
Raphael Coeffic and Raphael Coeffic
01059da849
Fixed serial passthrough exit when pulling USB cable
2021-11-21 11:18:35 +01:00
Raphael Coeffic and Raphael Coeffic
aa7b0143bd
Add active polling on UART buffer and bigger USB buffers
2021-11-21 11:18:35 +01:00
Raphael Coeffic and Raphael Coeffic
1fe4876786
Revert ModuleFifo size to original (PXX2_FRAME_MAXLENGTH = 64)
2021-11-21 11:18:35 +01:00
Raphael Coeffic and Raphael Coeffic
729ed91e7b
Add @CapnBry 5.25M
2021-11-21 11:18:35 +01:00
Raphael Coeffic and Raphael Coeffic
96743a9fc4
PoC: connect USB/serial ISR directly to the respective serial send
...
This assumes that USB IRQ has a lower logical prio as the UART IRQ so that it can be pre-empted by the USART ISR.
2021-11-21 11:18:35 +01:00
Raphael Coeffic and Raphael Coeffic
3e390bd582
Cleanup debug pin toggle
2021-11-21 11:18:35 +01:00
Raphael Coeffic and Raphael Coeffic
3fd3077944
Fixed simulator
2021-11-21 11:18:35 +01:00
Raphael Coeffic and Raphael Coeffic
35f8dc2551
Fixed compilation for pulses based internal module
2021-11-21 11:18:35 +01:00
Raphael Coeffic and Raphael Coeffic
d2acdda429
Fixed AUX_SERIAL
2021-11-21 11:18:35 +01:00
Raphael Coeffic and Raphael Coeffic
07c6d3b116
Set CDC_IN_FRAME_INTERVAL to 4 (USB CDC driver)
2021-11-21 11:18:35 +01:00
Raphael Coeffic and Raphael Coeffic
73790c1654
Use FreeRTOS stream buffers and task notifications
2021-11-21 11:18:35 +01:00
Raphael Coeffic and Raphael Coeffic
59f2b5e8b0
Temporary boosting the ModuleFifo to 128 bytes
...
This is to better cope with the CRSF frames that need to contain 64, whereby Fifo has a maximum content length of (N-1).
2021-11-21 11:18:35 +01:00
Raphael Coeffic and Raphael Coeffic
4124d0a950
Quick and dirty: use a memory address actually usable with DMA
2021-11-21 11:18:35 +01:00
Raphael Coeffic and Raphael Coeffic
c95667394c
OMG when is it ending
2021-11-21 11:18:35 +01:00
Raphael Coeffic and Raphael Coeffic
0cef967912
Fix typo
2021-11-21 11:18:35 +01:00
Raphael Coeffic and Raphael Coeffic
496c3861c4
Fix targets with internal module UART without DMA
2021-11-21 11:18:35 +01:00
Raphael Coeffic and Raphael Coeffic
ffd537a28b
Fixed compiling with DEBUG=ON
2021-11-21 11:18:35 +01:00
Raphael Coeffic and Raphael Coeffic
c8a4a80ffd
Serial pass-through
2021-11-21 11:18:35 +01:00