diff --git a/stm32cube/stm32h5xx/drivers/include/stm32h5xx_hal_dcache.h b/stm32cube/stm32h5xx/drivers/include/stm32h5xx_hal_dcache.h index 09587fce2..349cdff47 100755 --- a/stm32cube/stm32h5xx/drivers/include/stm32h5xx_hal_dcache.h +++ b/stm32cube/stm32h5xx/drivers/include/stm32h5xx_hal_dcache.h @@ -31,6 +31,8 @@ extern "C" { * @{ */ +#if defined (DCACHE1) + /** @addtogroup DCACHE * @{ */ @@ -318,6 +320,8 @@ uint32_t HAL_DCACHE_GetError(DCACHE_HandleTypeDef *hdcache); * @} */ +#endif /* DCACHE1 */ + /** * @} */