2016-12-26 06:45 PM
Hello,
Right at the moment, in AC6+Eclipse environment, the build error shows,( just showing 1 similar error)
C:/STM32_toolchain/common/Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_adc.h:238:2: error: declaration for parameter 'ADC_HandleTypeDef' but no such parameter
}ADC_HandleTypeDef; ^At this time, stm32f0xx_hal.h andstm32f0xx.h added by # in stm32f0xx_it.c ........ and indicating red underline.
but when you search
stm32f0xx_hal_adc.h file its written as
t
typedef struct
{
ADC_TypeDef *Instance; /* !< Register base address */
ADC_InitTypeDef Init; /*!< ADC required parameters */
DMA_HandleTypeDef *DMA_Handle; /*!< Pointer DMA Handler */
HAL_LockTypeDef Lock; /*!< ADC locking object */
__IO uint32_t State; /*!< ADC communication state (bitmap of ADC states) */
__IO uint32_t ErrorCode; /*!< ADC Error code */
}ADC_HandleTypeDef;�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?
Is it means,
ADC_HandleTypeDef is not declare instm32f0xx_hal_adc.h? I dont needADC_HandleTypeDef in my application.
Similar error occurs in other... Drivers/STM32F0xx_HAL_Driver/Inc/(.......h) files.
Also inc:\ac6\systemworkbench\plugins\fr.ac6.mcu.externaltools.arm-none.win32_1.0.201611241417\tools\compiler\arm-none-eabi\include\sys\(....h ) files.
Let me know why this happens?
#typedef #hal-drivers2016-12-27 02:12 AM
Hi
Hasan.Md_Mubdiul
,Could you try to rebuild the project using: 'Right click on the project -> Index -> Rebuild'.
Give me your feedback.
Khouloud.
2016-12-27 12:37 PM
Are these errors reported by the compiler during a build, or from an analysis by Eclipse itself. The latter is reportedly not that robust.
2016-12-27 05:17 PM
Hello Mr Khouloud,
Thank you to respond here.
Don't you mean the following way?...
This process does not change anything, CDT build log is empty !
2016-12-27 05:21 PM
Are these errors reported by the compiler during a build, or from an analysis by Eclipse itself.
My stupid mind says, from both.