Fix flash driver for proper SIO ops

Set SPI peripheral to SIO mode for all operations except READ.
Set back SPI Peripheral to DIO after said operation.
This commit is contained in:
bennydiamond committed 2026-09-13 01:40:26 -04:00
1 parent 6488433584
commit 3ec9319d77
2 files changed
+101 -93

No files matched your search

-1
View File
@@ -13,7 +13,6 @@
void flash_init(uint8_t enable_dio);
void flash_read_uid(void);
void flash_write_enable(void);
void flash_dump(uint8_t len);
void flash_read_jedecid(void);
void flash_read_security(void);