Skip to content

Add support for SPIF of size bigger than 16Mbyte #10779

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

Merged
merged 2 commits into from
Jun 14, 2019

Conversation

martinichka
Copy link
Contributor

Description

Current SPIF Block Devices driver was limited by 16Mbyte due to the 3 byte addressing used. This PR add a check on the size. If bigger than 16M it switches the flash chip to 4 byte address mode.

Pull request type

[ ] Fix
[ ] Refactor
[x] Target update
[ ] Functionality change
[ ] Docs update
[ ] Test update
[ ] Breaking change

Reviewers

Release Notes

- checks if size is bigger than 16Mbyte
- changes to 4 byte address mode of neccessary
@ciarmcom ciarmcom requested review from a team June 6, 2019 15:00
@ciarmcom
Copy link
Member

ciarmcom commented Jun 6, 2019

@martinichka, thank you for your changes.
@ARMmbed/mbed-os-storage @ARMmbed/mbed-os-maintainers please review.

@0xc0170 0xc0170 changed the title Added support for SPIF of size bigger than 16Mbyte Add support for SPIF of size bigger than 16Mbyte Jun 7, 2019
Copy link
Contributor

@0xc0170 0xc0170 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As noted, please fix styling issues (see astyle travis job)

@0xc0170
Copy link
Contributor

0xc0170 commented Jun 13, 2019

CI started

@mbed-ci
Copy link

mbed-ci commented Jun 13, 2019

Test run: SUCCESS

Summary: 11 of 11 test jobs passed
Build number : 1
Build artifacts

@0xc0170 0xc0170 merged commit 1803561 into ARMmbed:master Jun 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants