diff --git a/radio/src/sdcard.cpp b/radio/src/sdcard.cpp index baf9af304..28abefa30 100644 --- a/radio/src/sdcard.cpp +++ b/radio/src/sdcard.cpp @@ -39,7 +39,11 @@ #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 +#endif const char * sdCheckAndCreateDirectory(const char * path) { diff --git a/radio/src/targets/common/arm/stm32/bootloader/boot.cpp b/radio/src/targets/common/arm/stm32/bootloader/boot.cpp index c673818ae..3cbd43124 100644 --- a/radio/src/targets/common/arm/stm32/bootloader/boot.cpp +++ b/radio/src/targets/common/arm/stm32/bootloader/boot.cpp @@ -511,11 +511,11 @@ int bootloaderMain() #if defined(SPI_FLASH) } else if (state == ST_CLEAR_FLASH_CHECK) { 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++; } continue; } - if (event == EVT_KEY_REPT(KEY_UP) || event == EVT_KEY_FIRST(KEY_UP)) { + if (IS_PREVIOUS_EVENT(event)) { if (vpos > 0) { vpos--; } continue; } @@ -531,8 +531,6 @@ int bootloaderMain() } else if (state == ST_CLEAR_FLASH) { bootloaderDrawScreen(state, 0); lcdRefresh(); - if(event != EVT_KEY_BREAK(KEY_ENTER)) - continue; sdDone(); spiFlashDiskEraseAll(); sdInit(); diff --git a/radio/src/targets/horus/CMakeLists.txt b/radio/src/targets/horus/CMakeLists.txt index 8bac1e9af..00bd02d46 100644 --- a/radio/src/targets/horus/CMakeLists.txt +++ b/radio/src/targets/horus/CMakeLists.txt @@ -100,6 +100,10 @@ if (PCB STREQUAL X10) set(FLAVOUR tx16s) add_definitions(-DRADIO_TX16S) 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") option(BLUETOOTH "Support for bluetooth module" OFF) option(INTERNAL_GPS "Support for internal GPS" ON) diff --git a/radio/src/targets/horus/bootloader/boot_menu.cpp b/radio/src/targets/horus/bootloader/boot_menu.cpp index 32530d65c..36bdd618e 100644 --- a/radio/src/targets/horus/bootloader/boot_menu.cpp +++ b/radio/src/targets/horus/bootloader/boot_menu.cpp @@ -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); 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(124, 110, TR_BL_EXIT, BL_FOREGROUND); +#endif 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->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(); 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) { coord_t y = (LCD_H - BMP_USB_PLUGGED.height()) / 2; lcd->drawBitmap(136, y, (const BitmapBuffer*)&BMP_USB_PLUGGED); diff --git a/radio/src/targets/horus/hal.h b/radio/src/targets/horus/hal.h index c05836fa3..94016249f 100644 --- a/radio/src/targets/horus/hal.h +++ b/radio/src/targets/horus/hal.h @@ -726,7 +726,10 @@ #define SD_SDIO_CLK_DIV(fq) ((48000000 / (fq)) - 2) #define SD_SDIO_INIT_CLK_DIV SD_SDIO_CLK_DIV(400000) #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 #if defined(PCBX12S) && PCBREV >= 13 diff --git a/radio/src/translations/cn.h b/radio/src/translations/cn.h index 71fa3b97d..54ce0e9ce 100644 --- a/radio/src/translations/cn.h +++ b/radio/src/translations/cn.h @@ -1019,7 +1019,7 @@ #define TR_WIDGET_VALUE "数值" #endif -// Bootloader common - Ascii only +// Bootloader common - ASCII characters only #define TR_BL_USB_CONNECTED "USB Connected" #define TR_BL_USB_PLUGIN "Or plug in a USB cable" #define TR_BL_USB_MASS_STORE "for mass storage" @@ -1051,26 +1051,30 @@ #endif #if defined(PCBTARANIS) - // Bootloader Taranis specific - Ascii only + // Bootloader Taranis specific - ASCII characters only #define TR_BL_RESTORE_EEPROM "Restore EEPROM" #if defined(RADIO_COMMANDO8) #define TR_BL_POWER_KEY "Press the power button." #define TR_BL_FLASH_EXIT "Exit the flashing mode." #endif #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_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" #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_CURRENT_FW "Current Firmware:" #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 + // Bootloader PL18 specific - ASCII characters 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" diff --git a/radio/src/translations/cz.h b/radio/src/translations/cz.h index 053c4a51f..b7213a058 100644 --- a/radio/src/translations/cz.h +++ b/radio/src/translations/cz.h @@ -1065,19 +1065,23 @@ #endif #if defined(PCBTARANIS) - // Bootloader Taranis specific - Ascii only + // Bootloader Taranis specific - ASCII characters only #define TR_BL_RESTORE_EEPROM "Obnovit EEPROM" #if defined(RADIO_COMMANDO8) #define TR_BL_POWER_KEY "Stisknete tlacitko napajeni." #define TR_BL_FLASH_EXIT "Ukoncit rezim nahravani." #endif #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_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" #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_CURRENT_FW "Aktualni firmware:" #define TR_BL_SELECT_KEY "[R TRIM] pro vybrani souboru" @@ -1086,7 +1090,7 @@ #define TR_BL_ENABLE "Povoleno" #define TR_BL_DISABLE "Zakazano" #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_ERASE_INT_FLASH "Erase Internal Flash Storage" #define TR_BL_ERASE_FLASH "Erase Flash Storage" diff --git a/radio/src/translations/da.h b/radio/src/translations/da.h index 5856aa315..4f01b9783 100644 --- a/radio/src/translations/da.h +++ b/radio/src/translations/da.h @@ -1023,7 +1023,7 @@ #define TR_WIDGET_VALUE "Værdi" #endif -// Bootloader common - Ascii only +// Bootloader common - ASCII characters only #define TR_BL_USB_CONNECTED "USB forbundet" #define TR_BL_USB_PLUGIN "eller brug USB kabel" #define TR_BL_USB_MASS_STORE "for USB disk" @@ -1053,19 +1053,23 @@ #endif #if defined(PCBTARANIS) - // Bootloader Taranis specific - Ascii only + // Bootloader Taranis specific - ASCII characters only #define TR_BL_RESTORE_EEPROM "Genskab EEPROM" #if defined(RADIO_COMMANDO8) #define TR_BL_POWER_KEY "Tryk power knap." #define TR_BL_FLASH_EXIT "Forlad installation tilstand." #endif #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_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" #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_CURRENT_FW "Firmware version:" #define TR_BL_SELECT_KEY "[R TRIM] for at bruge fil" @@ -1074,7 +1078,7 @@ #define TR_BL_ENABLE "Aktiver" #define TR_BL_DISABLE "Deaktiver" #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_ERASE_INT_FLASH "Slet intern flash lager" #define TR_BL_ERASE_FLASH "Slet flash lager" diff --git a/radio/src/translations/de.h b/radio/src/translations/de.h index 87e77fc13..2ed11658b 100644 --- a/radio/src/translations/de.h +++ b/radio/src/translations/de.h @@ -1011,7 +1011,7 @@ #define TR_WIDGET_VALUE "Wert" #endif -// Bootloader common - Ascii only +// Bootloader common - ASCII characters only #define TR_BL_USB_CONNECTED "USB verbunden" #define TR_BL_USB_PLUGIN "oder USB-Kabel anschl." #define TR_BL_USB_MASS_STORE "für den SD-Speicher an" @@ -1041,19 +1041,23 @@ #endif #if defined(PCBTARANIS) - // Bootloader Taranis specific - Ascii only + // Bootloader Taranis specific - ASCII characters only #define TR_BL_RESTORE_EEPROM "EEPROM wiederherstellen" #if defined(RADIO_COMMANDO8) #define TR_BL_POWER_KEY "Drücke den Power Knopf." #define TR_BL_FLASH_EXIT "Verlasse den Flashmodus." #endif #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_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" #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_CURRENT_FW "Aktuelle Firmware:" #define TR_BL_SELECT_KEY "[R TRIM] um Datei auszuwählen" @@ -1062,7 +1066,7 @@ #define TR_BL_ENABLE "Aktivieren" #define TR_BL_DISABLE "Deaktivieren" #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_ERASE_INT_FLASH "Erase Internal Flash Storage" #define TR_BL_ERASE_FLASH "Erase Flash Storage" diff --git a/radio/src/translations/en.h b/radio/src/translations/en.h index f2e60b336..7f4740749 100644 --- a/radio/src/translations/en.h +++ b/radio/src/translations/en.h @@ -1022,7 +1022,7 @@ #define TR_WIDGET_VALUE "Value" #endif -// Bootloader common - Ascii only +// Bootloader common - ASCII characters only #define TR_BL_USB_CONNECTED "USB Connected" #define TR_BL_USB_PLUGIN "Or plug in a USB cable" #define TR_BL_USB_MASS_STORE "for mass storage" @@ -1052,19 +1052,23 @@ #endif #if defined(PCBTARANIS) - // Bootloader Taranis specific - Ascii only + // Bootloader Taranis specific - ASCII characters only #define TR_BL_RESTORE_EEPROM "Restore EEPROM" #if defined(RADIO_COMMANDO8) #define TR_BL_POWER_KEY "Press the power button." #define TR_BL_FLASH_EXIT "Exit the flashing mode." #endif #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_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" #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_CURRENT_FW "Current Firmware:" #define TR_BL_SELECT_KEY "[R TRIM] to select file" @@ -1073,7 +1077,7 @@ #define TR_BL_ENABLE "Enable" #define TR_BL_DISABLE "Disable" #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_ERASE_INT_FLASH "Erase Internal Flash Storage" #define TR_BL_ERASE_FLASH "Erase Flash Storage" diff --git a/radio/src/translations/es.h b/radio/src/translations/es.h index 9445ee79c..c1ee60eac 100644 --- a/radio/src/translations/es.h +++ b/radio/src/translations/es.h @@ -1021,7 +1021,7 @@ #define TR_WIDGET_VALUE "Value" #endif -// Bootloader common - Ascii only +// Bootloader common - ASCII characters only #define TR_BL_USB_CONNECTED "USB Connected" #define TR_BL_USB_PLUGIN "Or plug in a USB cable" #define TR_BL_USB_MASS_STORE "for mass storage" @@ -1051,19 +1051,23 @@ #endif #if defined(PCBTARANIS) - // Bootloader Taranis specific - Ascii only + // Bootloader Taranis specific - ASCII characters only #define TR_BL_RESTORE_EEPROM "Restore EEPROM" #if defined(RADIO_COMMANDO8) #define TR_BL_POWER_KEY "Press the power button." #define TR_BL_FLASH_EXIT "Exit the flashing mode." #endif #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_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" #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_CURRENT_FW "Current Firmware:" #define TR_BL_SELECT_KEY "[R TRIM] to select file" @@ -1072,7 +1076,7 @@ #define TR_BL_ENABLE "Enable" #define TR_BL_DISABLE "Disable" #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_ERASE_INT_FLASH "Erase Internal Flash Storage" #define TR_BL_ERASE_FLASH "Erase Flash Storage" diff --git a/radio/src/translations/fi.h b/radio/src/translations/fi.h index baf02669a..db570ab5e 100644 --- a/radio/src/translations/fi.h +++ b/radio/src/translations/fi.h @@ -1034,7 +1034,7 @@ #define TR_WIDGET_VALUE "Value" #endif -// Bootloader common - Ascii only +// Bootloader common - ASCII characters only #define TR_BL_USB_CONNECTED "USB Connected" #define TR_BL_USB_PLUGIN "Or plug in a USB cable" #define TR_BL_USB_MASS_STORE "for mass storage" @@ -1064,19 +1064,23 @@ #endif #if defined(PCBTARANIS) - // Bootloader Taranis specific - Ascii only + // Bootloader Taranis specific - ASCII characters only #define TR_BL_RESTORE_EEPROM "Restore EEPROM" #if defined(RADIO_COMMANDO8) #define TR_BL_POWER_KEY "Press the power button." #define TR_BL_FLASH_EXIT "Exit the flashing mode." #endif #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_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" #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_CURRENT_FW "Current Firmware:" #define TR_BL_SELECT_KEY "[R TRIM] to select file" @@ -1085,7 +1089,7 @@ #define TR_BL_ENABLE "Enable" #define TR_BL_DISABLE "Disable" #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_ERASE_INT_FLASH "Erase Internal Flash Storage" #define TR_BL_ERASE_FLASH "Erase Flash Storage" diff --git a/radio/src/translations/fr.h b/radio/src/translations/fr.h index adeb2aa82..52c4ebb11 100644 --- a/radio/src/translations/fr.h +++ b/radio/src/translations/fr.h @@ -1033,7 +1033,7 @@ #define TR_WIDGET_VALUE "Valeur" #endif -// Bootloader common - Ascii only +// Bootloader common - ASCII characters only #define TR_BL_USB_CONNECTED "USB Connecte" #define TR_BL_USB_PLUGIN "ou branchez cable USB" #define TR_BL_USB_MASS_STORE "pour stockage de masse" @@ -1063,19 +1063,23 @@ #endif #if defined(PCBTARANIS) - // Bootloader Taranis specific - Ascii only + // Bootloader Taranis specific - ASCII characters only #define TR_BL_RESTORE_EEPROM "Restaurer EEPROM" #if defined(RADIO_COMMANDO8) #define TR_BL_POWER_KEY "Appuyez sur le bouton power." #define TR_BL_FLASH_EXIT "Quitter mode flashage." #endif #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_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" #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_CURRENT_FW "Firmware actuel:" #define TR_BL_SELECT_KEY "[R TRIM] pour sélect. fichier" @@ -1084,7 +1088,7 @@ #define TR_BL_ENABLE "Activer" #define TR_BL_DISABLE "Désactiver" #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_ERASE_INT_FLASH "Erase Internal Flash Storage" #define TR_BL_ERASE_FLASH "Erase Flash Storage" diff --git a/radio/src/translations/he.h b/radio/src/translations/he.h index 67a87c9b5..a9678a14f 100644 --- a/radio/src/translations/he.h +++ b/radio/src/translations/he.h @@ -1023,7 +1023,7 @@ #define TR_WIDGET_VALUE "ערך" #endif -// Bootloader common - Ascii only +// Bootloader common - ASCII characters only #define TR_BL_USB_CONNECTED "USB Connected" #define TR_BL_USB_PLUGIN "Or plug in a USB cable" #define TR_BL_USB_MASS_STORE "for mass storage" @@ -1053,19 +1053,23 @@ #endif #if defined(PCBTARANIS) - // Bootloader Taranis specific - Ascii only + // Bootloader Taranis specific - ASCII characters only #define TR_BL_RESTORE_EEPROM "Restore EEPROM" #if defined(RADIO_COMMANDO8) #define TR_BL_POWER_KEY "Press the power button." #define TR_BL_FLASH_EXIT "Exit the flashing mode." #endif #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_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" #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_CURRENT_FW "Current Firmware:" #define TR_BL_SELECT_KEY "[R TRIM] to select file" @@ -1074,7 +1078,7 @@ #define TR_BL_ENABLE "Enable" #define TR_BL_DISABLE "Disable" #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_ERASE_INT_FLASH "Erase Internal Flash Storage" #define TR_BL_ERASE_FLASH "Erase Flash Storage" diff --git a/radio/src/translations/it.h b/radio/src/translations/it.h index dfab54039..409b75b49 100644 --- a/radio/src/translations/it.h +++ b/radio/src/translations/it.h @@ -1048,19 +1048,23 @@ #endif #if defined(PCBTARANIS) - // Bootloader Taranis specific + // Bootloader Taranis specific - ASCII characters only #define TR_BL_RESTORE_EEPROM "Ripristino EEPROM" #if defined(RADIO_COMMANDO8) #define TR_BL_POWER_KEY "Premi il bottone d'accensione" #define TR_BL_FLASH_EXIT "Esci dal modo scrittura." #endif #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_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" #elif defined(PCBNV14) - // Bootloader NV14 specific + // Bootloader NV14 specific - ASCII characters only #define TR_BL_RF_USB_ACCESS "RF Accesso USB" #define TR_BL_CURRENT_FW "Firmware corrente:" #define TR_BL_SELECT_KEY "[R TRIM] per scegliere il file" @@ -1069,7 +1073,7 @@ #define TR_BL_ENABLE "Abilita" #define TR_BL_DISABLE "Disabilita" #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_ERASE_INT_FLASH "Erase Internal Flash Storage" #define TR_BL_ERASE_FLASH "Erase Flash Storage" diff --git a/radio/src/translations/jp.h b/radio/src/translations/jp.h index 3680ebacd..61af4f073 100644 --- a/radio/src/translations/jp.h +++ b/radio/src/translations/jp.h @@ -1023,7 +1023,7 @@ #define TR_WIDGET_VALUE "値" #endif -// Bootloader common - Ascii only +// Bootloader common - ASCII characters only #define TR_BL_USB_CONNECTED "USB Connected" #define TR_BL_USB_PLUGIN "Or plug in a USB cable" #define TR_BL_USB_MASS_STORE "for mass storage" @@ -1053,19 +1053,23 @@ #endif #if defined(PCBTARANIS) - // Bootloader Taranis specific - Ascii only + // Bootloader Taranis specific - ASCII characters only #define TR_BL_RESTORE_EEPROM "Restore EEPROM" #if defined(RADIO_COMMANDO8) #define TR_BL_POWER_KEY "Press the power button." #define TR_BL_FLASH_EXIT "Exit the flashing mode." #endif #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_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" #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_CURRENT_FW "Current Firmware:" #define TR_BL_SELECT_KEY "[R TRIM] to select file" @@ -1074,7 +1078,7 @@ #define TR_BL_ENABLE "Enable" #define TR_BL_DISABLE "Disable" #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_ERASE_INT_FLASH "Erase Internal Flash Storage" #define TR_BL_ERASE_FLASH "Erase Flash Storage" diff --git a/radio/src/translations/nl.h b/radio/src/translations/nl.h index 839787b06..3578fe992 100644 --- a/radio/src/translations/nl.h +++ b/radio/src/translations/nl.h @@ -1026,7 +1026,7 @@ #define TR_WIDGET_VALUE "Value" #endif -// Bootloader common - Ascii only +// Bootloader common - ASCII characters only #define TR_BL_USB_CONNECTED "USB Connected" #define TR_BL_USB_PLUGIN "Or plug in a USB cable" #define TR_BL_USB_MASS_STORE "for mass storage" @@ -1056,19 +1056,23 @@ #endif #if defined(PCBTARANIS) - // Bootloader Taranis specific - Ascii only + // Bootloader Taranis specific - ASCII characters only #define TR_BL_RESTORE_EEPROM "Restore EEPROM" #if defined(RADIO_COMMANDO8) #define TR_BL_POWER_KEY "Press the power button." #define TR_BL_FLASH_EXIT "Exit the flashing mode." #endif #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_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" #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_CURRENT_FW "Current Firmware:" #define TR_BL_SELECT_KEY "[R TRIM] to select file" @@ -1077,7 +1081,7 @@ #define TR_BL_ENABLE "Enable" #define TR_BL_DISABLE "Disable" #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_ERASE_INT_FLASH "Erase Internal Flash Storage" #define TR_BL_ERASE_FLASH "Erase Flash Storage" diff --git a/radio/src/translations/pl.h b/radio/src/translations/pl.h index dc46d545a..4b198f4dc 100644 --- a/radio/src/translations/pl.h +++ b/radio/src/translations/pl.h @@ -1021,7 +1021,7 @@ #define TR_WIDGET_VALUE "Wartość" #endif -// Bootloader common - Ascii only +// Bootloader common - ASCII characters only #define TR_BL_USB_CONNECTED "USB polaczone" #define TR_BL_USB_PLUGIN "lub podlacz kabel USB" #define TR_BL_USB_MASS_STORE "dla trybu danych" @@ -1051,19 +1051,23 @@ #endif #if defined(PCBTARANIS) - // Bootloader Taranis specific - Ascii only + // Bootloader Taranis specific - ASCII characters only #define TR_BL_RESTORE_EEPROM "Przywroc EEPROM" #if defined(RADIO_COMMANDO8) #define TR_BL_POWER_KEY "Nacisnij przycisk Power" #define TR_BL_FLASH_EXIT "Wyjdz z trybu flashowania" #endif #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_FLASH_KEY "Przytrzymaj [ENT] aby flashowac" + #define TR_BL_ERASE_KEY "Hold [ENT] long to erase" #define TR_BL_EXIT_KEY "[RTN] aby wyjsc" #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_CURRENT_FW "Obecny firmware:" #define TR_BL_SELECT_KEY "[R TRIM] aby wybrac plik" @@ -1072,7 +1076,7 @@ #define TR_BL_ENABLE "Enable" #define TR_BL_DISABLE "Disable" #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_ERASE_INT_FLASH "Erase Internal Flash Storage" #define TR_BL_ERASE_FLASH "Erase Flash Storage" diff --git a/radio/src/translations/pt.h b/radio/src/translations/pt.h index 4c10c697f..53afaaffa 100644 --- a/radio/src/translations/pt.h +++ b/radio/src/translations/pt.h @@ -1027,7 +1027,7 @@ #define TR_WIDGET_VALUE "Value" #endif -// Bootloader common - Ascii only +// Bootloader common - ASCII characters only #define TR_BL_USB_CONNECTED "USB Connected" #define TR_BL_USB_PLUGIN "Or plug in a USB cable" #define TR_BL_USB_MASS_STORE "for mass storage" @@ -1057,19 +1057,23 @@ #endif #if defined(PCBTARANIS) - // Bootloader Taranis specific - Ascii only + // Bootloader Taranis specific - ASCII characters only #define TR_BL_RESTORE_EEPROM "Restore EEPROM" #if defined(RADIO_COMMANDO8) #define TR_BL_POWER_KEY "Press the power button." #define TR_BL_FLASH_EXIT "Exit the flashing mode." #endif #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_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" #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_CURRENT_FW "Current Firmware:" #define TR_BL_SELECT_KEY "[R TRIM] to select file" @@ -1078,7 +1082,7 @@ #define TR_BL_ENABLE "Enable" #define TR_BL_DISABLE "Desativar" #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_ERASE_INT_FLASH "Erase Internal Flash Storage" #define TR_BL_ERASE_FLASH "Erase Flash Storage" diff --git a/radio/src/translations/ru.h b/radio/src/translations/ru.h index f256b9600..124e42ca7 100644 --- a/radio/src/translations/ru.h +++ b/radio/src/translations/ru.h @@ -1026,7 +1026,7 @@ #define TR_WIDGET_VALUE "Значение" #endif -// Bootloader common - Ascii only +// Bootloader common - ASCII characters only #define TR_BL_USB_CONNECTED "USB Connected" #define TR_BL_USB_PLUGIN "Or plug in a USB cable" #define TR_BL_USB_MASS_STORE "for mass storage" @@ -1056,19 +1056,23 @@ #endif #if defined(PCBTARANIS) - // Bootloader Taranis specific - Ascii only + // Bootloader Taranis specific - ASCII characters only #define TR_BL_RESTORE_EEPROM "Restore EEPROM" #if defined(RADIO_COMMANDO8) #define TR_BL_POWER_KEY "Press the power button." #define TR_BL_FLASH_EXIT "Exit the flashing mode." #endif #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_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" #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_CURRENT_FW "Current Firmware:" #define TR_BL_SELECT_KEY "[R TRIM] to select file" @@ -1077,7 +1081,7 @@ #define TR_BL_ENABLE "Enable" #define TR_BL_DISABLE "Disable" #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_ERASE_INT_FLASH "Erase Internal Flash Storage" #define TR_BL_ERASE_FLASH "Erase Flash Storage" diff --git a/radio/src/translations/se.h b/radio/src/translations/se.h index 42a008bb2..cfb155347 100644 --- a/radio/src/translations/se.h +++ b/radio/src/translations/se.h @@ -1078,19 +1078,23 @@ #endif #if defined(PCBTARANIS) - // Bootloader Taranis specific + // Bootloader Taranis specific - ASCII characters only #define TR_BL_RESTORE_EEPROM "Aaterställ EEPROM" #if defined(RADIO_COMMANDO8) #define TR_BL_POWER_KEY "Tryck paa startknappen." #define TR_BL_FLASH_EXIT "Avsluta flashningsläget." #endif #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_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" #elif defined(PCBNV14) - // Bootloader NV14 specific + // Bootloader NV14 specific - ASCII characters only #define TR_BL_RF_USB_ACCESS "RF USB access" #define TR_BL_CURRENT_FW "Nuvarande firmware:" #define TR_BL_SELECT_KEY "[R TRIM] foer att vaelja fil" @@ -1099,7 +1103,7 @@ #define TR_BL_ENABLE "Aktivera" #define TR_BL_DISABLE "Inaktivera" #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_ERASE_INT_FLASH "Radera interna flashminnet" #define TR_BL_ERASE_FLASH "Radera flashminnet" diff --git a/radio/src/translations/tw.h b/radio/src/translations/tw.h index 4b00dd5c5..671132e34 100644 --- a/radio/src/translations/tw.h +++ b/radio/src/translations/tw.h @@ -1024,7 +1024,7 @@ #define TR_WIDGET_VALUE "數值" #endif -// Bootloader common - Ascii only +// Bootloader common - ASCII characters only #define TR_BL_USB_CONNECTED "USB Connected" #define TR_BL_USB_PLUGIN "Or plug in a USB cable" #define TR_BL_USB_MASS_STORE "for mass storage" @@ -1054,19 +1054,23 @@ #endif #if defined(PCBTARANIS) - // Bootloader Taranis specific - Ascii only + // Bootloader Taranis specific - ASCII characters only #define TR_BL_RESTORE_EEPROM "Restore EEPROM" #if defined(RADIO_COMMANDO8) #define TR_BL_POWER_KEY "Press the power button." #define TR_BL_FLASH_EXIT "Exit the flashing mode." #endif #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_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" #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_CURRENT_FW "Current Firmware:" #define TR_BL_SELECT_KEY "[R TRIM] to select file" @@ -1075,7 +1079,7 @@ #define TR_BL_ENABLE "Enable" #define TR_BL_DISABLE "Disable" #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_ERASE_INT_FLASH "Erase Internal Flash Storage" #define TR_BL_ERASE_FLASH "Erase Flash Storage" diff --git a/radio/src/translations/ua.h b/radio/src/translations/ua.h index f3ad6a3b0..3d09a0982 100644 --- a/radio/src/translations/ua.h +++ b/radio/src/translations/ua.h @@ -1026,7 +1026,7 @@ #define TR_WIDGET_VALUE "Значення" #endif -// Bootloader common - Ascii only +// Bootloader common - ASCII characters only #define TR_BL_USB_CONNECTED "USB Connected" #define TR_BL_USB_PLUGIN "Or plug in a USB cable" #define TR_BL_USB_MASS_STORE "for mass storage" @@ -1056,19 +1056,19 @@ #endif #if defined(PCBTARANIS) - // Bootloader Taranis specific - Ascii only + // Bootloader Taranis specific - ASCII characters only #define TR_BL_RESTORE_EEPROM "Restore EEPROM" #if defined(RADIO_COMMANDO8) #define TR_BL_POWER_KEY "Press the power button." #define TR_BL_FLASH_EXIT "Exit the flashing mode." #endif #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_FLASH_KEY "Hold [ENT] long to flash" #define TR_BL_EXIT_KEY "[RTN] to exit" #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_CURRENT_FW "Current Firmware:" #define TR_BL_SELECT_KEY "[R TRIM] to select file" @@ -1077,7 +1077,7 @@ #define TR_BL_ENABLE "Enable" #define TR_BL_DISABLE "Disable" #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_ERASE_INT_FLASH "Erase Internal Flash Storage" #define TR_BL_ERASE_FLASH "Erase Flash Storage"