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
+9 -5
View File
@@ -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"