mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
boards/nucleo-f303re: add more timers
This commit is contained in:
parent
4232fea164
commit
3848a37d14
@ -36,7 +36,11 @@ static const timer_conf_t timer_config[] = {
|
||||
{
|
||||
.dev = TIM2,
|
||||
.max = 0xffffffff,
|
||||
#if defined(RCC_APB1ENR_TIM2EN)
|
||||
.rcc_mask = RCC_APB1ENR_TIM2EN,
|
||||
#else
|
||||
.rcc_mask = RCC_APB1ENR1_TIM2EN,
|
||||
#endif
|
||||
.bus = APB1,
|
||||
.irqn = TIM2_IRQn
|
||||
},
|
||||
|
@ -33,7 +33,7 @@
|
||||
|
||||
#include "periph_cpu.h"
|
||||
#include "clk_conf.h"
|
||||
#include "cfg_timer_tim2.h"
|
||||
#include "cfg_timer_tim2_tim15_tim16.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
Loading…
Reference in New Issue
Block a user