-
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
STM32WB: Update Flash size #10479
STM32WB: Update Flash size #10479
Conversation
@LMESTM, thank you for your changes. |
Hi
and
? |
Yes I will update this one.
This one doesn't need update and is already right. |
PR updated |
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.
ST CI tests executed.
Some tests becomes FAIL.
The failures will be fixed within this PR? Or is this related to recent flash/kvstore failures (fixed today) ? |
1b87f6f
to
c4bc6be
Compare
the flash is shared and split between cortex-M4 that runs (mbed-os) application and the cortex-M0+ that runs the BLE firmware. The 512K allocated to the application was a conservative that can now be updated. With recent up-to-date BLE firmware flashed @ 0x080CB000, there should be 812K available to application. But there are boards out there that don't have an up-to-date firmware, so we're keeping an intermediate, safer, application size of 768K.
By default, FLASH_SIZE should be read from HW. In case this is not the case, we define it here, as the size of FLASH that is available to the application running on M4.
c4bc6be
to
fcc375f
Compare
@jeromecoutant are you happy with the updates ? |
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.
Minor comment for Laurent:
Maybe PR description should be updated ?
Thx, done |
Note: I added a commit to fix a missing size update |
CI started |
Test run: SUCCESSSummary: 11 of 11 test jobs passed |
Description
The flash is shared and split between cortex-M4 that
runs (mbed-os) application and the cortex-M0+ that
runs the BLE Low-level firmware stack.
The 512K allocated to the application was a conservative value
EDIT:
that can now be updated with official ; 768KB as BLE firmware is being flashed strating from @ 0x080C0000 (or further address).
Pull request type
Reviewers
@jeromecoutant
Release Notes