2026-01-22 12:47 AM - last edited on 2026-01-22 1:12 AM by Andrew Neil
Hello,
I’m using STM32CubeIDE with a project generated directly from STM32CubeMX for the STEVAL-ASTRA1B board.
Environment
Board: STEVAL-ASTRA1B
Firmware Package: STM32Cube FW_WB V1.24.0
CubeMX example/template: FleetManagement (default generated project)
IDE: STM32CubeIDE
Toolchain: default CubeIDE build settings
When building the generated project, I get two compilation errors:
1) Master_Clock_Accuracy field not found (should be Central_Clock_Accuracy)
File: STM32Cube/Example/FleetManagement/Src/astra_app_ble.c
Line: ~603
Error:
STM32Cube/Example/FleetManagement/Src/astra_app_ble.c:603:81: error: 'hci_le_connection_complete_event_rp0' has no member named 'Master_Clock_Accuracy'; did you mean 'Central_Clock_Accuracy'?
603 | handleNotification.Master_Clock_Accuracy = connection_complete_event->Master_Clock_Accuracy;Workaround/Fix:
Replace Master_Clock_Accuracy with Central_Clock_Accuracy, e.g.:
handleNotification.Master_Clock_Accuracy = connection_complete_event->Central_Clock_Accuracy;
2) Conflicting prototype for aci_gap_bond_lost_event
File: STM32Cube/Example/FleetManagement/Src/BLE_Manager.c
Line: ~4464
Error:
STM32Cube/Example/FleetManagement/Src/BLE_Manager.c:4464:6: error: conflicting types for 'aci_gap_bond_lost_event'; have 'void(void)'
4464 | void aci_gap_bond_lost_event(void) {Workaround/Fix:
Update the function signature to match the expected prototype:
void aci_gap_bond_lost_event(uint16_t Connection_Handle) {It looks like the generated example sources are not aligned with the current BLE stack / header definitions shipped with STM32CubeWB FW_WB V1.24.0.
Thank you.
2026-01-22 1:08 AM
Hello @remiA
Let me thank you for posting.
I am currently checking this behavior, and I will get back to you ASAP.
Thanks.
Mahmoud
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2026-01-22 2:24 AM
Hello @remiA ,
I checked the behavior described and the issue was not reproducible by my side.
I did not get compilations Errors.
Thanks.
Mahmoud
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.