mirror of
https://github.com/logicog/RTLPlayground.git
synced 2026-10-29 17:54:14 +08:00
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:
1 parent
6488433584
commit
3ec9319d77
2 files changed
+101
-93
No files matched your search
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user