优化实现W25Qxx板级驱动

This commit is contained in:
冯佳
2026-01-23 11:15:05 +08:00
parent 5dce1bf382
commit 0a30f956b4
7 changed files with 545 additions and 542 deletions

View File

@ -84,6 +84,7 @@ bool w25qxx_init(const w25qxx_spi_interface_t *interface) {
g_device_info.capacity = 1 * 1024 * 1024;
break;
case 0x4014: /* W25Q16 */
case 0x0015: /* W25Q16 in some versions or alternative ID */
g_device_info.capacity = 2 * 1024 * 1024;
break;
case 0x4015: /* W25Q32 */