Skip to content

Commit 6ab389a

Browse files
committed
fix(c0): add missing HAL HCD and PCD modules
See STMicroelectronics/stm32c0xx-hal-driver#1 Signed-off-by: Frederic Pillon <[email protected]>
1 parent 5cc167b commit 6ab389a

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

Diff for: system/STM32C0xx/stm32c0xx_hal_conf_default.h

+10
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,12 @@ extern "C" {
4646
#define HAL_EXTI_MODULE_ENABLED
4747
#define HAL_FLASH_MODULE_ENABLED
4848
#define HAL_GPIO_MODULE_ENABLED
49+
#define HAL_HCD_MODULE_ENABLED
4950
#define HAL_I2C_MODULE_ENABLED
5051
#define HAL_I2S_MODULE_ENABLED
5152
#define HAL_IRDA_MODULE_ENABLED
5253
#define HAL_IWDG_MODULE_ENABLED
54+
#define HAL_PCD_MODULE_ENABLED
5355
#define HAL_PWR_MODULE_ENABLED
5456
#define HAL_RCC_MODULE_ENABLED
5557
#define HAL_RTC_MODULE_ENABLED
@@ -248,6 +250,10 @@ in voltage and temperature.*/
248250
#include "stm32c0xx_hal_flash.h"
249251
#endif /* HAL_FLASH_MODULE_ENABLED */
250252

253+
#ifdef HAL_HCD_MODULE_ENABLED
254+
#include "stm32c0xx_hal_hcd.h"
255+
#endif /* HAL_HCD_MODULE_ENABLED */
256+
251257
#ifdef HAL_I2C_MODULE_ENABLED
252258
#include "stm32c0xx_hal_i2c.h"
253259
#endif /* HAL_I2C_MODULE_ENABLED */
@@ -264,6 +270,10 @@ in voltage and temperature.*/
264270
#include "stm32c0xx_hal_iwdg.h"
265271
#endif /* HAL_IWDG_MODULE_ENABLED */
266272

273+
#ifdef HAL_PCD_MODULE_ENABLED
274+
#include "stm32c0xx_hal_pcd.h"
275+
#endif /* HAL_PCD_MODULE_ENABLED */
276+
267277
#ifdef HAL_PWR_MODULE_ENABLED
268278
#include "stm32c0xx_hal_pwr.h"
269279
#endif /* HAL_PWR_MODULE_ENABLED */

0 commit comments

Comments
 (0)