Skip to content
Snippets Groups Projects
Commit 437ad3cc authored by Mateusz Szafoni's avatar Mateusz Szafoni Committed by Gregory Nutt
Browse files

STM32F33: Fix hrtim definitions, Add beginning of HRTIM driver

parent 40f60d6d
No related branches found
No related tags found
No related merge requests found
......@@ -225,6 +225,10 @@ ifeq ($(CONFIG_OPAMP),y)
CHIP_CSRCS += stm32_opamp.c
endif
ifeq ($(CONFIG_HRTIM),y)
CHIP_CSRCS += stm32_hrtim.c
endif
ifeq ($(CONFIG_STM32_1WIREDRIVER),y)
CHIP_CSRCS += stm32_1wire.c
endif
......
This diff is collapsed.
......@@ -67,6 +67,7 @@
#include "stm32_flash.h"
#include "stm32_fsmc.h"
#include "stm32_gpio.h"
#include "stm32_hrtim.h"
#include "stm32_i2c.h"
#include "stm32_ltdc.h"
#include "stm32_opamp.h"
......
......@@ -332,9 +332,7 @@ static inline void rcc_enableapb2(void)
#ifdef CONFIG_STM32_HRTIM1
/* HRTIM1 Timer clock enable */
#ifdef CONFIG_STM32_FORCEPOWER
regval |= RCC_APB2ENR_HRTIM1EN;
#endif
#endif
putreg32(regval, STM32_RCC_APB2ENR);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment