- 
                Notifications
    You must be signed in to change notification settings 
- Fork 3k
add ondie and software ECC code to SPI NAND block device driver #15242
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
| @rogeryou, thank you for your changes. | 
        
          
                targets/targets.json
              
                Outdated
          
        
      | ], | ||
| "components_add": [ | ||
| "OSPIF" | ||
| "SPINAND" | 
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.
Hi
Maybe you have worked with DISCO_L4R9I, but I think this is not supported with default HW ?
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.
Yes, default DISCO_L4R9I is not supported SPI NAND Flash. I replace MX25LM51245G with MX31LF4GE4BC.
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.
Hi @jeromecoutant , since Mbed has ended its life, then which RTOS or platforms will new STM32 MCUs be promoted and supported to?
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.
Hi
Zephyr  is fully supported for all STM32
8b49682    to
    0d1d09b      
    Compare
  
    Pull request has been modified.
0c5050c    to
    57cf5cf      
    Compare
  
    57cf5cf    to
    b9f23ba      
    Compare
  
    | #include <stdlib.h> | ||
| #include <string.h> | ||
| #include "bch.h" | ||
|  | 
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.
Not a single comment in the whole file?
| What shall we do with this PR?? As I commented earlier today in another PR, we have been merging bug fixes rather than feature/major updates. | 
Summary of changes
Add ondie and software ECC code to SPI NAND block device driver for using ondie ECC function of SPI NAND Flash like Macronix Flash MX31LF4GE4BC or external ECC.
Impact of changes
Migration actions required
Documentation
Pull request type
Test results
his driver is tested on DISCO_L4R9I. The flash on this board is MX31LF4GE4BC. You need to replace it with MX31LF4GE4BC.
mbedgt: test case summary: 19 passes, 0 failures
mbedgt: all tests finished!
mbedgt: shuffle seed: 0.2715403632
mbedgt: test suite report:
Reviewers