]> granicus.if.org Git - esp-idf/commitdiff
Merge branch 'bugfix/spi_flash_region' into 'master'
authorAngus Gratton <angus@espressif.com>
Fri, 25 Nov 2016 02:11:51 +0000 (10:11 +0800)
committerAngus Gratton <angus@espressif.com>
Fri, 25 Nov 2016 02:11:51 +0000 (10:11 +0800)
spi_flash_erase_range: Allow for 32KB blocks not 64KB blocks

SPI flash hardware sends 52h command, which is a 32KB erase.

There is a matching bug in the ROM SPIEraseArea code, unless
flashchip->block_size is modified first.

See merge request !249


Trivial merge