diff --git a/bsp/stm32/libraries/STM32H7xx_HAL/CMSIS/Device/ST/STM32H7xx/Include/stm32h747xx.h b/bsp/stm32/libraries/STM32H7xx_HAL/CMSIS/Device/ST/STM32H7xx/Include/stm32h747xx.h index c8d0a9c5f9..41c44ff065 100644 --- a/bsp/stm32/libraries/STM32H7xx_HAL/CMSIS/Device/ST/STM32H7xx/Include/stm32h747xx.h +++ b/bsp/stm32/libraries/STM32H7xx_HAL/CMSIS/Device/ST/STM32H7xx/Include/stm32h747xx.h @@ -217,7 +217,9 @@ typedef enum #define SMPS /*!< Switched mode power supply feature */ - +#if !defined(__CC_ARM) || defined(__CLANG_ARM) || defined(__ICCARM__) +#define CORE_CM7 +#endif /** * @brief Configuration of the Cortex-M4/ Cortex-M7 Processor and Core Peripherals