eblot / pyspiflash

SPI data flash device drivers (pure Python)
MIT License
39 stars 30 forks source link

Winbond W25Q128 flash (16 MiB) #2

Closed axel-h closed 8 years ago

axel-h commented 8 years ago

Please add the Winbond W25Q128 flash (16 MiB). It works nicely with the existing code, so it's basically just extending one line

class W25xFlashDevice(_Gen25FlashDevice):
    ...
    SIZES = { ... 0x18:  16 << 20  #  16 MiB }
axel-h commented 8 years ago

Supported now, thanks. https://github.com/eblot/pyspiflash/commit/bdacc378d032aaae733a929470026c52abfd69d5