Use specific generated YAML bindings on X7 variants

This commit is contained in:
Raphael Coeffic
2021-11-10 11:07:00 +01:00
parent 8a9154db76
commit a26a43ee1d
6 changed files with 3040 additions and 2 deletions
+11 -1
View File
@@ -11,7 +11,17 @@ if(PCB STREQUAL X12S)
elseif(PCB STREQUAL X10)
set(YAML_GEN_OUTPUT storage/yaml/yaml_datastructs_x10.cpp)
elseif(PCB STREQUAL X7)
set(YAML_GEN_OUTPUT storage/yaml/yaml_datastructs_x7.cpp)
if(PCBREV STREQUAL T12)
set(YAML_GEN_OUTPUT storage/yaml/yaml_datastructs_t12.cpp)
elseif(PCBREV STREQUAL TLITE)
set(YAML_GEN_OUTPUT storage/yaml/yaml_datastructs_tlite.cpp)
elseif(PCBREV STREQUAL TX12)
set(YAML_GEN_OUTPUT storage/yaml/yaml_datastructs_tx12.cpp)
elseif(PCBREV STREQUAL T8)
set(YAML_GEN_OUTPUT storage/yaml/yaml_datastructs_t8.cpp)
else()
set(YAML_GEN_OUTPUT storage/yaml/yaml_datastructs_x7.cpp)
endif()
elseif(PCB STREQUAL X9LITE)
set(YAML_GEN_OUTPUT storage/yaml/yaml_datastructs_x9lite.cpp)
elseif(PCB STREQUAL X9LITES)