2024-01-30 10:12 AM - edited 2024-01-30 10:14 AM
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.
2024-01-30 01:06 PM
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.
2024-01-30 01:08 PM
Uncomment PCD peripheral in stm32f4xx_hal_conf.h