diff --git a/include/libopencm3/stm32/crs.h b/include/libopencm3/stm32/crs.h index 6a6cbd28..dbb9cbfe 100644 --- a/include/libopencm3/stm32/crs.h +++ b/include/libopencm3/stm32/crs.h @@ -28,7 +28,8 @@ # include #elif defined(STM32G4) # include +#elif defined(STM32H7) +# include #else # error "stm32 family not defined or not supported for this peripheral" #endif - diff --git a/include/libopencm3/stm32/h7/crs.h b/include/libopencm3/stm32/h7/crs.h new file mode 100644 index 00000000..4d582890 --- /dev/null +++ b/include/libopencm3/stm32/h7/crs.h @@ -0,0 +1,10 @@ +/** @defgroup crs_defines CRS Defines + * + * @brief Defined Constants and Types for the Clock Recovery System + * + * @ingroup STM32H7xx_defines + * + *LGPL License Terms @ref lgpl_license + */ + +#include diff --git a/lib/stm32/h7/Makefile b/lib/stm32/h7/Makefile index 2aaa790d..3b0fedf2 100644 --- a/lib/stm32/h7/Makefile +++ b/lib/stm32/h7/Makefile @@ -37,6 +37,7 @@ TGT_CFLAGS += $(STANDARD_FLAGS) ARFLAGS = rcs +OBJS += crs_common_all.o OBJS += dac_common_all.o dac_common_v2.o OBJS += exti_common_all.o OBJS += fdcan.o fdcan_common.o