stm32/h7: Enabled support for the CRS controller

This commit is contained in:
dragonmux
2024-04-15 17:07:46 +01:00
committed by Piotr Esden-Tempski
parent a603670266
commit 9f8ce70771
3 changed files with 13 additions and 1 deletions

View File

@@ -28,7 +28,8 @@
# include <libopencm3/stm32/l4/crs.h> # include <libopencm3/stm32/l4/crs.h>
#elif defined(STM32G4) #elif defined(STM32G4)
# include <libopencm3/stm32/g4/crs.h> # include <libopencm3/stm32/g4/crs.h>
#elif defined(STM32H7)
# include <libopencm3/stm32/h7/crs.h>
#else #else
# error "stm32 family not defined or not supported for this peripheral" # error "stm32 family not defined or not supported for this peripheral"
#endif #endif

View File

@@ -0,0 +1,10 @@
/** @defgroup crs_defines CRS Defines
*
* @brief <b>Defined Constants and Types for the Clock Recovery System</b>
*
* @ingroup STM32H7xx_defines
*
*LGPL License Terms @ref lgpl_license
*/
#include <libopencm3/stm32/common/crs_common_all.h>

View File

@@ -37,6 +37,7 @@ TGT_CFLAGS += $(STANDARD_FLAGS)
ARFLAGS = rcs ARFLAGS = rcs
OBJS += crs_common_all.o
OBJS += dac_common_all.o dac_common_v2.o OBJS += dac_common_all.o dac_common_v2.o
OBJS += exti_common_all.o OBJS += exti_common_all.o
OBJS += fdcan.o fdcan_common.o OBJS += fdcan.o fdcan_common.o