unknown type name as 'PCD_HandleTypeDef'
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎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.
- Labels:
-
STM32CubeIDE
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-01-30 1: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.
Thanks
Imen
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-01-30 1:08 PM
Uncomment PCD peripheral in stm32f4xx_hal_conf.h
Up vote any posts that you find helpful, it shows what's working..
