File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
connectivity/drivers/ble/FEATURE_BLE/TARGET_STM32WB
targets/TARGET_STM/TARGET_STM32WB Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -514,7 +514,7 @@ class TransportDriver : public CordioHCITransportDriver {
514514 }
515515 break ;
516516 case INFO_STACK_TYPE_BLE_HCI:
517- if (MBED_ROM_SIZE > 0xE0000 ) {
517+ if (MBED_ROM_SIZE > (((p_wireless_info-> VersionMajor > 1 ) || (p_wireless_info-> VersionMinor >= 12 )) ? 0xE1000 : 0xE0000 ) ) {
518518 error (" Wrong MBED_ROM_SIZE with HCI FW\n " );
519519 }
520520 break ;
Original file line number Diff line number Diff line change @@ -126,14 +126,14 @@ Default BLE FW in ST boards is **stm32wb5x_BLE_Stack_full_fw.bin**
126126- Default "mbed_rom_size" in targets.json is then "0xCA000" (808K)
127127
128128To optimize FLASH size, ** stm32wb5x_BLE_HCILayer_fw.bin** is supported for MBED-OS use case
129- - As explained in Release_Notes.html, this FW is flashed at @ 0x080E0000
130- - Then "mbed_rom_size" can be updated to "0xE0000" (896K)
129+ - As explained in Release_Notes.html, this FW is flashed at @ 0x080E1000 for versions 1.12.0 and 1.12.1 and at @ 0x080E0000 for older versions
130+ - Then "mbed_rom_size" can be updated to "0xE1000" (900K) or " 0xE0000" (896K)
131131
132132Example in your local mbed_app.json:
133133```
134134 "target_overrides": {
135135 "NUCLEO_WB55RG": {
136- "target.mbed_rom_size": "0xE0000 "
136+ "target.mbed_rom_size": "0xE1000 "
137137 }
138138```
139139
You can’t perform that action at this time.
0 commit comments