Skip to content

Commit 2c9854d

Browse files
Merge pull request iNavFlight#11166 from sensei-hacker/add-puya-py25q128ha-flash-support
Add support for Puya PY25Q128HA flash chip
2 parents 8b58427 + 5c3f1be commit 2c9854d

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

docs/Blackbox.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,7 @@ These chips are also supported:
120120
* Winbond W25Q64 - 64 Mbit / 8 MByte
121121
* Micron N25Q0128 - 128 Mbit / 16 MByte
122122
* Winbond W25Q128 - 128 Mbit / 16 MByte
123+
* Puya PY25Q128HA - 128 Mbit / 16 MByte
123124
* Winbond W25N01 - 1 Gbit / 128 MByte
124125
* Winbond W25N02 - 2 Gbit / 256 MByte
125126

src/main/drivers/flash_m25p16.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,9 @@ struct {
9999
// Winbond W25Q128_DTR
100100
// Datasheet: https://www.winbond.com/resource-files/w25q128jv%20dtr%20revb%2011042016.pdf
101101
{0xEF7018, 256, 256},
102+
// Puya PY25Q128HA
103+
// Datasheet: https://www.puyasemi.com/cpzx3/info_271_itemid_87.html
104+
{0x856018, 256, 256},
102105
// Winbond W25Q256
103106
// Datasheet: https://www.winbond.com/resource-files/w25q256jv%20spi%20revb%2009202016.pdf
104107
{0xEF4019, 512, 256},

0 commit comments

Comments
 (0)