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 {
514
514
}
515
515
break ;
516
516
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 ) ) {
518
518
error (" Wrong MBED_ROM_SIZE with HCI FW\n " );
519
519
}
520
520
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**
126
126
- Default "mbed_rom_size" in targets.json is then "0xCA000" (808K)
127
127
128
128
To 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)
131
131
132
132
Example in your local mbed_app.json:
133
133
```
134
134
"target_overrides": {
135
135
"NUCLEO_WB55RG": {
136
- "target.mbed_rom_size": "0xE0000 "
136
+ "target.mbed_rom_size": "0xE1000 "
137
137
}
138
138
```
139
139
You can’t perform that action at this time.
0 commit comments