Skip to content

Commit 78ab322

Browse files
authored
Merge pull request #645 from ND-00/patch-1
add Adesto AT25DF321A support
2 parents daa8f26 + 570b790 commit 78ab322

1 file changed

Lines changed: 16 additions & 1 deletion

File tree

src/spiFlashdb.hpp

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -813,7 +813,22 @@ static std::map <uint32_t, flash_t> flash_list = {
813813
.quad_mask = (1 << 1),
814814
.global_lock = false,
815815
}},
816-
816+
{0x1f4701, {
817+
.manufacturer = "Adesto",
818+
.model = "AT25DF321A",
819+
.nr_sector = 64,
820+
.sector_erase = true,
821+
.subsector_erase = true,
822+
.has_extended = false,
823+
.tb_otp = false,
824+
.tb_offset = (1 << 3),
825+
.tb_register = STATR,
826+
.bp_len = 3,
827+
.bp_offset = {(1 << 2), (1 << 3), (1 << 4), 0},
828+
.quad_register = NONER,
829+
.quad_mask = 0,
830+
.global_lock = false,
831+
}},
817832
};
818833

819834
#endif // SRC_SPIFLASHDB_HPP_

0 commit comments

Comments
 (0)