AnsweredAssumed Answered

How can the linker lose HAL_StatusTypeDef ?

Question asked by T J on Feb 15, 2017
Latest reply on Aug 17, 2017 by Ivan Ivan

This was all running before I added my old code RecordStorage.cpp

 

 

*** Using Compiler 'V5.06 update 4 (build 422)', folder: 'C:\Keil_v5demo\ARM\ARMCC\Bin'
Build target 'C091_V12CubeConfig2'

 

compiling RecordStorage.cpp...


../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_rcc_ex.h(2051): error:  #20: identifier "HAL_StatusTypeDef" is undefined

 

  HAL_StatusTypeDef     HAL_RCCEx_PeriphCLKConfig(RCC_PeriphCLKInitTypeDef  *PeriphClkInit);
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_rcc.h(1656): error:  #20: identifier "HAL_StatusTypeDef" is undefined

 

  HAL_StatusTypeDef HAL_RCC_OscConfig(RCC_OscInitTypeDef  *RCC_OscInitStruct);

Outcomes