feat: Add support for Radiomaster MT12 (#4277)

Co-authored-by: 3djc <lesitewebdejc@hotmail.com>
Co-authored-by: raphaelcoeffic <1050031+raphaelcoeffic@users.noreply.github.com>
Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
This commit is contained in:
Raphael Coeffic
2023-11-04 18:18:17 +10:00
committed by GitHub
co-authored by 3djc raphaelcoeffic Peter Feerick
parent cd89e06194
commit ca5355e0c7
22 changed files with 300 additions and 47 deletions
+15
View File
@@ -149,6 +149,21 @@ def main():
cmake_options["PCBREV"] = "ZORRO"
firmware_options = options_radiomaster_zorro
maxsize = 65536 * 8
elif board_name == "boxer":
cmake_options["PCB"] = "X7"
cmake_options["PCBREV"] = "BOXER"
firmware_options = options_radiomaster_boxer
maxsize = 65536 * 8 * 2
elif board_name == "pocket":
cmake_options["PCB"] = "X7"
cmake_options["PCBREV"] = "POCKET"
firmware_options = options_radiomaster_pocket
maxsize = 65536 * 8
elif board_name == "mt12":
cmake_options["PCB"] = "X7"
cmake_options["PCBREV"] = "MT12"
firmware_options = options_radiomaster_mt12
maxsize = 65536 * 8 * 2
elif board_name == "t8":
cmake_options["PCB"] = "X7"
cmake_options["PCBREV"] = "T8"