cancel
Showing results for 
Search instead for 
Did you mean: 

No such parameter!!

Md Mubdiul Hasan
Associate III
Posted on December 27, 2016 at 03:45

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.

0690X00000605ypQAA.png

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-drivers
4 REPLIES 4
Khouloud GARSI
Lead II
Posted on December 27, 2016 at 11:12

Hi

Hasan.Md_Mubdiul

,

Could you try to rebuild the project using: 'Right click on the project -> Index -> Rebuild'.

Give me your feedback.

Khouloud.

Posted on December 27, 2016 at 21:37

Are these errors reported by the compiler during a build, or from an analysis by Eclipse itself. The latter is reportedly not that robust.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
Posted on December 28, 2016 at 01:17

Hello Mr Khouloud,

Thank you to respond here.

Don't you mean the following way?...

0690X00000605muQAA.png

This process does not change anything, CDT build log is empty !

Posted on December 28, 2016 at 01:21

Are these errors reported by the compiler during a build, or from an analysis by Eclipse itself.

My stupid mind says, from both.