From 375b1768b04f208e630c4029cfaace946c06f050 Mon Sep 17 00:00:00 2001 From: SummerGift Date: Mon, 24 Feb 2020 14:19:34 +0800 Subject: [PATCH] [update] bsp/stm32/libraries/STM32H7xx_HAL/CMSIS/Device/ST/STM32H7xx/Include/stm32h747xx.h to handle multi-core situations --- .../CMSIS/Device/ST/STM32H7xx/Include/stm32h747xx.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- GitLab