feat: Flysky PL18 Support (#4105)

Co-authored-by: raphaelcoeffic <raphael.coeffic@frafos.com>
Co-authored-by: rotorman <risto.koiva@web.de>
Co-authored-by: Xy201207 <yaoxu@flysky.com>
Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
This commit is contained in:
richardclli
2023-12-06 09:00:44 +10:00
committed by GitHub
co-authored by raphaelcoeffic rotorman Xy201207 Peter Feerick
parent 5153aaeea0
commit cc17046e7a
128 changed files with 9178 additions and 171 deletions
+11 -1
View File
@@ -216,7 +216,7 @@
#if defined(PCBFRSKY)
#define TR_ENTER "[ENTER]"
#elif defined(PCBNV14)
#elif defined(PCBNV14) || defined(PCBPL18)
#define TR_ENTER "[NEXT]"
#else
#define TR_ENTER "[MENU]"
@@ -1032,6 +1032,16 @@
#define TR_BL_SELECT_KEY "[R TRIM] to select file"
#define TR_BL_FLASH_KEY "Hold [R TRIM] long to flash"
#define TR_BL_EXIT_KEY " [L TRIM] to exit"
#elif defined(PCBPL18)
// Bootloader PL18 specific - Ascii only
#define TR_BL_RF_USB_ACCESS "RF USB access"
#define TR_BL_ERASE_INT_FLASH "Erase Internal Flash Storage"
#define TR_BL_ERASE_FLASH "Erase Flash Storage"
#define TR_BL_ERASE_FLASH_MSG "This may take up to 200s"
#define TR_BL_SELECT_KEY " [TR4 Dn] to select file"
#define TR_BL_FLASH_KEY " Hold [TR4 Dn] long to flash"
#define TR_BL_ERASE_KEY " Hold [TR4 Dn] long to erase"
#define TR_BL_EXIT_KEY " [TR4 Up] to exit"
#endif
// About screen
+12 -2
View File
@@ -229,7 +229,7 @@
#if defined(PCBTARANIS) || defined(PCBHORUS)
#define TR_ENTER "[ENTER]"
#elif defined(PCBNV14)
#elif defined(PCBNV14) || defined(PCBPL18)
#define TR_ENTER "[DALŠÍ]"
#else
#define TR_ENTER "[MENU]"
@@ -330,7 +330,7 @@
#define TR_SLOWUP TR3("Zpomalení(+)", "Zpomal(\176)", "Zpomalení(\176)")
#define TR_MIXES "MIXER"
#define TR_CV "K"
#if defined(PCBNV14)
#if defined(PCBNV14) || defined(PCBPL18)
#define TR_GV "GP"
#else
#define TR_GV TR("G", "GP")
@@ -1053,6 +1053,16 @@
#define TR_BL_SELECT_KEY "[R TRIM] pro vybrani souboru"
#define TR_BL_FLASH_KEY "Drzet dlouze [R TRIM] pro nahrani"
#define TR_BL_EXIT_KEY " [L TRIM] pro ukonceni"
#elif defined(PCBPL18)
// Bootloader PL18 specific - Ascii only
#define TR_BL_RF_USB_ACCESS "RF USB access"
#define TR_BL_ERASE_INT_FLASH "Erase Internal Flash Storage"
#define TR_BL_ERASE_FLASH "Erase Flash Storage"
#define TR_BL_ERASE_FLASH_MSG "This may take up to 200s"
#define TR_BL_SELECT_KEY " [TR4 Dn] to select file"
#define TR_BL_FLASH_KEY " Hold [TR4 Dn] long to flash"
#define TR_BL_ERASE_KEY " Hold [TR4 Dn] long to erase"
#define TR_BL_EXIT_KEY " [TR4 Up] to exit"
#endif
// About screen
+10
View File
@@ -1046,6 +1046,16 @@
#define TR_BL_SELECT_KEY "[R TRIM] for at bruge fil"
#define TR_BL_FLASH_KEY "[R TRIM] lang til for at starte"
#define TR_BL_EXIT_KEY "[L TRIM] for at forlade"
#elif defined(PCBPL18)
// Bootloader PL18 specific - Ascii only
#define TR_BL_RF_USB_ACCESS "RF USB access"
#define TR_BL_ERASE_INT_FLASH "Erase Internal Flash Storage"
#define TR_BL_ERASE_FLASH "Erase Flash Storage"
#define TR_BL_ERASE_FLASH_MSG "This may take up to 200s"
#define TR_BL_SELECT_KEY " [TR4 Dn] to select file"
#define TR_BL_FLASH_KEY " Hold [TR4 Dn] long to flash"
#define TR_BL_ERASE_KEY " Hold [TR4 Dn] long to erase"
#define TR_BL_EXIT_KEY " [TR4 Up] to exit"
#endif
// About screen
+12 -2
View File
@@ -220,7 +220,7 @@
#if defined(PCBFRSKY)
#define TR_ENTER "[ENTER]"
#elif defined(PCBNV14)
#elif defined(PCBNV14) || defined(PCBPL18)
#define TR_ENTER "[NEXT]"
#else
#define TR_ENTER "[MENU]"
@@ -321,7 +321,7 @@
#define TR_SLOWUP "Langs.Up"
#define TR_MIXES "MISCHER"
#define TR_CV "KV"
#if defined(PCBNV14)
#if defined(PCBNV14) || defined(PCBPL18)
#define TR_GV "GV"
#else
#define TR_GV TR("G", "GV")
@@ -1034,6 +1034,16 @@
#define TR_BL_SELECT_KEY "[R TRIM] um Datei auszuwählen"
#define TR_BL_FLASH_KEY "Halte [R TRIM] gedrückt, zum schreiben"
#define TR_BL_EXIT_KEY " [L TRIM] zum beenden"
#elif defined(PCBPL18)
// Bootloader PL18 specific - Ascii only
#define TR_BL_RF_USB_ACCESS "RF USB access"
#define TR_BL_ERASE_INT_FLASH "Erase Internal Flash Storage"
#define TR_BL_ERASE_FLASH "Erase Flash Storage"
#define TR_BL_ERASE_FLASH_MSG "This may take up to 200s"
#define TR_BL_SELECT_KEY " [TR4 Dn] to select file"
#define TR_BL_FLASH_KEY " Hold [TR4 Dn] long to flash"
#define TR_BL_ERASE_KEY " Hold [TR4 Dn] long to erase"
#define TR_BL_EXIT_KEY " [TR4 Up] to exit"
#endif
// Taranis Info Zeile Anzeigen
+12 -2
View File
@@ -220,7 +220,7 @@
#if defined(PCBFRSKY)
#define TR_ENTER "[ENTER]"
#elif defined(PCBNV14)
#elif defined(PCBNV14) || defined(PCBPL18)
#define TR_ENTER "[NEXT]"
#else
#define TR_ENTER "[MENU]"
@@ -320,7 +320,7 @@
#define TR_SLOWUP "Slow up"
#define TR_MIXES "MIXES"
#define TR_CV "CV"
#if defined(PCBNV14)
#if defined(PCBNV14) || defined(PCBPL18)
#define TR_GV "GV"
#else
#define TR_GV TR("G", "GV")
@@ -1042,6 +1042,16 @@
#define TR_BL_SELECT_KEY "[R TRIM] to select file"
#define TR_BL_FLASH_KEY "Hold [R TRIM] long to flash"
#define TR_BL_EXIT_KEY " [L TRIM] to exit"
#elif defined(PCBPL18)
// Bootloader PL18 specific - Ascii only
#define TR_BL_RF_USB_ACCESS "RF USB access"
#define TR_BL_ERASE_INT_FLASH "Erase Internal Flash Storage"
#define TR_BL_ERASE_FLASH "Erase Flash Storage"
#define TR_BL_ERASE_FLASH_MSG "This may take up to 200s"
#define TR_BL_SELECT_KEY " [TR4 Dn] to select file"
#define TR_BL_FLASH_KEY " Hold [TR4 Dn] long to flash"
#define TR_BL_ERASE_KEY " Hold [TR4 Dn] long to erase"
#define TR_BL_EXIT_KEY " [TR4 Up] to exit"
#endif
// About screen
+12 -2
View File
@@ -216,7 +216,7 @@
#if defined(PCBTARANIS) || defined(PCBHORUS)
#define TR_ENTER "[ENTER]"
#elif defined(PCBNV14)
#elif defined(PCBNV14) || defined(PCBPL18)
#define TR_ENTER "[NEXT]"
#else
#define TR_ENTER "[MENU]"
@@ -318,7 +318,7 @@
#define TR_SLOWUP "Subir lento"
#define TR_MIXES "MIXES"
#define TR_CV "CV"
#if defined(PCBNV14)
#if defined(PCBNV14) || defined(PCBPL18)
#define TR_GV "GV"
#else
#define TR_GV TR("G", "GV")
@@ -1044,6 +1044,16 @@
#define TR_BL_SELECT_KEY "[R TRIM] to select file"
#define TR_BL_FLASH_KEY "Hold [R TRIM] long to flash"
#define TR_BL_EXIT_KEY " [L TRIM] to exit"
#elif defined(PCBPL18)
// Bootloader PL18 specific - Ascii only
#define TR_BL_RF_USB_ACCESS "RF USB access"
#define TR_BL_ERASE_INT_FLASH "Erase Internal Flash Storage"
#define TR_BL_ERASE_FLASH "Erase Flash Storage"
#define TR_BL_ERASE_FLASH_MSG "This may take up to 200s"
#define TR_BL_SELECT_KEY " [TR4 Dn] to select file"
#define TR_BL_FLASH_KEY " Hold [TR4 Dn] long to flash"
#define TR_BL_ERASE_KEY " Hold [TR4 Dn] long to erase"
#define TR_BL_EXIT_KEY " [TR4 Up] to exit"
#endif
// About screen
+10
View File
@@ -1057,6 +1057,16 @@
#define TR_BL_SELECT_KEY "[R TRIM] to select file"
#define TR_BL_FLASH_KEY "Hold [R TRIM] long to flash"
#define TR_BL_EXIT_KEY " [L TRIM] to exit"
#elif defined(PCBPL18)
// Bootloader PL18 specific - Ascii only
#define TR_BL_RF_USB_ACCESS "RF USB access"
#define TR_BL_ERASE_INT_FLASH "Erase Internal Flash Storage"
#define TR_BL_ERASE_FLASH "Erase Flash Storage"
#define TR_BL_ERASE_FLASH_MSG "This may take up to 200s"
#define TR_BL_SELECT_KEY " [TR4 Dn] to select file"
#define TR_BL_FLASH_KEY " Hold [TR4 Dn] long to flash"
#define TR_BL_ERASE_KEY " Hold [TR4 Dn] long to erase"
#define TR_BL_EXIT_KEY " [TR4 Up] to exit"
#endif
// About screen
+12 -2
View File
@@ -226,7 +226,7 @@
#if defined(PCBFRSKY)
#define TR_ENTER "[ENTER]"
#elif defined(PCBNV14)
#elif defined(PCBNV14) || defined(PCBPL18)
#define TR_ENTER "[SUIVANT]"
#else
#define TR_ENTER "[MENU]"
@@ -327,7 +327,7 @@
#define TR_SLOWUP "Ralenti haut"
#define TR_MIXES "MIXEUR"
#define TR_CV "CV"
#if defined(PCBNV14)
#if defined(PCBNV14) || defined(PCBPL18)
#define TR_GV "VG"
#else
#define TR_GV TR("G", "VG")
@@ -1058,6 +1058,16 @@
#define TR_BL_SELECT_KEY "[R TRIM] pour sélect. fichier"
#define TR_BL_FLASH_KEY "Appui long [R TRIM] pour flasher"
#define TR_BL_EXIT_KEY " [L TRIM] pour quitter"
#elif defined(PCBPL18)
// Bootloader PL18 specific - Ascii only
#define TR_BL_RF_USB_ACCESS "RF USB access"
#define TR_BL_ERASE_INT_FLASH "Erase Internal Flash Storage"
#define TR_BL_ERASE_FLASH "Erase Flash Storage"
#define TR_BL_ERASE_FLASH_MSG "This may take up to 200s"
#define TR_BL_SELECT_KEY " [TR4 Dn] to select file"
#define TR_BL_FLASH_KEY " Hold [TR4 Dn] long to flash"
#define TR_BL_ERASE_KEY " Hold [TR4 Dn] long to erase"
#define TR_BL_EXIT_KEY " [TR4 Up] to exit"
#endif
// About screen
+10
View File
@@ -1050,6 +1050,16 @@
#define TR_BL_SELECT_KEY "[R TRIM] to select file"
#define TR_BL_FLASH_KEY "Hold [R TRIM] long to flash"
#define TR_BL_EXIT_KEY " [L TRIM] ליציאה"
#elif defined(PCBPL18)
// Bootloader PL18 specific - Ascii only
#define TR_BL_RF_USB_ACCESS "RF USB access"
#define TR_BL_ERASE_INT_FLASH "Erase Internal Flash Storage"
#define TR_BL_ERASE_FLASH "Erase Flash Storage"
#define TR_BL_ERASE_FLASH_MSG "This may take up to 200s"
#define TR_BL_SELECT_KEY " [TR4 Dn] to select file"
#define TR_BL_FLASH_KEY " Hold [TR4 Dn] long to flash"
#define TR_BL_ERASE_KEY " Hold [TR4 Dn] long to erase"
#define TR_BL_EXIT_KEY " [TR4 Up] to exit"
#endif
// About screen
+12 -2
View File
@@ -220,7 +220,7 @@
#if defined(PCBFRSKY)
#define TR_ENTER "[ENTER]"
#elif defined(PCBNV14)
#elif defined(PCBNV14) || defined(PCBPL18)
#define TR_ENTER "[NEXT]"
#else
#define TR_ENTER "[MENU]"
@@ -320,7 +320,7 @@
#define TR_SLOWUP "Rall.Su"
#define TR_MIXES "MIXER"
#define TR_CV "CV"
#if defined(PCBNV14)
#if defined(PCBNV14) || defined(PCBPL18)
#define TR_GV "GV"
#else
#define TR_GV TR("G", "GV")
@@ -1041,6 +1041,16 @@
#define TR_BL_SELECT_KEY "[R TRIM] per scegliere il file"
#define TR_BL_FLASH_KEY "Tener premuto [R TRIM] per scrivere"
#define TR_BL_EXIT_KEY " [L TRIM] per uscire"
#elif defined(PCBPL18)
// Bootloader PL18 specific - Ascii only
#define TR_BL_RF_USB_ACCESS "RF USB access"
#define TR_BL_ERASE_INT_FLASH "Erase Internal Flash Storage"
#define TR_BL_ERASE_FLASH "Erase Flash Storage"
#define TR_BL_ERASE_FLASH_MSG "This may take up to 200s"
#define TR_BL_SELECT_KEY " [TR4 Dn] to select file"
#define TR_BL_FLASH_KEY " Hold [TR4 Dn] long to flash"
#define TR_BL_ERASE_KEY " Hold [TR4 Dn] long to erase"
#define TR_BL_EXIT_KEY " [TR4 Up] to exit"
#endif
// About screen
+10
View File
@@ -1037,6 +1037,16 @@
#define TR_BL_SELECT_KEY "[R TRIM] to select file"
#define TR_BL_FLASH_KEY "Hold [R TRIM] long to flash"
#define TR_BL_EXIT_KEY " [L TRIM] to exit"
#elif defined(PCBPL18)
// Bootloader PL18 specific - Ascii only
#define TR_BL_RF_USB_ACCESS "RF USB access"
#define TR_BL_ERASE_INT_FLASH "Erase Internal Flash Storage"
#define TR_BL_ERASE_FLASH "Erase Flash Storage"
#define TR_BL_ERASE_FLASH_MSG "This may take up to 200s"
#define TR_BL_SELECT_KEY " [TR4 Dn] to select file"
#define TR_BL_FLASH_KEY " Hold [TR4 Dn] long to flash"
#define TR_BL_ERASE_KEY " Hold [TR4 Dn] long to erase"
#define TR_BL_EXIT_KEY " [TR4 Up] to exit"
#endif
// About screen
+12 -2
View File
@@ -217,7 +217,7 @@
#if defined(PCBFRSKY)
#define TR_ENTER "[ENTER]"
#elif defined(PCBNV14)
#elif defined(PCBNV14) || defined(PCBPL18)
#define TR_ENTER "[NEXT]"
#else
#define TR_ENTER "[MENU]"
@@ -317,7 +317,7 @@
#define TR_SLOWUP "Langz.Up"
#define TR_MIXES "MIXER"
#define TR_CV "CV"
#if defined(PCBNV14)
#if defined(PCBNV14) || defined(PCBPL18)
#define TR_GV "GV"
#else
#define TR_GV TR("G", "GV")
@@ -1049,6 +1049,16 @@
#define TR_BL_SELECT_KEY "[R TRIM] to select file"
#define TR_BL_FLASH_KEY "Hold [R TRIM] long to flash"
#define TR_BL_EXIT_KEY " [L TRIM] to exit"
#elif defined(PCBPL18)
// Bootloader PL18 specific - Ascii only
#define TR_BL_RF_USB_ACCESS "RF USB access"
#define TR_BL_ERASE_INT_FLASH "Erase Internal Flash Storage"
#define TR_BL_ERASE_FLASH "Erase Flash Storage"
#define TR_BL_ERASE_FLASH_MSG "This may take up to 200s"
#define TR_BL_SELECT_KEY " [TR4 Dn] to select file"
#define TR_BL_FLASH_KEY " Hold [TR4 Dn] long to flash"
#define TR_BL_ERASE_KEY " Hold [TR4 Dn] long to erase"
#define TR_BL_EXIT_KEY " [TR4 Up] to exit"
#endif
// About screen
+12 -2
View File
@@ -216,7 +216,7 @@
#if defined(PCBTARANIS) || defined(PCBHORUS)
#define TR_ENTER "[ENTER]"
#elif defined(PCBNV14)
#elif defined(PCBNV14) || defined(PCBPL18)
#define TR_ENTER "[NEXT]"
#else
#define TR_ENTER "[MENU]"
@@ -318,7 +318,7 @@
#define TR_SLOWUP "Spowoln.(+)"
#define TR_MIXES "MIKSERY"
#define TR_CV "Kr"
#if defined(PCBNV14)
#if defined(PCBNV14) || defined(PCBPL18)
#define TR_GV "ZG"
#else
#define TR_GV TR("G", "ZG")
@@ -1039,6 +1039,16 @@
#define TR_BL_SELECT_KEY "[R TRIM] aby wybrac plik"
#define TR_BL_FLASH_KEY "Przytrzymaj [R TRIM] aby flashowac"
#define TR_BL_EXIT_KEY " [L TRIM] aby wyjsc"
#elif defined(PCBPL18)
// Bootloader PL18 specific - Ascii only
#define TR_BL_RF_USB_ACCESS "RF USB access"
#define TR_BL_ERASE_INT_FLASH "Erase Internal Flash Storage"
#define TR_BL_ERASE_FLASH "Erase Flash Storage"
#define TR_BL_ERASE_FLASH_MSG "This may take up to 200s"
#define TR_BL_SELECT_KEY " [TR4 Dn] to select file"
#define TR_BL_FLASH_KEY " Hold [TR4 Dn] long to flash"
#define TR_BL_ERASE_KEY " Hold [TR4 Dn] long to erase"
#define TR_BL_EXIT_KEY " [TR4 Up] to exit"
#endif
// About screen
+12 -2
View File
@@ -223,7 +223,7 @@
#if defined(PCBFRSKY)
#define TR_ENTER "[ENTER]"
#elif defined(PCBNV14)
#elif defined(PCBNV14) || defined(PCBPL18)
#define TR_ENTER "[NEXT]"
#else
#define TR_ENTER "[MENU]"
@@ -323,7 +323,7 @@
#define TR_SLOWUP "Slow up"
#define TR_MIXES "MIXES"
#define TR_CV "CV"
#if defined(PCBNV14)
#if defined(PCBNV14) || defined(PCBPL18)
#define TR_GV "GV"
#else
#define TR_GV TR("G", "GV")
@@ -1045,6 +1045,16 @@
#define TR_BL_SELECT_KEY "[R TRIM] to select file"
#define TR_BL_FLASH_KEY "Hold [R TRIM] long to flash"
#define TR_BL_EXIT_KEY " [L TRIM] to exit"
#elif defined(PCBPL18)
// Bootloader PL18 specific - Ascii only
#define TR_BL_RF_USB_ACCESS "RF USB access"
#define TR_BL_ERASE_INT_FLASH "Erase Internal Flash Storage"
#define TR_BL_ERASE_FLASH "Erase Flash Storage"
#define TR_BL_ERASE_FLASH_MSG "This may take up to 200s"
#define TR_BL_SELECT_KEY " [TR4 Dn] to select file"
#define TR_BL_FLASH_KEY " Hold [TR4 Dn] long to flash"
#define TR_BL_ERASE_KEY " Hold [TR4 Dn] long to erase"
#define TR_BL_EXIT_KEY " [TR4 Up] to exit"
#endif
// About screen
+10
View File
@@ -1044,6 +1044,16 @@
#define TR_BL_SELECT_KEY "[П ТРИМ] для выбора файла"
#define TR_BL_FLASH_KEY "Удерживайте [П ТРИМ] для прошивки"
#define TR_BL_EXIT_KEY "[Л ТРИМ] для выхода"
#elif defined(PCBPL18)
// Bootloader PL18 specific - Ascii only
#define TR_BL_RF_USB_ACCESS "RF USB access"
#define TR_BL_ERASE_INT_FLASH "Erase Internal Flash Storage"
#define TR_BL_ERASE_FLASH "Erase Flash Storage"
#define TR_BL_ERASE_FLASH_MSG "This may take up to 200s"
#define TR_BL_SELECT_KEY " [TR4 Dn] to select file"
#define TR_BL_FLASH_KEY " Hold [TR4 Dn] long to flash"
#define TR_BL_ERASE_KEY " Hold [TR4 Dn] long to erase"
#define TR_BL_EXIT_KEY " [TR4 Up] to exit"
#endif
// About screen
+10
View File
@@ -1071,6 +1071,16 @@
#define TR_BL_SELECT_KEY "[R TRIM] foer att vaelja fil"
#define TR_BL_FLASH_KEY "Tryck [R TRIM] foer att flasha"
#define TR_BL_EXIT_KEY " [L TRIM] för att avsluta"
#elif defined(PCBPL18)
// Bootloader PL18 specific - Ascii only
#define TR_BL_RF_USB_ACCESS "RF USB access"
#define TR_BL_ERASE_INT_FLASH "Erase Internal Flash Storage"
#define TR_BL_ERASE_FLASH "Erase Flash Storage"
#define TR_BL_ERASE_FLASH_MSG "This may take up to 200s"
#define TR_BL_SELECT_KEY " [TR4 Dn] to select file"
#define TR_BL_FLASH_KEY " Hold [TR4 Dn] long to flash"
#define TR_BL_ERASE_KEY " Hold [TR4 Dn] long to erase"
#define TR_BL_EXIT_KEY " [TR4 Up] to exit"
#endif
// About screen
+10
View File
@@ -1037,6 +1037,16 @@
#define TR_BL_SELECT_KEY "[R TRIM] to select file"
#define TR_BL_FLASH_KEY "Hold [R TRIM] long to flash"
#define TR_BL_EXIT_KEY " [L TRIM] to exit"
#elif defined(PCBPL18)
// Bootloader PL18 specific - Ascii only
#define TR_BL_RF_USB_ACCESS "RF USB access"
#define TR_BL_ERASE_INT_FLASH "Erase Internal Flash Storage"
#define TR_BL_ERASE_FLASH "Erase Flash Storage"
#define TR_BL_ERASE_FLASH_MSG "This may take up to 200s"
#define TR_BL_SELECT_KEY " [TR4 Dn] to select file"
#define TR_BL_FLASH_KEY " Hold [TR4 Dn] long to flash"
#define TR_BL_ERASE_KEY " Hold [TR4 Dn] long to erase"
#define TR_BL_EXIT_KEY " [TR4 Up] to exit"
#endif
// About screen