feat(v12): support for HelloRadioSky V12 (#7114)

Co-authored-by: Peter Feerick <5500713+pfeerick@users.noreply.github.com>
Co-authored-by: radiosky <839034809@qq.com>
Co-authored-by: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
richardclli
2026-08-05 14:57:46 +10:00
committed by GitHub
co-authored by Peter Feerick radiosky Claude Sonnet 5
parent 256dc98917
commit 866ee0a92e
93 changed files with 4582 additions and 406 deletions
+2
View File
@@ -34,6 +34,8 @@ elseif(PCB STREQUAL PL18)
endif()
elseif(PCB STREQUAL T15PRO)
set(YAML_GEN_OUTPUT storage/yaml/yaml_datastructs_t15pro.cpp)
elseif(PCB STREQUAL V12)
set(YAML_GEN_OUTPUT storage/yaml/yaml_datastructs_v12.cpp)
elseif(PCB STREQUAL T22)
set(YAML_GEN_OUTPUT storage/yaml/yaml_datastructs_t22.cpp)
elseif(PCB STREQUAL ST16)
@@ -42,6 +42,8 @@
#include "yaml_datastructs_t15pro.cpp"
#elif defined(PCBTX16SMK3)
#include "yaml_datastructs_tx16smk3.cpp"
#elif defined(PCBV12)
#include "yaml_datastructs_v12.cpp"
#elif defined(RADIO_T22)
#include "yaml_datastructs_t22.cpp"
#elif defined(PCBPL18)
@@ -581,7 +581,7 @@ static const struct YamlNode struct_anonymous_6[] = {
YAML_PADDING( 2 ),
YAML_UNSIGNED( "receiverTelemetryOff", 1 ),
YAML_UNSIGNED( "receiverHigherChannels", 1 ),
YAML_SIGNED( "antennaMode", 2 ),
YAML_PADDING( 2 ),
YAML_PADDING( 8 ),
YAML_END
};
@@ -657,7 +657,7 @@ static const struct YamlNode struct_anonymous_6[] = {
YAML_PADDING( 2 ),
YAML_UNSIGNED( "receiverTelemetryOff", 1 ),
YAML_UNSIGNED( "receiverHigherChannels", 1 ),
YAML_SIGNED( "antennaMode", 2 ),
YAML_PADDING( 2 ),
YAML_PADDING( 8 ),
YAML_END
};
@@ -658,7 +658,7 @@ static const struct YamlNode struct_anonymous_6[] = {
YAML_PADDING( 2 ),
YAML_UNSIGNED( "receiverTelemetryOff", 1 ),
YAML_UNSIGNED( "receiverHigherChannels", 1 ),
YAML_SIGNED( "antennaMode", 2 ),
YAML_PADDING( 2 ),
YAML_PADDING( 8 ),
YAML_END
};
@@ -605,7 +605,7 @@ static const struct YamlNode struct_anonymous_6[] = {
YAML_PADDING( 2 ),
YAML_UNSIGNED( "receiverTelemetryOff", 1 ),
YAML_UNSIGNED( "receiverHigherChannels", 1 ),
YAML_SIGNED( "antennaMode", 2 ),
YAML_PADDING( 2 ),
YAML_PADDING( 8 ),
YAML_END
};
@@ -648,7 +648,7 @@ static const struct YamlNode struct_anonymous_6[] = {
YAML_PADDING( 2 ),
YAML_UNSIGNED( "receiverTelemetryOff", 1 ),
YAML_UNSIGNED( "receiverHigherChannels", 1 ),
YAML_SIGNED( "antennaMode", 2 ),
YAML_PADDING( 2 ),
YAML_PADDING( 8 ),
YAML_END
};
@@ -655,7 +655,7 @@ static const struct YamlNode struct_anonymous_6[] = {
YAML_PADDING( 2 ),
YAML_UNSIGNED( "receiverTelemetryOff", 1 ),
YAML_UNSIGNED( "receiverHigherChannels", 1 ),
YAML_SIGNED( "antennaMode", 2 ),
YAML_PADDING( 2 ),
YAML_PADDING( 8 ),
YAML_END
};
@@ -681,7 +681,7 @@ static const struct YamlNode struct_anonymous_6[] = {
YAML_PADDING( 2 ),
YAML_UNSIGNED( "receiverTelemetryOff", 1 ),
YAML_UNSIGNED( "receiverHigherChannels", 1 ),
YAML_SIGNED( "antennaMode", 2 ),
YAML_PADDING( 2 ),
YAML_PADDING( 8 ),
YAML_END
};
@@ -655,7 +655,7 @@ static const struct YamlNode struct_anonymous_6[] = {
YAML_PADDING( 2 ),
YAML_UNSIGNED( "receiverTelemetryOff", 1 ),
YAML_UNSIGNED( "receiverHigherChannels", 1 ),
YAML_SIGNED( "antennaMode", 2 ),
YAML_PADDING( 2 ),
YAML_PADDING( 8 ),
YAML_END
};
@@ -648,7 +648,7 @@ static const struct YamlNode struct_anonymous_6[] = {
YAML_PADDING( 2 ),
YAML_UNSIGNED( "receiverTelemetryOff", 1 ),
YAML_UNSIGNED( "receiverHigherChannels", 1 ),
YAML_SIGNED( "antennaMode", 2 ),
YAML_PADDING( 2 ),
YAML_PADDING( 8 ),
YAML_END
};
@@ -681,7 +681,7 @@ static const struct YamlNode struct_anonymous_6[] = {
YAML_PADDING( 2 ),
YAML_UNSIGNED( "receiverTelemetryOff", 1 ),
YAML_UNSIGNED( "receiverHigherChannels", 1 ),
YAML_SIGNED( "antennaMode", 2 ),
YAML_PADDING( 2 ),
YAML_PADDING( 8 ),
YAML_END
};
@@ -666,7 +666,7 @@ static const struct YamlNode struct_anonymous_6[] = {
YAML_PADDING( 2 ),
YAML_UNSIGNED( "receiverTelemetryOff", 1 ),
YAML_UNSIGNED( "receiverHigherChannels", 1 ),
YAML_SIGNED( "antennaMode", 2 ),
YAML_PADDING( 2 ),
YAML_PADDING( 8 ),
YAML_END
};
@@ -681,7 +681,7 @@ static const struct YamlNode struct_anonymous_6[] = {
YAML_PADDING( 2 ),
YAML_UNSIGNED( "receiverTelemetryOff", 1 ),
YAML_UNSIGNED( "receiverHigherChannels", 1 ),
YAML_SIGNED( "antennaMode", 2 ),
YAML_PADDING( 2 ),
YAML_PADDING( 8 ),
YAML_END
};
@@ -590,7 +590,7 @@ static const struct YamlNode struct_anonymous_6[] = {
YAML_PADDING( 2 ),
YAML_UNSIGNED( "receiverTelemetryOff", 1 ),
YAML_UNSIGNED( "receiverHigherChannels", 1 ),
YAML_SIGNED( "antennaMode", 2 ),
YAML_PADDING( 2 ),
YAML_PADDING( 8 ),
YAML_END
};
@@ -681,7 +681,7 @@ static const struct YamlNode struct_anonymous_6[] = {
YAML_PADDING( 2 ),
YAML_UNSIGNED( "receiverTelemetryOff", 1 ),
YAML_UNSIGNED( "receiverHigherChannels", 1 ),
YAML_SIGNED( "antennaMode", 2 ),
YAML_PADDING( 2 ),
YAML_PADDING( 8 ),
YAML_END
};
@@ -590,7 +590,7 @@ static const struct YamlNode struct_anonymous_6[] = {
YAML_PADDING( 2 ),
YAML_UNSIGNED( "receiverTelemetryOff", 1 ),
YAML_UNSIGNED( "receiverHigherChannels", 1 ),
YAML_SIGNED( "antennaMode", 2 ),
YAML_PADDING( 2 ),
YAML_PADDING( 8 ),
YAML_END
};
@@ -681,7 +681,7 @@ static const struct YamlNode struct_anonymous_6[] = {
YAML_PADDING( 2 ),
YAML_UNSIGNED( "receiverTelemetryOff", 1 ),
YAML_UNSIGNED( "receiverHigherChannels", 1 ),
YAML_SIGNED( "antennaMode", 2 ),
YAML_PADDING( 2 ),
YAML_PADDING( 8 ),
YAML_END
};
@@ -682,7 +682,7 @@ static const struct YamlNode struct_anonymous_6[] = {
YAML_PADDING( 2 ),
YAML_UNSIGNED( "receiverTelemetryOff", 1 ),
YAML_UNSIGNED( "receiverHigherChannels", 1 ),
YAML_SIGNED( "antennaMode", 2 ),
YAML_PADDING( 2 ),
YAML_PADDING( 8 ),
YAML_END
};
File diff suppressed because it is too large Load Diff
@@ -657,7 +657,7 @@ static const struct YamlNode struct_anonymous_6[] = {
YAML_PADDING( 2 ),
YAML_UNSIGNED( "receiverTelemetryOff", 1 ),
YAML_UNSIGNED( "receiverHigherChannels", 1 ),
YAML_SIGNED( "antennaMode", 2 ),
YAML_PADDING( 2 ),
YAML_PADDING( 8 ),
YAML_END
};
@@ -735,7 +735,8 @@ static const struct YamlNode struct_ModuleData[] = {
YAML_UNSIGNED( "channelsStart", 8 ),
YAML_SIGNED_CUST( "channelsCount", 8, r_channelsCount, w_channelsCount ),
YAML_ENUM("failsafeMode", 4, enum_FailsafeModes, NULL),
YAML_PADDING( 4 ),
YAML_PADDING( 2 ),
YAML_ENUM("antennaMode", 2, enum_AntennaModes, NULL),
YAML_UNION("mod", 200, union_anonymous_4_elmts, select_mod_type),
YAML_END
};
@@ -581,7 +581,7 @@ static const struct YamlNode struct_anonymous_6[] = {
YAML_PADDING( 2 ),
YAML_UNSIGNED( "receiverTelemetryOff", 1 ),
YAML_UNSIGNED( "receiverHigherChannels", 1 ),
YAML_SIGNED( "antennaMode", 2 ),
YAML_PADDING( 2 ),
YAML_PADDING( 8 ),
YAML_END
};
@@ -581,7 +581,7 @@ static const struct YamlNode struct_anonymous_6[] = {
YAML_PADDING( 2 ),
YAML_UNSIGNED( "receiverTelemetryOff", 1 ),
YAML_UNSIGNED( "receiverHigherChannels", 1 ),
YAML_SIGNED( "antennaMode", 2 ),
YAML_PADDING( 2 ),
YAML_PADDING( 8 ),
YAML_END
};
@@ -581,7 +581,7 @@ static const struct YamlNode struct_anonymous_6[] = {
YAML_PADDING( 2 ),
YAML_UNSIGNED( "receiverTelemetryOff", 1 ),
YAML_UNSIGNED( "receiverHigherChannels", 1 ),
YAML_SIGNED( "antennaMode", 2 ),
YAML_PADDING( 2 ),
YAML_PADDING( 8 ),
YAML_END
};
@@ -581,7 +581,7 @@ static const struct YamlNode struct_anonymous_6[] = {
YAML_PADDING( 2 ),
YAML_UNSIGNED( "receiverTelemetryOff", 1 ),
YAML_UNSIGNED( "receiverHigherChannels", 1 ),
YAML_SIGNED( "antennaMode", 2 ),
YAML_PADDING( 2 ),
YAML_PADDING( 8 ),
YAML_END
};
@@ -659,7 +659,8 @@ static const struct YamlNode struct_ModuleData[] = {
YAML_UNSIGNED( "channelsStart", 8 ),
YAML_SIGNED_CUST( "channelsCount", 8, r_channelsCount, w_channelsCount ),
YAML_ENUM("failsafeMode", 4, enum_FailsafeModes, NULL),
YAML_PADDING( 4 ),
YAML_PADDING( 2 ),
YAML_ENUM("antennaMode", 2, enum_AntennaModes, NULL),
YAML_UNION("mod", 200, union_anonymous_4_elmts, select_mod_type),
YAML_END
};
@@ -586,7 +586,7 @@ static const struct YamlNode struct_anonymous_6[] = {
YAML_PADDING( 2 ),
YAML_UNSIGNED( "receiverTelemetryOff", 1 ),
YAML_UNSIGNED( "receiverHigherChannels", 1 ),
YAML_SIGNED( "antennaMode", 2 ),
YAML_PADDING( 2 ),
YAML_PADDING( 8 ),
YAML_END
};
@@ -664,7 +664,8 @@ static const struct YamlNode struct_ModuleData[] = {
YAML_UNSIGNED( "channelsStart", 8 ),
YAML_SIGNED_CUST( "channelsCount", 8, r_channelsCount, w_channelsCount ),
YAML_ENUM("failsafeMode", 4, enum_FailsafeModes, NULL),
YAML_PADDING( 4 ),
YAML_PADDING( 2 ),
YAML_ENUM("antennaMode", 2, enum_AntennaModes, NULL),
YAML_UNION("mod", 200, union_anonymous_4_elmts, select_mod_type),
YAML_END
};