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
pull/15154/head
Ricardo Ardissone 2021-10-22 18:06:00 -03:00
parent 54a4879801
commit ca28a86d1b
1 changed files with 1 additions and 1 deletions

View File

@ -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;