Skip to content
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 configurable status register number in mbed_lib.json for QSPIBlockDevice driver to support different Flash EPN #15493

Merged
merged 1 commit into from
May 27, 2024

Conversation

daniel-0723
Copy link

@daniel-0723 daniel-0723 commented Feb 28, 2024

Summary of changes

For Mbed QSPIBlockDevice Driver, it hard-codes that the number of status register is 3 when detected the Macronix Flash. But for most of Macronix QSPI Flash, it only has 2 status register. So, we add a configurable parameter for QSPIBlockDevice driver in mbed_lib.json file, user can overwrite this parameter to configure the number of status register for specific Flash EPN.

Impact of changes

Add configurable status register number in mbed_lib.json

Migration actions required

Documentation


Pull request type

[x] Patch update (Bug fix / Target update / Docs update / Test update / Refactor)
[] Feature update (New feature / Functionality change / New API)
[] Major update (Breaking change E.g. Return code change / API behaviour change)

Test results

[x] No Tests required for this change (E.g docs only update)
[] Covered by existing mbed-os tests (Greentea or Unittest)
[] Tests / results supplied as part of this PR  

Reviewers


@daniel-0723 daniel-0723 changed the title Add configurable status reigster number in mbed_lib.json for QSPIBlockDevice driver to support different Flash EPN Add configurable status register number in mbed_lib.json for QSPIBlockDevice driver to support different Flash EPN Feb 29, 2024
@0xc0170 0xc0170 added needs: CI release-type: patch Indentifies a PR as containing just a patch labels Mar 12, 2024
@0xc0170
Copy link
Contributor

0xc0170 commented Mar 14, 2024

CI started

@mergify mergify bot added needs: work and removed needs: CI labels Mar 14, 2024
@mbed-ci
Copy link

mbed-ci commented Mar 14, 2024

Jenkins CI Test : ❌ FAILED

Build Number: 1 | 🔒 Jenkins CI Job | 🌐 Logs & Artifacts

CLICK for Detailed Summary

jobs Status
jenkins-ci/mbed-os-ci_unittests
jenkins-ci/mbed-os-ci_build-cloud-example-ARM
jenkins-ci/mbed-os-ci_build-cloud-example-GCC_ARM
jenkins-ci/mbed-os-ci_build-greentea-ARM
jenkins-ci/mbed-os-ci_build-greentea-GCC_ARM
jenkins-ci/mbed-os-ci_build-example-GCC_ARM
jenkins-ci/mbed-os-ci_build-example-ARM

@0xc0170 0xc0170 merged commit 869f0d7 into ARMmbed:master May 27, 2024
10 of 19 checks passed
@mergify mergify bot removed the ready for merge label May 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release-type: patch Indentifies a PR as containing just a patch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants