Enable flash#434
Conversation
|
build_prs #434 vivoblueos/external#27 |
|
Job is started, see https://github.com/vivoblueos/kernel/actions/runs/28585965485. |
|
❌ Job failed. Failed jobs: build_and_check_boards (failure), see https://github.com/vivoblueos/kernel/actions/runs/28585965485. |
|
build_prs #434 vivoblueos/external#27 |
|
Job is started, see https://github.com/vivoblueos/kernel/actions/runs/28586350982. |
|
✅ All jobs completed successfully, see https://github.com/vivoblueos/kernel/actions/runs/28586350982. |
|
There was a problem hiding this comment.
We need to confirm whether these commands are specific to the W25Q80 or are generic (common to other flash chips).
There was a problem hiding this comment.
These command codes are JEDEC 25-series SPI NOR Flash standard commands, not specific to the W25Q80. The file header is marked with //! JEDEC 25-series SPI NOR Flash command layer., consistent with the Winbond W25Q80 datasheet, and also applicable to chips conforming to the same standard, such as W25Q64 / W25Q128.
Refer to the Linux kernel include/linux/mtd/spi-nor.h: https://raw.githubusercontent.com/torvalds/linux/master/include/linux/mtd/spi-nor.h
Enable to read and write nor-flash. It has been verified by connecting W25Q64 in ESP32C3. Note:
CS : GPIO5,
DI : GPIO9,
DO : GPIO10,
CLK : GPIO8.