-
Notifications
You must be signed in to change notification settings - Fork 1.7k
RADIOLINKF722: add w25q128 flash #11232
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
Branch Targeting SuggestionYou've targeted the
If This is an automated suggestion to help route contributions to the appropriate branch. |
PR Compliance Guide 🔍All compliance sections have been disabled in the configurations. |
| #define W25N01G_SPI_BUS BUS_SPI3 | ||
| #define W25N01G_CS_PIN PD2 | ||
|
|
||
| #define M25P16_SPI_BUS BUS_SPI3 | ||
| #define M25P16_CS_PIN PD2 | ||
|
|
||
| #define USE_BLACKBOX | ||
| #define USE_FLASHFS | ||
| #define USE_FLASH_M25P16 | ||
| #define USE_FLASH_W25N01G |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Suggestion: Resolve a critical SPI bus conflict by removing the definitions for the older W25N01G flash chip, as it shares the same bus and chip-select pin as the newly added M25P16. [possible issue, importance: 10]
| #define W25N01G_SPI_BUS BUS_SPI3 | |
| #define W25N01G_CS_PIN PD2 | |
| #define M25P16_SPI_BUS BUS_SPI3 | |
| #define M25P16_CS_PIN PD2 | |
| #define USE_BLACKBOX | |
| #define USE_FLASHFS | |
| #define USE_FLASH_M25P16 | |
| #define USE_FLASH_W25N01G | |
| #define M25P16_SPI_BUS BUS_SPI3 | |
| #define M25P16_CS_PIN PD2 | |
| #define USE_BLACKBOX | |
| #define USE_FLASHFS | |
| #define USE_FLASH_M25P16 |
PR Type
Enhancement
Description
Add M25P16 flash memory support alongside existing W25N01G
Configure M25P16 on SPI3 bus with chip select pin PD2
Enable M25P16 flash driver in blackbox configuration
Diagram Walkthrough
File Walkthrough
target.h
Add M25P16 flash memory configurationsrc/main/target/RADIOLINKF722/target.h
select pin