cancel
Showing results for 
Search instead for 
Did you mean: 

unknown type name as 'PCD_HandleTypeDef'

demir
Senior II

Hi,

 

I get the following error when I compile the code. The thing is, 'PCD_HandleTypeDef' is defined. Please see the error log below. I have checked project properties to make sure the folder which includes the definition of PCD_HandleTypeDef is included or not. I confirm that it is included. Please check snaps below.

 

Log file is attached.

demir_0-1706638492412.png

 

 

demir_0-1706638067243.png

 

 

 

2 REPLIES 2
Imen.D
ST Employee

Hello @demir ,

Make sure you select the required modules in stm32f4xx_hal_conf.h and define USE_HAL_DRIVERS.

I advise you to check a ready-to-use example within STM32CubeF4 package and review the used configurations/settings.

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen

Uncomment PCD peripheral in stm32f4xx_hal_conf.h

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..