fix: Detect FRAM ROMs

This commit is contained in:
Rekai Nyangadzayi Musuka 2022-10-21 05:13:01 -03:00
parent 2bbc12cd1a
commit 7cad3aca13
1 changed files with 2 additions and 1 deletions

View File

@ -5,9 +5,10 @@ const log = std.log.scoped(.Backup);
const escape = @import("../util.zig").escape; const escape = @import("../util.zig").escape;
const span = @import("../util.zig").span; const span = @import("../util.zig").span;
const backup_kinds = [5]Needle{ const backup_kinds = [6]Needle{
.{ .str = "EEPROM_V", .kind = .Eeprom }, .{ .str = "EEPROM_V", .kind = .Eeprom },
.{ .str = "SRAM_V", .kind = .Sram }, .{ .str = "SRAM_V", .kind = .Sram },
.{ .str = "SRAM_F_V", .kind = .Sram },
.{ .str = "FLASH_V", .kind = .Flash }, .{ .str = "FLASH_V", .kind = .Flash },
.{ .str = "FLASH512_V", .kind = .Flash }, .{ .str = "FLASH512_V", .kind = .Flash },
.{ .str = "FLASH1M_V", .kind = .Flash1M }, .{ .str = "FLASH1M_V", .kind = .Flash1M },