Skip to content

Commit 82e4f34

Browse files
committed
stm32cube: stm32c0xx: drivers: include: Enable HAL PCD module
- Added definition for HAL_PCD_MODULE_ENABLED. - Included stm32cxx_hal_pcd.h when HAL_PCD_MODULE_ENABLED is defined. Signed-off-by: IBEN EL HADJ MESSAOUD Marwa <[email protected]>
1 parent def7e1a commit 82e4f34

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

stm32cube/stm32c0xx/drivers/include/stm32c0xx_hal_conf.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ extern "C" {
4545
#define HAL_I2S_MODULE_ENABLED
4646
#define HAL_IRDA_MODULE_ENABLED
4747
#define HAL_IWDG_MODULE_ENABLED
48+
#define HAL_PCD_MODULE_ENABLED
4849
#define HAL_PWR_MODULE_ENABLED
4950
#define HAL_RCC_MODULE_ENABLED
5051
#define HAL_RTC_MODULE_ENABLED
@@ -258,6 +259,10 @@ in voltage and temperature.*/
258259
#include "stm32c0xx_hal_wwdg.h"
259260
#endif /* HAL_WWDG_MODULE_ENABLED */
260261

262+
#ifdef HAL_PCD_MODULE_ENABLED
263+
#include "stm32c0xx_hal_pcd.h"
264+
#endif /* HAL_PCD_MODULE_ENABLED */
265+
261266
/* Exported macro ------------------------------------------------------------*/
262267
#ifdef USE_FULL_ASSERT
263268
/**

0 commit comments

Comments
 (0)