cancel
Showing results for 
Search instead for 
Did you mean: 

Blank WBA52 BLE Project Failing to Compile

JLReyno
Associate

Now that the BLE_wrap.c issue has been solved, I've gotten back to trying to develop my application for the WBA52KGU using STM32CubeIDE 1.17.0 and STM32Cube FW_WBA V1.5.0. Frustratingly, everything is still broken. Without the WPAN middleware enabled, my blank project compiles properly. However, enabling any BLE WPAN middleware results in compile errors. If the BLE config requires UART, I'll get the error 

../System/Interfaces/usart_if.c:130:9: error: 'UART_HandleTypeDef' {aka 'struct __UART_HandleTypeDef'} has no member named 'TxCpltCallback'

followed by more compile errors in that file all related to the transmit callback not existing as a member.

If I choose a config that doesn't require UART, HAL_StatusTypeDef is suddenly undefined for the WBA driver and results in errors in almost every header file. For example:

../Drivers/STM32WBAxx_HAL_Driver/Inc/stm32wbaxx_hal_rcc.h:2452:1: error: unknown type name 'HAL_StatusTypeDef'; did you mean 'HAL_CRC_StateTypeDef'?
 2452 | HAL_StatusTypeDef HAL_RCC_DeInit(void);
      | ^~~~~~~~~~~~~~~~~
      | HAL_CRC_StateTypeDef

After 3-4 months of waiting for the previous fix, this is rather disappointing and really dampening my enthusiasm for ST's wireless products. Please advise on how to proceed.

 

0 REPLIES 0