mirror of https://github.com/ARMmbed/mbed-os.git
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.htmlpull/15154/head
parent
54a4879801
commit
ca28a86d1b
|
@ -514,7 +514,7 @@ public:
|
|||
}
|
||||
break;
|
||||
case INFO_STACK_TYPE_BLE_HCI:
|
||||
if (MBED_ROM_SIZE > 0xE0000) {
|
||||
if (MBED_ROM_SIZE > (((p_wireless_info->VersionMajor > 1) || (p_wireless_info->VersionMinor >= 12)) ? 0xE1000 : 0xE0000)) {
|
||||
error("Wrong MBED_ROM_SIZE with HCI FW\n");
|
||||
}
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue