Commit 468e5ad4 authored by Youssef Zini's avatar Youssef Zini Committed by Erwan Gouriou
Browse files

stm32mp2xx.h: fix the USE_HAL_DRIVER include



Modify the included HAL header in stm32mp2xx.h to the correct one.
"stm32mp2xx_hal_conf.h" -> "stm32mp2xx_hal.h"

"stm32mp2xx_hal.h" was never included in build time and caused
declaration errors when using the HAL driver.

Signed-off-by: default avatarYoussef Zini <youssef.zini@savoirfairelinux.com>
parent 54f5a6e2
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -53,4 +53,10 @@ Patch List:
	 assertion checks are not implemented, as the code still functions
	 correctly without them.

   * Fix the USE_HAL_DRIVER included header
   - The stm32cube/stm32mp2xx/soc/stm32mp2xx.h file
	 was modified to include the correct header for the HAL driver.
	 "stm32mp2xx_hal_conf.h" -> "stm32mp2xx_hal.h"
	 This change ensures that the HAL driver is properly included in the build.

   See release_note.html from STM32Cube
+1 −1
Original line number Diff line number Diff line
@@ -384,7 +384,7 @@ typedef enum
  */

#if defined (USE_HAL_DRIVER)
 #include "stm32mp2xx_hal_conf.h"
 #include "stm32mp2xx_hal.h"
#endif /* USE_HAL_DRIVER */

#ifdef __cplusplus