浏览代码

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

SummerGift 5 年之前
父节点
当前提交
375b1768b0
共有 1 个文件被更改,包括 3 次插入1 次删除
  1. 3 1
      bsp/stm32/libraries/STM32H7xx_HAL/CMSIS/Device/ST/STM32H7xx/Include/stm32h747xx.h

+ 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