Skip to content

Commit

Permalink
Merge pull request #14976 from fjmolinas/pr_nucleo452re_i2c
Browse files Browse the repository at this point in the history
boards/nucleo-l452re: add i2c config
  • Loading branch information
aabadie authored Sep 8, 2020
2 parents c3de265 + 0d79ebd commit 096b88d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions boards/nucleo-l452re/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions boards/nucleo-l452re/Makefile.features
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions boards/nucleo-l452re/include/periph_conf.h
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down

0 comments on commit 096b88d

Please sign in to comment.