stm32/h7: Enabled support for the CRS controller
This commit is contained in:
committed by
Piotr Esden-Tempski
parent
a603670266
commit
9f8ce70771
@@ -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
|
||||||
|
|
||||||
|
|||||||
10
include/libopencm3/stm32/h7/crs.h
Normal file
10
include/libopencm3/stm32/h7/crs.h
Normal 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>
|
||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user