Browse Source

[update] bsp/stm32/libraries/STM32H7xx_HAL/CMSIS/Device/ST/STM32H7xx/Include/stm32h747xx.h to handle multi-core situations

SummerGift 5 years ago
parent
commit
375b1768b0

+ 3 - 1
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