boards/nucleo-l452re: add i2c config

This commit is contained in:
Francisco Molina 2020-09-08 13:51:23 +02:00
parent 07be7910d6
commit 0d79ebdafe
No known key found for this signature in database
GPG Key ID: 3E94EAC3DBDEEDA8
3 changed files with 3 additions and 0 deletions

View File

@ -15,6 +15,7 @@ config BOARD_NUCLEO_L452RE
select CPU_MODEL_STM32L452RE
# Put defined MCU peripherals here (in alphabetical order)
select HAS_PERIPH_I2C
select HAS_PERIPH_PWM
select HAS_PERIPH_RTC
select HAS_PERIPH_RTT

View File

@ -2,6 +2,7 @@ CPU = stm32
CPU_MODEL = stm32l452re
# Put defined MCU peripherals here (in alphabetical order)
FEATURES_PROVIDED += periph_i2c
FEATURES_PROVIDED += periph_pwm
FEATURES_PROVIDED += periph_rtc
FEATURES_PROVIDED += periph_rtt

View File

@ -27,6 +27,7 @@
#include "periph_cpu.h"
#include "l4/cfg_clock_80_1.h"
#include "cfg_i2c1_pb8_pb9.h"
#include "cfg_rtt_default.h"
#include "cfg_timer_tim2.h"