Skip to content

Commit

Permalink
Add page size and pages per block for the MT29F1 series of chips
Browse files Browse the repository at this point in the history
  • Loading branch information
Teesmo committed Oct 31, 2024
1 parent 2de9ba0 commit 2c3908d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions spi_nand_flash/src/nand.c
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,8 @@ static esp_err_t spi_nand_micron_init(spi_nand_flash_device_t *dev)
dev->read_page_delay_us = 46;
dev->program_page_delay_us = 220;
dev->dhara_nand.num_blocks = 1024;
dev->dhara_nand.log2_ppb = 6; // 64 pages per block
dev->dhara_nand.log2_page_size = 11; // 2048 bytes per page
break;
default:
return ESP_ERR_INVALID_RESPONSE;
Expand Down

0 comments on commit 2c3908d

Please sign in to comment.