From ba6f180920d739af60ffd192742dfb40a223cec0 Mon Sep 17 00:00:00 2001 From: Giovanni Di Sirio Date: Tue, 2 Nov 2021 18:05:14 +0000 Subject: [PATCH] Special case for single core devices. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14998 27425a3e-05d8-49a3-a47f-9c15f0e5edd8 --- os/hal/ports/STM32/STM32H7xx/stm32_rcc.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/os/hal/ports/STM32/STM32H7xx/stm32_rcc.h b/os/hal/ports/STM32/STM32H7xx/stm32_rcc.h index 4fd226c13..4d74412c0 100644 --- a/os/hal/ports/STM32/STM32H7xx/stm32_rcc.h +++ b/os/hal/ports/STM32/STM32H7xx/stm32_rcc.h @@ -38,6 +38,14 @@ /* Derived constants and error checks. */ /*===========================================================================*/ +#if !defined(RCC_C1) +#define RCC_C1 RCC +#endif + +#if !defined(RCC_C2) +#define RCC_C2 RCC +#endif + /*===========================================================================*/ /* Driver data structures and types. */ /*===========================================================================*/