-
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: improve FLASH size #14692
STM32WB: improve FLASH size #14692
Conversation
Default BLE FW in ST boards is stm32wb5x_BLE_Stack_full_fw.bin and gives 808K available FLASH to application stm32wb5x_BLE_HCILayer_fw.bin gives 896K available FLASH to application
@jeromecoutant, 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.
Juts one question
tr_info("WIRELESS COPROCESSOR FW STACK TYPE = %d", p_wireless_info->StackType); | ||
tr_info("WIRELESS COPROCESSOR FW STACK TYPE = %d (ROM size 0x%x)", p_wireless_info->StackType, MBED_ROM_SIZE); | ||
|
||
#if STM32WB55xx |
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.
why is this part of code limited to WB55xx (not applicable at other derivatives ? )
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, for coming STM32WB15 for ex, only HCI FW will be supported, and FW size is different
@ARMmbed/mbed-os-maintainers let's start CI ? |
@pan- FYI |
Ci started |
Jenkins CI Test : ❌ FAILEDBuild Number: 1 | 🔒 Jenkins CI Job | 🌐 Logs & ArtifactsCLICK for Detailed Summary
|
@0xc0170 Is CLI using the latest version of tools ? |
@jeromecoutant What version is required? What did you test this with? |
#if STM32WB55xx | ||
switch (p_wireless_info->StackType) { | ||
case INFO_STACK_TYPE_BLE_FULL: | ||
if (MBED_ROM_SIZE > 0xCA000) { |
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.
This does not depends on the stack version ? The size in ROM is guaranteed to stay the same ?
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, if size is changing, test would need to add a version condition
This needs Tested OK with $ mbedtools --version |
Jenkins CI Test : ✔️ SUCCESSBuild Number: 2 | 🔒 Jenkins CI Job | 🌐 Logs & ArtifactsCLICK for Detailed Summary
|
Summary of changes
STM32WB is a dual core MCU:
Default BLE FW in ST boards is stm32wb5x_BLE_Stack_full_fw.bin
and gives 808K available FLASH to application
stm32wb5x_BLE_HCILayer_fw.bin
gives 896K available FLASH to application
@ARMmbed/team-st-mcd
PS: note that baremetal is also supported, check ARMmbed/mbed-os-example-ble#375
Impact of changes
Migration actions required
Documentation
README file updated
Pull request type
Test results
Reviewers