Commit e3f9346e authored by F. Ramu's avatar F. Ramu Committed by Erwan Gouriou
Browse files

stm32Cube: stm32h5 HAL DCACHE driver if instance exists

Include the stm32H5 HAL DCACHE driver only if instance
DCACHE1 exists in the stm32H5 soc (not on stm32h50x)

Signed-off-by: default avatarF. Ramu <francois.ramu@st.com>
parent 05eb5703
Loading
Loading
Loading
Loading
+4 −0
Changes for stm32cube/stm32h5xx/drivers/include/stm32h5xx_hal_dcache.h: 4 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -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 */

/**
  * @}
  */