feat: bootloader support for SPI NOR flash storage (#4549)

This commit is contained in:
richardclli
2024-07-03 10:49:10 +10:00
committed by GitHub
parent 99d0c673b4
commit 39a7fcc82a
23 changed files with 207 additions and 93 deletions
+4
View File
@@ -39,7 +39,11 @@
#define BLOCK_SIZE FF_MAX_SS #define BLOCK_SIZE FF_MAX_SS
#if defined(SPI_FLASH)
#define SDCARD_MIN_FREE_SPACE_MB 2 // Maintain 2MB free space buffer to prevent crashes
#else
#define SDCARD_MIN_FREE_SPACE_MB 50 // Maintain a 50MB free space buffer to prevent crashes #define SDCARD_MIN_FREE_SPACE_MB 50 // Maintain a 50MB free space buffer to prevent crashes
#endif
const char * sdCheckAndCreateDirectory(const char * path) const char * sdCheckAndCreateDirectory(const char * path)
{ {
@@ -511,11 +511,11 @@ int bootloaderMain()
#if defined(SPI_FLASH) #if defined(SPI_FLASH)
} else if (state == ST_CLEAR_FLASH_CHECK) { } else if (state == ST_CLEAR_FLASH_CHECK) {
bootloaderDrawScreen(state, vpos); bootloaderDrawScreen(state, vpos);
if (event == EVT_KEY_REPT(KEY_DOWN) || event == EVT_KEY_FIRST(KEY_DOWN)) { if (IS_NEXT_EVENT(event)) {
if (vpos < SEL_CLEAR_FLASH_STORAGE_MENU_LEN - 1) { vpos++; } if (vpos < SEL_CLEAR_FLASH_STORAGE_MENU_LEN - 1) { vpos++; }
continue; continue;
} }
if (event == EVT_KEY_REPT(KEY_UP) || event == EVT_KEY_FIRST(KEY_UP)) { if (IS_PREVIOUS_EVENT(event)) {
if (vpos > 0) { vpos--; } if (vpos > 0) { vpos--; }
continue; continue;
} }
@@ -531,8 +531,6 @@ int bootloaderMain()
} else if (state == ST_CLEAR_FLASH) { } else if (state == ST_CLEAR_FLASH) {
bootloaderDrawScreen(state, 0); bootloaderDrawScreen(state, 0);
lcdRefresh(); lcdRefresh();
if(event != EVT_KEY_BREAK(KEY_ENTER))
continue;
sdDone(); sdDone();
spiFlashDiskEraseAll(); spiFlashDiskEraseAll();
sdInit(); sdInit();
+4
View File
@@ -100,6 +100,10 @@ if (PCB STREQUAL X10)
set(FLAVOUR tx16s) set(FLAVOUR tx16s)
add_definitions(-DRADIO_TX16S) add_definitions(-DRADIO_TX16S)
add_definitions(-DRADIO_FAMILY_T16) add_definitions(-DRADIO_FAMILY_T16)
# Uncomment the line below to enable bootloader support for SPI flash
# add_definitions(-DSPI_FLASH)
set(DEFAULT_INTERNAL_MODULE MULTIMODULE CACHE STRING "Default internal module") set(DEFAULT_INTERNAL_MODULE MULTIMODULE CACHE STRING "Default internal module")
option(BLUETOOTH "Support for bluetooth module" OFF) option(BLUETOOTH "Support for bluetooth module" OFF)
option(INTERNAL_GPS "Support for internal GPS" ON) option(INTERNAL_GPS "Support for internal GPS" ON)
@@ -88,11 +88,20 @@ void bootloaderDrawScreen(BootloaderState st, int opt, const char* str)
coord_t pos = lcd->drawText(124, 75, TR_BL_WRITE_FW, BL_FOREGROUND); coord_t pos = lcd->drawText(124, 75, TR_BL_WRITE_FW, BL_FOREGROUND);
pos += 8; pos += 8;
#if defined(SPI_FLASH)
lcd->drawText(102, 110, LV_SYMBOL_SD_CARD, BL_FOREGROUND);
pos = lcd->drawText(124, 110, TR_BL_ERASE_FLASH, BL_FOREGROUND);
pos += 8;
lcd->drawText(100, 145, LV_SYMBOL_NEW_LINE, BL_FOREGROUND);
lcd->drawText(124, 145, TR_BL_EXIT, BL_FOREGROUND);
#else
lcd->drawText(100, 110, LV_SYMBOL_NEW_LINE, BL_FOREGROUND); lcd->drawText(100, 110, LV_SYMBOL_NEW_LINE, BL_FOREGROUND);
lcd->drawText(124, 110, TR_BL_EXIT, BL_FOREGROUND); lcd->drawText(124, 110, TR_BL_EXIT, BL_FOREGROUND);
#endif
pos -= 92; pos -= 92;
lcd->drawSolidRect(92, (opt == 0) ? 72 : 107, pos, 26, 2, BL_SELECTED); lcd->drawSolidRect(92, 72 + (opt * 35), pos, 26, 2, BL_SELECTED);
lcd->drawBitmap(60, LCD_H - 106, (const BitmapBuffer*)&BMP_PLUG_USB); lcd->drawBitmap(60, LCD_H - 106, (const BitmapBuffer*)&BMP_PLUG_USB);
lcd->drawText(195, LCD_H - 97, TR_BL_USB_PLUGIN, BL_FOREGROUND); lcd->drawText(195, LCD_H - 97, TR_BL_USB_PLUGIN, BL_FOREGROUND);
@@ -101,6 +110,34 @@ void bootloaderDrawScreen(BootloaderState st, int opt, const char* str)
bootloaderDrawFooter(); bootloaderDrawFooter();
lcd->drawText(LCD_W / 2, LCD_H - 30, getFirmwareVersion(), CENTERED | BL_FOREGROUND); lcd->drawText(LCD_W / 2, LCD_H - 30, getFirmwareVersion(), CENTERED | BL_FOREGROUND);
} }
#if defined(SPI_FLASH)
else if (st == ST_CLEAR_FLASH_CHECK) {
bootloaderDrawTitle(88, TR_BL_ERASE_INT_FLASH);
lcd->drawText(102, 75, LV_SYMBOL_SD_CARD, BL_FOREGROUND);
coord_t pos = lcd->drawText(124, 75, TR_BL_ERASE_FLASH, BL_FOREGROUND);
pos += 8;
lcd->drawText(100, 110, LV_SYMBOL_NEW_LINE, BL_FOREGROUND);
lcd->drawText(124, 110, TR_BL_EXIT, BL_FOREGROUND);
pos -= 92;
lcd->drawSolidRect(92, 72 + (opt * 35), pos, 26, 2, BL_SELECTED);
bootloaderDrawFooter();
lcd->drawText(56, 244,
LV_SYMBOL_SD_CARD TR_BL_ERASE_KEY, BL_FOREGROUND);
lcd->drawText(305, 244,
LV_SYMBOL_NEW_LINE TR_BL_EXIT_KEY, BL_FOREGROUND);
}
else if (st == ST_CLEAR_FLASH) {
bootloaderDrawTitle(88, TR_BL_ERASE_INT_FLASH);
lcd->drawText(LCD_W / 2, 75, TR_BL_ERASE_FLASH_MSG, CENTERED | BL_FOREGROUND);
bootloaderDrawFooter();
}
#endif
else if (st == ST_USB) { else if (st == ST_USB) {
coord_t y = (LCD_H - BMP_USB_PLUGGED.height()) / 2; coord_t y = (LCD_H - BMP_USB_PLUGGED.height()) / 2;
lcd->drawBitmap(136, y, (const BitmapBuffer*)&BMP_USB_PLUGGED); lcd->drawBitmap(136, y, (const BitmapBuffer*)&BMP_USB_PLUGGED);
+4 -1
View File
@@ -726,7 +726,10 @@
#define SD_SDIO_CLK_DIV(fq) ((48000000 / (fq)) - 2) #define SD_SDIO_CLK_DIV(fq) ((48000000 / (fq)) - 2)
#define SD_SDIO_INIT_CLK_DIV SD_SDIO_CLK_DIV(400000) #define SD_SDIO_INIT_CLK_DIV SD_SDIO_CLK_DIV(400000)
#define SD_SDIO_TRANSFER_CLK_DIV SD_SDIO_CLK_DIV(24000000) #define SD_SDIO_TRANSFER_CLK_DIV SD_SDIO_CLK_DIV(24000000)
#define STORAGE_USE_SDIO
// Uncomment only one line below to select which storage to use
#define STORAGE_USE_SDIO // Use SD card for storage with SDIO driver
//#define STORAGE_USE_SPI_FLASH // Use SPI flash for storage instead of SD card
// SPI NOR Flash // SPI NOR Flash
#if defined(PCBX12S) && PCBREV >= 13 #if defined(PCBX12S) && PCBREV >= 13
+9 -5
View File
@@ -1019,7 +1019,7 @@
#define TR_WIDGET_VALUE "数值" #define TR_WIDGET_VALUE "数值"
#endif #endif
// Bootloader common - Ascii only // Bootloader common - ASCII characters only
#define TR_BL_USB_CONNECTED "USB Connected" #define TR_BL_USB_CONNECTED "USB Connected"
#define TR_BL_USB_PLUGIN "Or plug in a USB cable" #define TR_BL_USB_PLUGIN "Or plug in a USB cable"
#define TR_BL_USB_MASS_STORE "for mass storage" #define TR_BL_USB_MASS_STORE "for mass storage"
@@ -1051,26 +1051,30 @@
#endif #endif
#if defined(PCBTARANIS) #if defined(PCBTARANIS)
// Bootloader Taranis specific - Ascii only // Bootloader Taranis specific - ASCII characters only
#define TR_BL_RESTORE_EEPROM "Restore EEPROM" #define TR_BL_RESTORE_EEPROM "Restore EEPROM"
#if defined(RADIO_COMMANDO8) #if defined(RADIO_COMMANDO8)
#define TR_BL_POWER_KEY "Press the power button." #define TR_BL_POWER_KEY "Press the power button."
#define TR_BL_FLASH_EXIT "Exit the flashing mode." #define TR_BL_FLASH_EXIT "Exit the flashing mode."
#endif #endif
#elif defined(PCBHORUS) #elif defined(PCBHORUS)
// Bootloader Horus specific - Ascii only // Bootloader Horus specific - ASCII characters only
#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 "[ENT] to select file" #define TR_BL_SELECT_KEY "[ENT] to select file"
#define TR_BL_FLASH_KEY "Hold [ENT] long to flash" #define TR_BL_FLASH_KEY "Hold [ENT] long to flash"
#define TR_BL_ERASE_KEY "Hold [ENT] long to erase"
#define TR_BL_EXIT_KEY "[RTN] to exit" #define TR_BL_EXIT_KEY "[RTN] to exit"
#elif defined(PCBNV14) #elif defined(PCBNV14)
// Bootloader NV14 specific - Ascii only // Bootloader NV14 specific - ASCII characters only
#define TR_BL_RF_USB_ACCESS "RF USB access" #define TR_BL_RF_USB_ACCESS "RF USB access"
#define TR_BL_CURRENT_FW "Current Firmware:" #define TR_BL_CURRENT_FW "Current Firmware:"
#define TR_BL_SELECT_KEY "[R TRIM] to select file" #define TR_BL_SELECT_KEY "[R TRIM] to select file"
#define TR_BL_FLASH_KEY "Hold [R TRIM] long to flash" #define TR_BL_FLASH_KEY "Hold [R TRIM] long to flash"
#define TR_BL_EXIT_KEY " [L TRIM] to exit" #define TR_BL_EXIT_KEY " [L TRIM] to exit"
#elif defined(PCBPL18) #elif defined(PCBPL18)
// Bootloader PL18 specific - Ascii only // Bootloader PL18 specific - ASCII characters only
#define TR_BL_RF_USB_ACCESS "RF USB access" #define TR_BL_RF_USB_ACCESS "RF USB access"
#define TR_BL_ERASE_INT_FLASH "Erase Internal Flash Storage" #define TR_BL_ERASE_INT_FLASH "Erase Internal Flash Storage"
#define TR_BL_ERASE_FLASH "Erase Flash Storage" #define TR_BL_ERASE_FLASH "Erase Flash Storage"
+8 -4
View File
@@ -1065,19 +1065,23 @@
#endif #endif
#if defined(PCBTARANIS) #if defined(PCBTARANIS)
// Bootloader Taranis specific - Ascii only // Bootloader Taranis specific - ASCII characters only
#define TR_BL_RESTORE_EEPROM "Obnovit EEPROM" #define TR_BL_RESTORE_EEPROM "Obnovit EEPROM"
#if defined(RADIO_COMMANDO8) #if defined(RADIO_COMMANDO8)
#define TR_BL_POWER_KEY "Stisknete tlacitko napajeni." #define TR_BL_POWER_KEY "Stisknete tlacitko napajeni."
#define TR_BL_FLASH_EXIT "Ukoncit rezim nahravani." #define TR_BL_FLASH_EXIT "Ukoncit rezim nahravani."
#endif #endif
#elif defined(PCBHORUS) #elif defined(PCBHORUS)
// Bootloader Horus specific - Ascii only // Bootloader Horus specific - ASCII characters only
#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 "[ENT] pro vybrani souboru" #define TR_BL_SELECT_KEY "[ENT] pro vybrani souboru"
#define TR_BL_FLASH_KEY "Drzet dlouze [ENT] pro nahrani" #define TR_BL_FLASH_KEY "Drzet dlouze [ENT] pro nahrani"
#define TR_BL_ERASE_KEY "Hold [ENT] long to erase"
#define TR_BL_EXIT_KEY "[RTN] pro ukonceni" #define TR_BL_EXIT_KEY "[RTN] pro ukonceni"
#elif defined(PCBNV14) #elif defined(PCBNV14)
// Bootloader NV14 specific - Ascii only // Bootloader NV14 specific - ASCII characters only
#define TR_BL_RF_USB_ACCESS "RF USB pristup" #define TR_BL_RF_USB_ACCESS "RF USB pristup"
#define TR_BL_CURRENT_FW "Aktualni firmware:" #define TR_BL_CURRENT_FW "Aktualni firmware:"
#define TR_BL_SELECT_KEY "[R TRIM] pro vybrani souboru" #define TR_BL_SELECT_KEY "[R TRIM] pro vybrani souboru"
@@ -1086,7 +1090,7 @@
#define TR_BL_ENABLE "Povoleno" #define TR_BL_ENABLE "Povoleno"
#define TR_BL_DISABLE "Zakazano" #define TR_BL_DISABLE "Zakazano"
#elif defined(PCBPL18) #elif defined(PCBPL18)
// Bootloader PL18 specific - Ascii only // Bootloader PL18 specific - ASCII characters only
#define TR_BL_RF_USB_ACCESS "RF USB access" #define TR_BL_RF_USB_ACCESS "RF USB access"
#define TR_BL_ERASE_INT_FLASH "Erase Internal Flash Storage" #define TR_BL_ERASE_INT_FLASH "Erase Internal Flash Storage"
#define TR_BL_ERASE_FLASH "Erase Flash Storage" #define TR_BL_ERASE_FLASH "Erase Flash Storage"
+9 -5
View File
@@ -1023,7 +1023,7 @@
#define TR_WIDGET_VALUE "Værdi" #define TR_WIDGET_VALUE "Værdi"
#endif #endif
// Bootloader common - Ascii only // Bootloader common - ASCII characters only
#define TR_BL_USB_CONNECTED "USB forbundet" #define TR_BL_USB_CONNECTED "USB forbundet"
#define TR_BL_USB_PLUGIN "eller brug USB kabel" #define TR_BL_USB_PLUGIN "eller brug USB kabel"
#define TR_BL_USB_MASS_STORE "for USB disk" #define TR_BL_USB_MASS_STORE "for USB disk"
@@ -1053,19 +1053,23 @@
#endif #endif
#if defined(PCBTARANIS) #if defined(PCBTARANIS)
// Bootloader Taranis specific - Ascii only // Bootloader Taranis specific - ASCII characters only
#define TR_BL_RESTORE_EEPROM "Genskab EEPROM" #define TR_BL_RESTORE_EEPROM "Genskab EEPROM"
#if defined(RADIO_COMMANDO8) #if defined(RADIO_COMMANDO8)
#define TR_BL_POWER_KEY "Tryk power knap." #define TR_BL_POWER_KEY "Tryk power knap."
#define TR_BL_FLASH_EXIT "Forlad installation tilstand." #define TR_BL_FLASH_EXIT "Forlad installation tilstand."
#endif #endif
#elif defined(PCBHORUS) #elif defined(PCBHORUS)
// Bootloader Horus specific - Ascii only // Bootloader Horus specific - ASCII characters only
#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 "[ENT] for at bruge fil" #define TR_BL_SELECT_KEY "[ENT] for at bruge fil"
#define TR_BL_FLASH_KEY "[ENT] længe, for at starte" #define TR_BL_FLASH_KEY "[ENT] længe, for at starte"
#define TR_BL_ERASE_KEY "Hold [ENT] long to erase"
#define TR_BL_EXIT_KEY "[RTN] for at forlade" #define TR_BL_EXIT_KEY "[RTN] for at forlade"
#elif defined(PCBNV14) #elif defined(PCBNV14)
// Bootloader NV14 specific - Ascii only // Bootloader NV14 specific - ASCII characters only
#define TR_BL_RF_USB_ACCESS "RF USB adgang" #define TR_BL_RF_USB_ACCESS "RF USB adgang"
#define TR_BL_CURRENT_FW "Firmware version:" #define TR_BL_CURRENT_FW "Firmware version:"
#define TR_BL_SELECT_KEY "[R TRIM] for at bruge fil" #define TR_BL_SELECT_KEY "[R TRIM] for at bruge fil"
@@ -1074,7 +1078,7 @@
#define TR_BL_ENABLE "Aktiver" #define TR_BL_ENABLE "Aktiver"
#define TR_BL_DISABLE "Deaktiver" #define TR_BL_DISABLE "Deaktiver"
#elif defined(PCBPL18) #elif defined(PCBPL18)
// Bootloader PL18 specific - Ascii only // Bootloader PL18 specific - ASCII characters only
#define TR_BL_RF_USB_ACCESS "RF USB adgang" #define TR_BL_RF_USB_ACCESS "RF USB adgang"
#define TR_BL_ERASE_INT_FLASH "Slet intern flash lager" #define TR_BL_ERASE_INT_FLASH "Slet intern flash lager"
#define TR_BL_ERASE_FLASH "Slet flash lager" #define TR_BL_ERASE_FLASH "Slet flash lager"
+9 -5
View File
@@ -1011,7 +1011,7 @@
#define TR_WIDGET_VALUE "Wert" #define TR_WIDGET_VALUE "Wert"
#endif #endif
// Bootloader common - Ascii only // Bootloader common - ASCII characters only
#define TR_BL_USB_CONNECTED "USB verbunden" #define TR_BL_USB_CONNECTED "USB verbunden"
#define TR_BL_USB_PLUGIN "oder USB-Kabel anschl." #define TR_BL_USB_PLUGIN "oder USB-Kabel anschl."
#define TR_BL_USB_MASS_STORE "für den SD-Speicher an" #define TR_BL_USB_MASS_STORE "für den SD-Speicher an"
@@ -1041,19 +1041,23 @@
#endif #endif
#if defined(PCBTARANIS) #if defined(PCBTARANIS)
// Bootloader Taranis specific - Ascii only // Bootloader Taranis specific - ASCII characters only
#define TR_BL_RESTORE_EEPROM "EEPROM wiederherstellen" #define TR_BL_RESTORE_EEPROM "EEPROM wiederherstellen"
#if defined(RADIO_COMMANDO8) #if defined(RADIO_COMMANDO8)
#define TR_BL_POWER_KEY "Drücke den Power Knopf." #define TR_BL_POWER_KEY "Drücke den Power Knopf."
#define TR_BL_FLASH_EXIT "Verlasse den Flashmodus." #define TR_BL_FLASH_EXIT "Verlasse den Flashmodus."
#endif #endif
#elif defined(PCBHORUS) #elif defined(PCBHORUS)
// Bootloader Horus specific - Ascii only // Bootloader Horus specific - ASCII characters only
#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 "[ENT] um Datei auszuwählen" #define TR_BL_SELECT_KEY "[ENT] um Datei auszuwählen"
#define TR_BL_FLASH_KEY "Halte [ENT] gedrückt, zum schreiben" #define TR_BL_FLASH_KEY "Halte [ENT] gedrückt, zum schreiben"
#define TR_BL_ERASE_KEY "Hold [ENT] long to erase"
#define TR_BL_EXIT_KEY "[RTN] zum beenden" #define TR_BL_EXIT_KEY "[RTN] zum beenden"
#elif defined(PCBNV14) #elif defined(PCBNV14)
// Bootloader NV14 specific - Ascii only // Bootloader NV14 specific - ASCII characters only
#define TR_BL_RF_USB_ACCESS "RF USB Zugriff" #define TR_BL_RF_USB_ACCESS "RF USB Zugriff"
#define TR_BL_CURRENT_FW "Aktuelle Firmware:" #define TR_BL_CURRENT_FW "Aktuelle Firmware:"
#define TR_BL_SELECT_KEY "[R TRIM] um Datei auszuwählen" #define TR_BL_SELECT_KEY "[R TRIM] um Datei auszuwählen"
@@ -1062,7 +1066,7 @@
#define TR_BL_ENABLE "Aktivieren" #define TR_BL_ENABLE "Aktivieren"
#define TR_BL_DISABLE "Deaktivieren" #define TR_BL_DISABLE "Deaktivieren"
#elif defined(PCBPL18) #elif defined(PCBPL18)
// Bootloader PL18 specific - Ascii only // Bootloader PL18 specific - ASCII characters only
#define TR_BL_RF_USB_ACCESS "RF USB access" #define TR_BL_RF_USB_ACCESS "RF USB access"
#define TR_BL_ERASE_INT_FLASH "Erase Internal Flash Storage" #define TR_BL_ERASE_INT_FLASH "Erase Internal Flash Storage"
#define TR_BL_ERASE_FLASH "Erase Flash Storage" #define TR_BL_ERASE_FLASH "Erase Flash Storage"
+9 -5
View File
@@ -1022,7 +1022,7 @@
#define TR_WIDGET_VALUE "Value" #define TR_WIDGET_VALUE "Value"
#endif #endif
// Bootloader common - Ascii only // Bootloader common - ASCII characters only
#define TR_BL_USB_CONNECTED "USB Connected" #define TR_BL_USB_CONNECTED "USB Connected"
#define TR_BL_USB_PLUGIN "Or plug in a USB cable" #define TR_BL_USB_PLUGIN "Or plug in a USB cable"
#define TR_BL_USB_MASS_STORE "for mass storage" #define TR_BL_USB_MASS_STORE "for mass storage"
@@ -1052,19 +1052,23 @@
#endif #endif
#if defined(PCBTARANIS) #if defined(PCBTARANIS)
// Bootloader Taranis specific - Ascii only // Bootloader Taranis specific - ASCII characters only
#define TR_BL_RESTORE_EEPROM "Restore EEPROM" #define TR_BL_RESTORE_EEPROM "Restore EEPROM"
#if defined(RADIO_COMMANDO8) #if defined(RADIO_COMMANDO8)
#define TR_BL_POWER_KEY "Press the power button." #define TR_BL_POWER_KEY "Press the power button."
#define TR_BL_FLASH_EXIT "Exit the flashing mode." #define TR_BL_FLASH_EXIT "Exit the flashing mode."
#endif #endif
#elif defined(PCBHORUS) #elif defined(PCBHORUS)
// Bootloader Horus specific - Ascii only // Bootloader Horus specific - ASCII characters only
#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 "[ENT] to select file" #define TR_BL_SELECT_KEY "[ENT] to select file"
#define TR_BL_FLASH_KEY "Hold [ENT] long to flash" #define TR_BL_FLASH_KEY "Hold [ENT] long to flash"
#define TR_BL_ERASE_KEY "Hold [ENT] long to erase"
#define TR_BL_EXIT_KEY "[RTN] to exit" #define TR_BL_EXIT_KEY "[RTN] to exit"
#elif defined(PCBNV14) #elif defined(PCBNV14)
// Bootloader NV14 specific - Ascii only // Bootloader NV14 specific - ASCII characters only
#define TR_BL_RF_USB_ACCESS "RF USB access" #define TR_BL_RF_USB_ACCESS "RF USB access"
#define TR_BL_CURRENT_FW "Current Firmware:" #define TR_BL_CURRENT_FW "Current Firmware:"
#define TR_BL_SELECT_KEY "[R TRIM] to select file" #define TR_BL_SELECT_KEY "[R TRIM] to select file"
@@ -1073,7 +1077,7 @@
#define TR_BL_ENABLE "Enable" #define TR_BL_ENABLE "Enable"
#define TR_BL_DISABLE "Disable" #define TR_BL_DISABLE "Disable"
#elif defined(PCBPL18) #elif defined(PCBPL18)
// Bootloader PL18 specific - Ascii only // Bootloader PL18 specific - ASCII characters only
#define TR_BL_RF_USB_ACCESS "RF USB access" #define TR_BL_RF_USB_ACCESS "RF USB access"
#define TR_BL_ERASE_INT_FLASH "Erase Internal Flash Storage" #define TR_BL_ERASE_INT_FLASH "Erase Internal Flash Storage"
#define TR_BL_ERASE_FLASH "Erase Flash Storage" #define TR_BL_ERASE_FLASH "Erase Flash Storage"
+9 -5
View File
@@ -1021,7 +1021,7 @@
#define TR_WIDGET_VALUE "Value" #define TR_WIDGET_VALUE "Value"
#endif #endif
// Bootloader common - Ascii only // Bootloader common - ASCII characters only
#define TR_BL_USB_CONNECTED "USB Connected" #define TR_BL_USB_CONNECTED "USB Connected"
#define TR_BL_USB_PLUGIN "Or plug in a USB cable" #define TR_BL_USB_PLUGIN "Or plug in a USB cable"
#define TR_BL_USB_MASS_STORE "for mass storage" #define TR_BL_USB_MASS_STORE "for mass storage"
@@ -1051,19 +1051,23 @@
#endif #endif
#if defined(PCBTARANIS) #if defined(PCBTARANIS)
// Bootloader Taranis specific - Ascii only // Bootloader Taranis specific - ASCII characters only
#define TR_BL_RESTORE_EEPROM "Restore EEPROM" #define TR_BL_RESTORE_EEPROM "Restore EEPROM"
#if defined(RADIO_COMMANDO8) #if defined(RADIO_COMMANDO8)
#define TR_BL_POWER_KEY "Press the power button." #define TR_BL_POWER_KEY "Press the power button."
#define TR_BL_FLASH_EXIT "Exit the flashing mode." #define TR_BL_FLASH_EXIT "Exit the flashing mode."
#endif #endif
#elif defined(PCBHORUS) #elif defined(PCBHORUS)
// Bootloader Horus specific - Ascii only // Bootloader Horus specific - ASCII characters only
#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 "[ENT] to select file" #define TR_BL_SELECT_KEY "[ENT] to select file"
#define TR_BL_FLASH_KEY "Hold [ENT] long to flash" #define TR_BL_FLASH_KEY "Hold [ENT] long to flash"
#define TR_BL_ERASE_KEY "Hold [ENT] long to erase"
#define TR_BL_EXIT_KEY "[RTN] to exit" #define TR_BL_EXIT_KEY "[RTN] to exit"
#elif defined(PCBNV14) #elif defined(PCBNV14)
// Bootloader NV14 specific - Ascii only // Bootloader NV14 specific - ASCII characters only
#define TR_BL_RF_USB_ACCESS "RF USB access" #define TR_BL_RF_USB_ACCESS "RF USB access"
#define TR_BL_CURRENT_FW "Current Firmware:" #define TR_BL_CURRENT_FW "Current Firmware:"
#define TR_BL_SELECT_KEY "[R TRIM] to select file" #define TR_BL_SELECT_KEY "[R TRIM] to select file"
@@ -1072,7 +1076,7 @@
#define TR_BL_ENABLE "Enable" #define TR_BL_ENABLE "Enable"
#define TR_BL_DISABLE "Disable" #define TR_BL_DISABLE "Disable"
#elif defined(PCBPL18) #elif defined(PCBPL18)
// Bootloader PL18 specific - Ascii only // Bootloader PL18 specific - ASCII characters only
#define TR_BL_RF_USB_ACCESS "RF USB access" #define TR_BL_RF_USB_ACCESS "RF USB access"
#define TR_BL_ERASE_INT_FLASH "Erase Internal Flash Storage" #define TR_BL_ERASE_INT_FLASH "Erase Internal Flash Storage"
#define TR_BL_ERASE_FLASH "Erase Flash Storage" #define TR_BL_ERASE_FLASH "Erase Flash Storage"
+9 -5
View File
@@ -1034,7 +1034,7 @@
#define TR_WIDGET_VALUE "Value" #define TR_WIDGET_VALUE "Value"
#endif #endif
// Bootloader common - Ascii only // Bootloader common - ASCII characters only
#define TR_BL_USB_CONNECTED "USB Connected" #define TR_BL_USB_CONNECTED "USB Connected"
#define TR_BL_USB_PLUGIN "Or plug in a USB cable" #define TR_BL_USB_PLUGIN "Or plug in a USB cable"
#define TR_BL_USB_MASS_STORE "for mass storage" #define TR_BL_USB_MASS_STORE "for mass storage"
@@ -1064,19 +1064,23 @@
#endif #endif
#if defined(PCBTARANIS) #if defined(PCBTARANIS)
// Bootloader Taranis specific - Ascii only // Bootloader Taranis specific - ASCII characters only
#define TR_BL_RESTORE_EEPROM "Restore EEPROM" #define TR_BL_RESTORE_EEPROM "Restore EEPROM"
#if defined(RADIO_COMMANDO8) #if defined(RADIO_COMMANDO8)
#define TR_BL_POWER_KEY "Press the power button." #define TR_BL_POWER_KEY "Press the power button."
#define TR_BL_FLASH_EXIT "Exit the flashing mode." #define TR_BL_FLASH_EXIT "Exit the flashing mode."
#endif #endif
#elif defined(PCBHORUS) #elif defined(PCBHORUS)
// Bootloader Horus specific - Ascii only // Bootloader Horus specific - ASCII characters only
#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 "[ENT] to select file" #define TR_BL_SELECT_KEY "[ENT] to select file"
#define TR_BL_FLASH_KEY "Hold [ENT] long to flash" #define TR_BL_FLASH_KEY "Hold [ENT] long to flash"
#define TR_BL_ERASE_KEY "Hold [ENT] long to erase"
#define TR_BL_EXIT_KEY "[RTN] to exit" #define TR_BL_EXIT_KEY "[RTN] to exit"
#elif defined(PCBNV14) #elif defined(PCBNV14)
// Bootloader NV14 specific - Ascii only // Bootloader NV14 specific - ASCII characters only
#define TR_BL_RF_USB_ACCESS "RF USB access" #define TR_BL_RF_USB_ACCESS "RF USB access"
#define TR_BL_CURRENT_FW "Current Firmware:" #define TR_BL_CURRENT_FW "Current Firmware:"
#define TR_BL_SELECT_KEY "[R TRIM] to select file" #define TR_BL_SELECT_KEY "[R TRIM] to select file"
@@ -1085,7 +1089,7 @@
#define TR_BL_ENABLE "Enable" #define TR_BL_ENABLE "Enable"
#define TR_BL_DISABLE "Disable" #define TR_BL_DISABLE "Disable"
#elif defined(PCBPL18) #elif defined(PCBPL18)
// Bootloader PL18 specific - Ascii only // Bootloader PL18 specific - ASCII characters only
#define TR_BL_RF_USB_ACCESS "RF USB access" #define TR_BL_RF_USB_ACCESS "RF USB access"
#define TR_BL_ERASE_INT_FLASH "Erase Internal Flash Storage" #define TR_BL_ERASE_INT_FLASH "Erase Internal Flash Storage"
#define TR_BL_ERASE_FLASH "Erase Flash Storage" #define TR_BL_ERASE_FLASH "Erase Flash Storage"
+9 -5
View File
@@ -1033,7 +1033,7 @@
#define TR_WIDGET_VALUE "Valeur" #define TR_WIDGET_VALUE "Valeur"
#endif #endif
// Bootloader common - Ascii only // Bootloader common - ASCII characters only
#define TR_BL_USB_CONNECTED "USB Connecte" #define TR_BL_USB_CONNECTED "USB Connecte"
#define TR_BL_USB_PLUGIN "ou branchez cable USB" #define TR_BL_USB_PLUGIN "ou branchez cable USB"
#define TR_BL_USB_MASS_STORE "pour stockage de masse" #define TR_BL_USB_MASS_STORE "pour stockage de masse"
@@ -1063,19 +1063,23 @@
#endif #endif
#if defined(PCBTARANIS) #if defined(PCBTARANIS)
// Bootloader Taranis specific - Ascii only // Bootloader Taranis specific - ASCII characters only
#define TR_BL_RESTORE_EEPROM "Restaurer EEPROM" #define TR_BL_RESTORE_EEPROM "Restaurer EEPROM"
#if defined(RADIO_COMMANDO8) #if defined(RADIO_COMMANDO8)
#define TR_BL_POWER_KEY "Appuyez sur le bouton power." #define TR_BL_POWER_KEY "Appuyez sur le bouton power."
#define TR_BL_FLASH_EXIT "Quitter mode flashage." #define TR_BL_FLASH_EXIT "Quitter mode flashage."
#endif #endif
#elif defined(PCBHORUS) #elif defined(PCBHORUS)
// Bootloader Horus specific - Ascii only // Bootloader Horus specific - ASCII characters only
#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 "[ENT] pour select. fichier" #define TR_BL_SELECT_KEY "[ENT] pour select. fichier"
#define TR_BL_FLASH_KEY "Appui long [ENT] pour flasher" #define TR_BL_FLASH_KEY "Appui long [ENT] pour flasher"
#define TR_BL_ERASE_KEY "Hold [ENT] long to erase"
#define TR_BL_EXIT_KEY "[RTN] pour quitter" #define TR_BL_EXIT_KEY "[RTN] pour quitter"
#elif defined(PCBNV14) #elif defined(PCBNV14)
// Bootloader NV14 specific - Ascii only // Bootloader NV14 specific - ASCII characters only
#define TR_BL_RF_USB_ACCESS "RF USB access" #define TR_BL_RF_USB_ACCESS "RF USB access"
#define TR_BL_CURRENT_FW "Firmware actuel:" #define TR_BL_CURRENT_FW "Firmware actuel:"
#define TR_BL_SELECT_KEY "[R TRIM] pour sélect. fichier" #define TR_BL_SELECT_KEY "[R TRIM] pour sélect. fichier"
@@ -1084,7 +1088,7 @@
#define TR_BL_ENABLE "Activer" #define TR_BL_ENABLE "Activer"
#define TR_BL_DISABLE "Désactiver" #define TR_BL_DISABLE "Désactiver"
#elif defined(PCBPL18) #elif defined(PCBPL18)
// Bootloader PL18 specific - Ascii only // Bootloader PL18 specific - ASCII characters only
#define TR_BL_RF_USB_ACCESS "RF USB access" #define TR_BL_RF_USB_ACCESS "RF USB access"
#define TR_BL_ERASE_INT_FLASH "Erase Internal Flash Storage" #define TR_BL_ERASE_INT_FLASH "Erase Internal Flash Storage"
#define TR_BL_ERASE_FLASH "Erase Flash Storage" #define TR_BL_ERASE_FLASH "Erase Flash Storage"
+9 -5
View File
@@ -1023,7 +1023,7 @@
#define TR_WIDGET_VALUE "ערך" #define TR_WIDGET_VALUE "ערך"
#endif #endif
// Bootloader common - Ascii only // Bootloader common - ASCII characters only
#define TR_BL_USB_CONNECTED "USB Connected" #define TR_BL_USB_CONNECTED "USB Connected"
#define TR_BL_USB_PLUGIN "Or plug in a USB cable" #define TR_BL_USB_PLUGIN "Or plug in a USB cable"
#define TR_BL_USB_MASS_STORE "for mass storage" #define TR_BL_USB_MASS_STORE "for mass storage"
@@ -1053,19 +1053,23 @@
#endif #endif
#if defined(PCBTARANIS) #if defined(PCBTARANIS)
// Bootloader Taranis specific - Ascii only // Bootloader Taranis specific - ASCII characters only
#define TR_BL_RESTORE_EEPROM "Restore EEPROM" #define TR_BL_RESTORE_EEPROM "Restore EEPROM"
#if defined(RADIO_COMMANDO8) #if defined(RADIO_COMMANDO8)
#define TR_BL_POWER_KEY "Press the power button." #define TR_BL_POWER_KEY "Press the power button."
#define TR_BL_FLASH_EXIT "Exit the flashing mode." #define TR_BL_FLASH_EXIT "Exit the flashing mode."
#endif #endif
#elif defined(PCBHORUS) #elif defined(PCBHORUS)
// Bootloader Horus specific - Ascii only // Bootloader Horus specific - ASCII characters only
#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 "[ENT] to select file" #define TR_BL_SELECT_KEY "[ENT] to select file"
#define TR_BL_FLASH_KEY "Hold [ENT] long to flash" #define TR_BL_FLASH_KEY "Hold [ENT] long to flash"
#define TR_BL_ERASE_KEY "Hold [ENT] long to erase"
#define TR_BL_EXIT_KEY "[RTN] to exit" #define TR_BL_EXIT_KEY "[RTN] to exit"
#elif defined(PCBNV14) #elif defined(PCBNV14)
// Bootloader NV14 specific - Ascii only // Bootloader NV14 specific - ASCII characters only
#define TR_BL_RF_USB_ACCESS "RF USB access" #define TR_BL_RF_USB_ACCESS "RF USB access"
#define TR_BL_CURRENT_FW "Current Firmware:" #define TR_BL_CURRENT_FW "Current Firmware:"
#define TR_BL_SELECT_KEY "[R TRIM] to select file" #define TR_BL_SELECT_KEY "[R TRIM] to select file"
@@ -1074,7 +1078,7 @@
#define TR_BL_ENABLE "Enable" #define TR_BL_ENABLE "Enable"
#define TR_BL_DISABLE "Disable" #define TR_BL_DISABLE "Disable"
#elif defined(PCBPL18) #elif defined(PCBPL18)
// Bootloader PL18 specific - Ascii only // Bootloader PL18 specific - ASCII characters only
#define TR_BL_RF_USB_ACCESS "RF USB access" #define TR_BL_RF_USB_ACCESS "RF USB access"
#define TR_BL_ERASE_INT_FLASH "Erase Internal Flash Storage" #define TR_BL_ERASE_INT_FLASH "Erase Internal Flash Storage"
#define TR_BL_ERASE_FLASH "Erase Flash Storage" #define TR_BL_ERASE_FLASH "Erase Flash Storage"
+8 -4
View File
@@ -1048,19 +1048,23 @@
#endif #endif
#if defined(PCBTARANIS) #if defined(PCBTARANIS)
// Bootloader Taranis specific // Bootloader Taranis specific - ASCII characters only
#define TR_BL_RESTORE_EEPROM "Ripristino EEPROM" #define TR_BL_RESTORE_EEPROM "Ripristino EEPROM"
#if defined(RADIO_COMMANDO8) #if defined(RADIO_COMMANDO8)
#define TR_BL_POWER_KEY "Premi il bottone d'accensione" #define TR_BL_POWER_KEY "Premi il bottone d'accensione"
#define TR_BL_FLASH_EXIT "Esci dal modo scrittura." #define TR_BL_FLASH_EXIT "Esci dal modo scrittura."
#endif #endif
#elif defined(PCBHORUS) #elif defined(PCBHORUS)
// Bootloader Horus specific // Bootloader Horus specific - ASCII characters only
#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 "[ENT] per scegliere il file" #define TR_BL_SELECT_KEY "[ENT] per scegliere il file"
#define TR_BL_FLASH_KEY "Tenere premuto [ENT] per scrivere" #define TR_BL_FLASH_KEY "Tenere premuto [ENT] per scrivere"
#define TR_BL_ERASE_KEY "Hold [ENT] long to erase"
#define TR_BL_EXIT_KEY "[RTN] per uscire" #define TR_BL_EXIT_KEY "[RTN] per uscire"
#elif defined(PCBNV14) #elif defined(PCBNV14)
// Bootloader NV14 specific // Bootloader NV14 specific - ASCII characters only
#define TR_BL_RF_USB_ACCESS "RF Accesso USB" #define TR_BL_RF_USB_ACCESS "RF Accesso USB"
#define TR_BL_CURRENT_FW "Firmware corrente:" #define TR_BL_CURRENT_FW "Firmware corrente:"
#define TR_BL_SELECT_KEY "[R TRIM] per scegliere il file" #define TR_BL_SELECT_KEY "[R TRIM] per scegliere il file"
@@ -1069,7 +1073,7 @@
#define TR_BL_ENABLE "Abilita" #define TR_BL_ENABLE "Abilita"
#define TR_BL_DISABLE "Disabilita" #define TR_BL_DISABLE "Disabilita"
#elif defined(PCBPL18) #elif defined(PCBPL18)
// Bootloader PL18 specific - Ascii only // Bootloader PL18 specific - ASCII characters only
#define TR_BL_RF_USB_ACCESS "RF USB access" #define TR_BL_RF_USB_ACCESS "RF USB access"
#define TR_BL_ERASE_INT_FLASH "Erase Internal Flash Storage" #define TR_BL_ERASE_INT_FLASH "Erase Internal Flash Storage"
#define TR_BL_ERASE_FLASH "Erase Flash Storage" #define TR_BL_ERASE_FLASH "Erase Flash Storage"
+9 -5
View File
@@ -1023,7 +1023,7 @@
#define TR_WIDGET_VALUE "値" #define TR_WIDGET_VALUE "値"
#endif #endif
// Bootloader common - Ascii only // Bootloader common - ASCII characters only
#define TR_BL_USB_CONNECTED "USB Connected" #define TR_BL_USB_CONNECTED "USB Connected"
#define TR_BL_USB_PLUGIN "Or plug in a USB cable" #define TR_BL_USB_PLUGIN "Or plug in a USB cable"
#define TR_BL_USB_MASS_STORE "for mass storage" #define TR_BL_USB_MASS_STORE "for mass storage"
@@ -1053,19 +1053,23 @@
#endif #endif
#if defined(PCBTARANIS) #if defined(PCBTARANIS)
// Bootloader Taranis specific - Ascii only // Bootloader Taranis specific - ASCII characters only
#define TR_BL_RESTORE_EEPROM "Restore EEPROM" #define TR_BL_RESTORE_EEPROM "Restore EEPROM"
#if defined(RADIO_COMMANDO8) #if defined(RADIO_COMMANDO8)
#define TR_BL_POWER_KEY "Press the power button." #define TR_BL_POWER_KEY "Press the power button."
#define TR_BL_FLASH_EXIT "Exit the flashing mode." #define TR_BL_FLASH_EXIT "Exit the flashing mode."
#endif #endif
#elif defined(PCBHORUS) #elif defined(PCBHORUS)
// Bootloader Horus specific - Ascii only // Bootloader Horus specific - ASCII characters only
#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 "[ENT] to select file" #define TR_BL_SELECT_KEY "[ENT] to select file"
#define TR_BL_FLASH_KEY "Hold [ENT] long to flash" #define TR_BL_FLASH_KEY "Hold [ENT] long to flash"
#define TR_BL_ERASE_KEY "Hold [ENT] long to erase"
#define TR_BL_EXIT_KEY "[RTN] to exit" #define TR_BL_EXIT_KEY "[RTN] to exit"
#elif defined(PCBNV14) #elif defined(PCBNV14)
// Bootloader NV14 specific - Ascii only // Bootloader NV14 specific - ASCII characters only
#define TR_BL_RF_USB_ACCESS "RF USB access" #define TR_BL_RF_USB_ACCESS "RF USB access"
#define TR_BL_CURRENT_FW "Current Firmware:" #define TR_BL_CURRENT_FW "Current Firmware:"
#define TR_BL_SELECT_KEY "[R TRIM] to select file" #define TR_BL_SELECT_KEY "[R TRIM] to select file"
@@ -1074,7 +1078,7 @@
#define TR_BL_ENABLE "Enable" #define TR_BL_ENABLE "Enable"
#define TR_BL_DISABLE "Disable" #define TR_BL_DISABLE "Disable"
#elif defined(PCBPL18) #elif defined(PCBPL18)
// Bootloader PL18 specific - Ascii only // Bootloader PL18 specific - ASCII characters only
#define TR_BL_RF_USB_ACCESS "RF USB access" #define TR_BL_RF_USB_ACCESS "RF USB access"
#define TR_BL_ERASE_INT_FLASH "Erase Internal Flash Storage" #define TR_BL_ERASE_INT_FLASH "Erase Internal Flash Storage"
#define TR_BL_ERASE_FLASH "Erase Flash Storage" #define TR_BL_ERASE_FLASH "Erase Flash Storage"
+9 -5
View File
@@ -1026,7 +1026,7 @@
#define TR_WIDGET_VALUE "Value" #define TR_WIDGET_VALUE "Value"
#endif #endif
// Bootloader common - Ascii only // Bootloader common - ASCII characters only
#define TR_BL_USB_CONNECTED "USB Connected" #define TR_BL_USB_CONNECTED "USB Connected"
#define TR_BL_USB_PLUGIN "Or plug in a USB cable" #define TR_BL_USB_PLUGIN "Or plug in a USB cable"
#define TR_BL_USB_MASS_STORE "for mass storage" #define TR_BL_USB_MASS_STORE "for mass storage"
@@ -1056,19 +1056,23 @@
#endif #endif
#if defined(PCBTARANIS) #if defined(PCBTARANIS)
// Bootloader Taranis specific - Ascii only // Bootloader Taranis specific - ASCII characters only
#define TR_BL_RESTORE_EEPROM "Restore EEPROM" #define TR_BL_RESTORE_EEPROM "Restore EEPROM"
#if defined(RADIO_COMMANDO8) #if defined(RADIO_COMMANDO8)
#define TR_BL_POWER_KEY "Press the power button." #define TR_BL_POWER_KEY "Press the power button."
#define TR_BL_FLASH_EXIT "Exit the flashing mode." #define TR_BL_FLASH_EXIT "Exit the flashing mode."
#endif #endif
#elif defined(PCBHORUS) #elif defined(PCBHORUS)
// Bootloader Horus specific - Ascii only // Bootloader Horus specific - ASCII characters only
#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 "[ENT] to select file" #define TR_BL_SELECT_KEY "[ENT] to select file"
#define TR_BL_FLASH_KEY "Hold [ENT] long to flash" #define TR_BL_FLASH_KEY "Hold [ENT] long to flash"
#define TR_BL_ERASE_KEY "Hold [ENT] long to erase"
#define TR_BL_EXIT_KEY "[RTN] to exit" #define TR_BL_EXIT_KEY "[RTN] to exit"
#elif defined(PCBNV14) #elif defined(PCBNV14)
// Bootloader NV14 specific - Ascii only // Bootloader NV14 specific - ASCII characters only
#define TR_BL_RF_USB_ACCESS "RF USB access" #define TR_BL_RF_USB_ACCESS "RF USB access"
#define TR_BL_CURRENT_FW "Current Firmware:" #define TR_BL_CURRENT_FW "Current Firmware:"
#define TR_BL_SELECT_KEY "[R TRIM] to select file" #define TR_BL_SELECT_KEY "[R TRIM] to select file"
@@ -1077,7 +1081,7 @@
#define TR_BL_ENABLE "Enable" #define TR_BL_ENABLE "Enable"
#define TR_BL_DISABLE "Disable" #define TR_BL_DISABLE "Disable"
#elif defined(PCBPL18) #elif defined(PCBPL18)
// Bootloader PL18 specific - Ascii only // Bootloader PL18 specific - ASCII characters only
#define TR_BL_RF_USB_ACCESS "RF USB access" #define TR_BL_RF_USB_ACCESS "RF USB access"
#define TR_BL_ERASE_INT_FLASH "Erase Internal Flash Storage" #define TR_BL_ERASE_INT_FLASH "Erase Internal Flash Storage"
#define TR_BL_ERASE_FLASH "Erase Flash Storage" #define TR_BL_ERASE_FLASH "Erase Flash Storage"
+9 -5
View File
@@ -1021,7 +1021,7 @@
#define TR_WIDGET_VALUE "Wartość" #define TR_WIDGET_VALUE "Wartość"
#endif #endif
// Bootloader common - Ascii only // Bootloader common - ASCII characters only
#define TR_BL_USB_CONNECTED "USB polaczone" #define TR_BL_USB_CONNECTED "USB polaczone"
#define TR_BL_USB_PLUGIN "lub podlacz kabel USB" #define TR_BL_USB_PLUGIN "lub podlacz kabel USB"
#define TR_BL_USB_MASS_STORE "dla trybu danych" #define TR_BL_USB_MASS_STORE "dla trybu danych"
@@ -1051,19 +1051,23 @@
#endif #endif
#if defined(PCBTARANIS) #if defined(PCBTARANIS)
// Bootloader Taranis specific - Ascii only // Bootloader Taranis specific - ASCII characters only
#define TR_BL_RESTORE_EEPROM "Przywroc EEPROM" #define TR_BL_RESTORE_EEPROM "Przywroc EEPROM"
#if defined(RADIO_COMMANDO8) #if defined(RADIO_COMMANDO8)
#define TR_BL_POWER_KEY "Nacisnij przycisk Power" #define TR_BL_POWER_KEY "Nacisnij przycisk Power"
#define TR_BL_FLASH_EXIT "Wyjdz z trybu flashowania" #define TR_BL_FLASH_EXIT "Wyjdz z trybu flashowania"
#endif #endif
#elif defined(PCBHORUS) #elif defined(PCBHORUS)
// Bootloader Horus specific - Ascii only // Bootloader Horus specific - ASCII characters only
#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 "[ENT] aby wybrac plik" #define TR_BL_SELECT_KEY "[ENT] aby wybrac plik"
#define TR_BL_FLASH_KEY "Przytrzymaj [ENT] aby flashowac" #define TR_BL_FLASH_KEY "Przytrzymaj [ENT] aby flashowac"
#define TR_BL_ERASE_KEY "Hold [ENT] long to erase"
#define TR_BL_EXIT_KEY "[RTN] aby wyjsc" #define TR_BL_EXIT_KEY "[RTN] aby wyjsc"
#elif defined(PCBNV14) #elif defined(PCBNV14)
// Bootloader NV14 specific - Ascii only // Bootloader NV14 specific - ASCII characters only
#define TR_BL_RF_USB_ACCESS "Dostep RF USB" #define TR_BL_RF_USB_ACCESS "Dostep RF USB"
#define TR_BL_CURRENT_FW "Obecny firmware:" #define TR_BL_CURRENT_FW "Obecny firmware:"
#define TR_BL_SELECT_KEY "[R TRIM] aby wybrac plik" #define TR_BL_SELECT_KEY "[R TRIM] aby wybrac plik"
@@ -1072,7 +1076,7 @@
#define TR_BL_ENABLE "Enable" #define TR_BL_ENABLE "Enable"
#define TR_BL_DISABLE "Disable" #define TR_BL_DISABLE "Disable"
#elif defined(PCBPL18) #elif defined(PCBPL18)
// Bootloader PL18 specific - Ascii only // Bootloader PL18 specific - ASCII characters only
#define TR_BL_RF_USB_ACCESS "RF USB access" #define TR_BL_RF_USB_ACCESS "RF USB access"
#define TR_BL_ERASE_INT_FLASH "Erase Internal Flash Storage" #define TR_BL_ERASE_INT_FLASH "Erase Internal Flash Storage"
#define TR_BL_ERASE_FLASH "Erase Flash Storage" #define TR_BL_ERASE_FLASH "Erase Flash Storage"
+9 -5
View File
@@ -1027,7 +1027,7 @@
#define TR_WIDGET_VALUE "Value" #define TR_WIDGET_VALUE "Value"
#endif #endif
// Bootloader common - Ascii only // Bootloader common - ASCII characters only
#define TR_BL_USB_CONNECTED "USB Connected" #define TR_BL_USB_CONNECTED "USB Connected"
#define TR_BL_USB_PLUGIN "Or plug in a USB cable" #define TR_BL_USB_PLUGIN "Or plug in a USB cable"
#define TR_BL_USB_MASS_STORE "for mass storage" #define TR_BL_USB_MASS_STORE "for mass storage"
@@ -1057,19 +1057,23 @@
#endif #endif
#if defined(PCBTARANIS) #if defined(PCBTARANIS)
// Bootloader Taranis specific - Ascii only // Bootloader Taranis specific - ASCII characters only
#define TR_BL_RESTORE_EEPROM "Restore EEPROM" #define TR_BL_RESTORE_EEPROM "Restore EEPROM"
#if defined(RADIO_COMMANDO8) #if defined(RADIO_COMMANDO8)
#define TR_BL_POWER_KEY "Press the power button." #define TR_BL_POWER_KEY "Press the power button."
#define TR_BL_FLASH_EXIT "Exit the flashing mode." #define TR_BL_FLASH_EXIT "Exit the flashing mode."
#endif #endif
#elif defined(PCBHORUS) #elif defined(PCBHORUS)
// Bootloader Horus specific - Ascii only // Bootloader Horus specific - ASCII characters only
#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 "[ENT] to select file" #define TR_BL_SELECT_KEY "[ENT] to select file"
#define TR_BL_FLASH_KEY "Hold [ENT] long to flash" #define TR_BL_FLASH_KEY "Hold [ENT] long to flash"
#define TR_BL_ERASE_KEY "Hold [ENT] long to erase"
#define TR_BL_EXIT_KEY "[RTN] to exit" #define TR_BL_EXIT_KEY "[RTN] to exit"
#elif defined(PCBNV14) #elif defined(PCBNV14)
// Bootloader NV14 specific - Ascii only // Bootloader NV14 specific - ASCII characters only
#define TR_BL_RF_USB_ACCESS "RF USB access" #define TR_BL_RF_USB_ACCESS "RF USB access"
#define TR_BL_CURRENT_FW "Current Firmware:" #define TR_BL_CURRENT_FW "Current Firmware:"
#define TR_BL_SELECT_KEY "[R TRIM] to select file" #define TR_BL_SELECT_KEY "[R TRIM] to select file"
@@ -1078,7 +1082,7 @@
#define TR_BL_ENABLE "Enable" #define TR_BL_ENABLE "Enable"
#define TR_BL_DISABLE "Desativar" #define TR_BL_DISABLE "Desativar"
#elif defined(PCBPL18) #elif defined(PCBPL18)
// Bootloader PL18 specific - Ascii only // Bootloader PL18 specific - ASCII characters only
#define TR_BL_RF_USB_ACCESS "RF USB access" #define TR_BL_RF_USB_ACCESS "RF USB access"
#define TR_BL_ERASE_INT_FLASH "Erase Internal Flash Storage" #define TR_BL_ERASE_INT_FLASH "Erase Internal Flash Storage"
#define TR_BL_ERASE_FLASH "Erase Flash Storage" #define TR_BL_ERASE_FLASH "Erase Flash Storage"
+9 -5
View File
@@ -1026,7 +1026,7 @@
#define TR_WIDGET_VALUE "Значение" #define TR_WIDGET_VALUE "Значение"
#endif #endif
// Bootloader common - Ascii only // Bootloader common - ASCII characters only
#define TR_BL_USB_CONNECTED "USB Connected" #define TR_BL_USB_CONNECTED "USB Connected"
#define TR_BL_USB_PLUGIN "Or plug in a USB cable" #define TR_BL_USB_PLUGIN "Or plug in a USB cable"
#define TR_BL_USB_MASS_STORE "for mass storage" #define TR_BL_USB_MASS_STORE "for mass storage"
@@ -1056,19 +1056,23 @@
#endif #endif
#if defined(PCBTARANIS) #if defined(PCBTARANIS)
// Bootloader Taranis specific - Ascii only // Bootloader Taranis specific - ASCII characters only
#define TR_BL_RESTORE_EEPROM "Restore EEPROM" #define TR_BL_RESTORE_EEPROM "Restore EEPROM"
#if defined(RADIO_COMMANDO8) #if defined(RADIO_COMMANDO8)
#define TR_BL_POWER_KEY "Press the power button." #define TR_BL_POWER_KEY "Press the power button."
#define TR_BL_FLASH_EXIT "Exit the flashing mode." #define TR_BL_FLASH_EXIT "Exit the flashing mode."
#endif #endif
#elif defined(PCBHORUS) #elif defined(PCBHORUS)
// Bootloader Horus specific - Ascii only // Bootloader Horus specific - ASCII characters only
#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 "[ENT] to select file" #define TR_BL_SELECT_KEY "[ENT] to select file"
#define TR_BL_FLASH_KEY "Hold [ENT] long to flash" #define TR_BL_FLASH_KEY "Hold [ENT] long to flash"
#define TR_BL_ERASE_KEY "Hold [ENT] long to erase"
#define TR_BL_EXIT_KEY "[RTN] to exit" #define TR_BL_EXIT_KEY "[RTN] to exit"
#elif defined(PCBNV14) #elif defined(PCBNV14)
// Bootloader NV14 specific - Ascii only // Bootloader NV14 specific - ASCII characters only
#define TR_BL_RF_USB_ACCESS "RF USB access" #define TR_BL_RF_USB_ACCESS "RF USB access"
#define TR_BL_CURRENT_FW "Current Firmware:" #define TR_BL_CURRENT_FW "Current Firmware:"
#define TR_BL_SELECT_KEY "[R TRIM] to select file" #define TR_BL_SELECT_KEY "[R TRIM] to select file"
@@ -1077,7 +1081,7 @@
#define TR_BL_ENABLE "Enable" #define TR_BL_ENABLE "Enable"
#define TR_BL_DISABLE "Disable" #define TR_BL_DISABLE "Disable"
#elif defined(PCBPL18) #elif defined(PCBPL18)
// Bootloader PL18 specific - Ascii only // Bootloader PL18 specific - ASCII characters only
#define TR_BL_RF_USB_ACCESS "RF USB access" #define TR_BL_RF_USB_ACCESS "RF USB access"
#define TR_BL_ERASE_INT_FLASH "Erase Internal Flash Storage" #define TR_BL_ERASE_INT_FLASH "Erase Internal Flash Storage"
#define TR_BL_ERASE_FLASH "Erase Flash Storage" #define TR_BL_ERASE_FLASH "Erase Flash Storage"
+8 -4
View File
@@ -1078,19 +1078,23 @@
#endif #endif
#if defined(PCBTARANIS) #if defined(PCBTARANIS)
// Bootloader Taranis specific // Bootloader Taranis specific - ASCII characters only
#define TR_BL_RESTORE_EEPROM "Aaterställ EEPROM" #define TR_BL_RESTORE_EEPROM "Aaterställ EEPROM"
#if defined(RADIO_COMMANDO8) #if defined(RADIO_COMMANDO8)
#define TR_BL_POWER_KEY "Tryck paa startknappen." #define TR_BL_POWER_KEY "Tryck paa startknappen."
#define TR_BL_FLASH_EXIT "Avsluta flashningsläget." #define TR_BL_FLASH_EXIT "Avsluta flashningsläget."
#endif #endif
#elif defined(PCBHORUS) #elif defined(PCBHORUS)
// Bootloader Horus specific // Bootloader Horus specific - ASCII characters only
#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 "[ENT] för att vaelja fil" #define TR_BL_SELECT_KEY "[ENT] för att vaelja fil"
#define TR_BL_FLASH_KEY "Tryck [ENT] foer att flasha" #define TR_BL_FLASH_KEY "Tryck [ENT] foer att flasha"
#define TR_BL_ERASE_KEY "Hold [ENT] long to erase"
#define TR_BL_EXIT_KEY "[RTN] foer att avbryta" #define TR_BL_EXIT_KEY "[RTN] foer att avbryta"
#elif defined(PCBNV14) #elif defined(PCBNV14)
// Bootloader NV14 specific // Bootloader NV14 specific - ASCII characters only
#define TR_BL_RF_USB_ACCESS "RF USB access" #define TR_BL_RF_USB_ACCESS "RF USB access"
#define TR_BL_CURRENT_FW "Nuvarande firmware:" #define TR_BL_CURRENT_FW "Nuvarande firmware:"
#define TR_BL_SELECT_KEY "[R TRIM] foer att vaelja fil" #define TR_BL_SELECT_KEY "[R TRIM] foer att vaelja fil"
@@ -1099,7 +1103,7 @@
#define TR_BL_ENABLE "Aktivera" #define TR_BL_ENABLE "Aktivera"
#define TR_BL_DISABLE "Inaktivera" #define TR_BL_DISABLE "Inaktivera"
#elif defined(PCBPL18) #elif defined(PCBPL18)
// Bootloader PL18 specific - Ascii only // Bootloader PL18 specific - ASCII characters only
#define TR_BL_RF_USB_ACCESS "RF USB access" #define TR_BL_RF_USB_ACCESS "RF USB access"
#define TR_BL_ERASE_INT_FLASH "Radera interna flashminnet" #define TR_BL_ERASE_INT_FLASH "Radera interna flashminnet"
#define TR_BL_ERASE_FLASH "Radera flashminnet" #define TR_BL_ERASE_FLASH "Radera flashminnet"
+9 -5
View File
@@ -1024,7 +1024,7 @@
#define TR_WIDGET_VALUE "數值" #define TR_WIDGET_VALUE "數值"
#endif #endif
// Bootloader common - Ascii only // Bootloader common - ASCII characters only
#define TR_BL_USB_CONNECTED "USB Connected" #define TR_BL_USB_CONNECTED "USB Connected"
#define TR_BL_USB_PLUGIN "Or plug in a USB cable" #define TR_BL_USB_PLUGIN "Or plug in a USB cable"
#define TR_BL_USB_MASS_STORE "for mass storage" #define TR_BL_USB_MASS_STORE "for mass storage"
@@ -1054,19 +1054,23 @@
#endif #endif
#if defined(PCBTARANIS) #if defined(PCBTARANIS)
// Bootloader Taranis specific - Ascii only // Bootloader Taranis specific - ASCII characters only
#define TR_BL_RESTORE_EEPROM "Restore EEPROM" #define TR_BL_RESTORE_EEPROM "Restore EEPROM"
#if defined(RADIO_COMMANDO8) #if defined(RADIO_COMMANDO8)
#define TR_BL_POWER_KEY "Press the power button." #define TR_BL_POWER_KEY "Press the power button."
#define TR_BL_FLASH_EXIT "Exit the flashing mode." #define TR_BL_FLASH_EXIT "Exit the flashing mode."
#endif #endif
#elif defined(PCBHORUS) #elif defined(PCBHORUS)
// Bootloader Horus specific - Ascii only // Bootloader Horus specific - ASCII characters only
#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 "[ENT] to select file" #define TR_BL_SELECT_KEY "[ENT] to select file"
#define TR_BL_FLASH_KEY "Hold [ENT] long to flash" #define TR_BL_FLASH_KEY "Hold [ENT] long to flash"
#define TR_BL_ERASE_KEY "Hold [ENT] long to erase"
#define TR_BL_EXIT_KEY "[RTN] to exit" #define TR_BL_EXIT_KEY "[RTN] to exit"
#elif defined(PCBNV14) #elif defined(PCBNV14)
// Bootloader NV14 specific - Ascii only // Bootloader NV14 specific - ASCII characters only
#define TR_BL_RF_USB_ACCESS "RF USB access" #define TR_BL_RF_USB_ACCESS "RF USB access"
#define TR_BL_CURRENT_FW "Current Firmware:" #define TR_BL_CURRENT_FW "Current Firmware:"
#define TR_BL_SELECT_KEY "[R TRIM] to select file" #define TR_BL_SELECT_KEY "[R TRIM] to select file"
@@ -1075,7 +1079,7 @@
#define TR_BL_ENABLE "Enable" #define TR_BL_ENABLE "Enable"
#define TR_BL_DISABLE "Disable" #define TR_BL_DISABLE "Disable"
#elif defined(PCBPL18) #elif defined(PCBPL18)
// Bootloader PL18 specific - Ascii only // Bootloader PL18 specific - ASCII characters only
#define TR_BL_RF_USB_ACCESS "RF USB access" #define TR_BL_RF_USB_ACCESS "RF USB access"
#define TR_BL_ERASE_INT_FLASH "Erase Internal Flash Storage" #define TR_BL_ERASE_INT_FLASH "Erase Internal Flash Storage"
#define TR_BL_ERASE_FLASH "Erase Flash Storage" #define TR_BL_ERASE_FLASH "Erase Flash Storage"
+5 -5
View File
@@ -1026,7 +1026,7 @@
#define TR_WIDGET_VALUE "Значення" #define TR_WIDGET_VALUE "Значення"
#endif #endif
// Bootloader common - Ascii only // Bootloader common - ASCII characters only
#define TR_BL_USB_CONNECTED "USB Connected" #define TR_BL_USB_CONNECTED "USB Connected"
#define TR_BL_USB_PLUGIN "Or plug in a USB cable" #define TR_BL_USB_PLUGIN "Or plug in a USB cable"
#define TR_BL_USB_MASS_STORE "for mass storage" #define TR_BL_USB_MASS_STORE "for mass storage"
@@ -1056,19 +1056,19 @@
#endif #endif
#if defined(PCBTARANIS) #if defined(PCBTARANIS)
// Bootloader Taranis specific - Ascii only // Bootloader Taranis specific - ASCII characters only
#define TR_BL_RESTORE_EEPROM "Restore EEPROM" #define TR_BL_RESTORE_EEPROM "Restore EEPROM"
#if defined(RADIO_COMMANDO8) #if defined(RADIO_COMMANDO8)
#define TR_BL_POWER_KEY "Press the power button." #define TR_BL_POWER_KEY "Press the power button."
#define TR_BL_FLASH_EXIT "Exit the flashing mode." #define TR_BL_FLASH_EXIT "Exit the flashing mode."
#endif #endif
#elif defined(PCBHORUS) #elif defined(PCBHORUS)
// Bootloader Horus specific - Ascii only // Bootloader Horus specific - ASCII characters only
#define TR_BL_SELECT_KEY "[ENT] to select file" #define TR_BL_SELECT_KEY "[ENT] to select file"
#define TR_BL_FLASH_KEY "Hold [ENT] long to flash" #define TR_BL_FLASH_KEY "Hold [ENT] long to flash"
#define TR_BL_EXIT_KEY "[RTN] to exit" #define TR_BL_EXIT_KEY "[RTN] to exit"
#elif defined(PCBNV14) #elif defined(PCBNV14)
// Bootloader NV14 specific - Ascii only // Bootloader NV14 specific - ASCII characters only
#define TR_BL_RF_USB_ACCESS "RF USB access" #define TR_BL_RF_USB_ACCESS "RF USB access"
#define TR_BL_CURRENT_FW "Current Firmware:" #define TR_BL_CURRENT_FW "Current Firmware:"
#define TR_BL_SELECT_KEY "[R TRIM] to select file" #define TR_BL_SELECT_KEY "[R TRIM] to select file"
@@ -1077,7 +1077,7 @@
#define TR_BL_ENABLE "Enable" #define TR_BL_ENABLE "Enable"
#define TR_BL_DISABLE "Disable" #define TR_BL_DISABLE "Disable"
#elif defined(PCBPL18) #elif defined(PCBPL18)
// Bootloader PL18 specific - Ascii only // Bootloader PL18 specific - ASCII characters only
#define TR_BL_RF_USB_ACCESS "RF USB access" #define TR_BL_RF_USB_ACCESS "RF USB access"
#define TR_BL_ERASE_INT_FLASH "Erase Internal Flash Storage" #define TR_BL_ERASE_INT_FLASH "Erase Internal Flash Storage"
#define TR_BL_ERASE_FLASH "Erase Flash Storage" #define TR_BL_ERASE_FLASH "Erase Flash Storage"