-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Add OSPI driver to support the Octa mode of Macronix octaflash MX25LM51245G #12644
Conversation
@rogeryou, thank you for your changes. |
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.
I could test quickly:
- new test: tests-mbed_hal-ospi is OK
- regression test: tests-mbed_hal-qspi is still OK
- but with features-storage-tests-blockdevice-general_block_device => got crash...
#endif | ||
|
||
#include "mbed_trace.h" | ||
#define TRACE_GROUP "OSPIF" |
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.
Only 4 characters are allowed for TRACE_GROUP
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.
' #define TRACE_GROUP "OSPIF" " is copy from '#define TRACE_GROUP "QSPIF" ' in QSPIFBlockDevice.cpp .
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.
' #define TRACE_GROUP "OSPIF" " is copy from '#define TRACE_GROUP "QSPIF" ' in QSPIFBlockDevice.cpp .
That one should also be fixed but I'm happy if you just fix the new one.
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.
Could you tell me how i can fix it ?
Thanks!
@jeromecoutant @VeijoPesonen
@0xc0170 Let's start CI? |
This PR cannot be merged due to conflicts. Please rebase to resolve them. |
@rogeryou let's solve conflicts and then let's merge !? |
Rebase would be good but we need first @ARMmbed/mbed-os-hal approval. Please read (I recall asking one question you might have as well #12644 (review) ) |
This PR cannot be merged due to conflicts. Please rebase to resolve them. |
1 similar comment
This PR cannot be merged due to conflicts. Please rebase to resolve them. |
9bc7e7a
to
829a7dd
Compare
This PR cannot be merged due to conflicts. Please rebase to resolve them. |
829a7dd
to
272f37e
Compare
272f37e
to
48524f2
Compare
I have rebased and solved the conflicts. |
@0xc0170 Can we start CI ? |
CI started |
Jenkins CI Test : ✔️ SUCCESSBuild Number: 1 | 🔒 Jenkins CI Job | 🌐 Logs & ArtifactsCLICK for Detailed Summary
|
Summary of changes
Update PR #12619.
Add OSPI HAL driver and OSPIF block device driver for using Macronix octaflash MX25LM51245G.
ST Octo-SPI was ported on QSPI MBED API, but we can only use in SPI mode and the Octo mode is not supported. So, we add OSPI driver to enable Octo mode to improve read and write performance.
Impact of changes
Enable the octa mode of MX25LM51245G.
Migration actions required
N/A
Documentation
N/A
Pull request type
Test results
OSPI HAL test was executed.
OSPIF driver test was executed.
Reviewers