소스 검색

[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