Skip to content

Commit ca28a86

Browse files
author
Ricardo Ardissone
committed
STM32WB55 HCI driver: version dependent rom size
stm32wb5x_BLE_HCILayer_fw.bin install address increased from 0x080E0000 to 0x080E1000 in version 1.12.0. Assumes any future bump to major or minor version will maintain the new install address. See https://github.com/STMicroelectronics/STM32CubeWB/blob/master/Projects/STM32WB_Copro_Wireless_Binaries/STM32WB5x/Release_Notes.html
1 parent 54a4879 commit ca28a86

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

connectivity/drivers/ble/FEATURE_BLE/TARGET_STM32WB/HCIDriver.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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;

0 commit comments

Comments
 (0)