From ed6dcfe8729087b6fe4fe17af6761219b0b21e7f Mon Sep 17 00:00:00 2001 From: Alexandre Abadie <alexandre.abadie@inria.fr> Date: Wed, 2 Jan 2019 11:27:25 +0100 Subject: [PATCH] boards/nucleo-f746zg: provide and configure i2c --- boards/nucleo-f746zg/Makefile.features | 1 + boards/nucleo-f746zg/include/periph_conf.h | 1 + 2 files changed, 2 insertions(+) diff --git a/boards/nucleo-f746zg/Makefile.features b/boards/nucleo-f746zg/Makefile.features index f45a13c595..593b57950b 100644 --- a/boards/nucleo-f746zg/Makefile.features +++ b/boards/nucleo-f746zg/Makefile.features @@ -1,4 +1,5 @@ # Put defined MCU peripherals here (in alphabetical order) +FEATURES_PROVIDED += periph_i2c FEATURES_PROVIDED += periph_rtc FEATURES_PROVIDED += periph_timer FEATURES_PROVIDED += periph_uart diff --git a/boards/nucleo-f746zg/include/periph_conf.h b/boards/nucleo-f746zg/include/periph_conf.h index ca6cb9962f..18169713ee 100644 --- a/boards/nucleo-f746zg/include/periph_conf.h +++ b/boards/nucleo-f746zg/include/periph_conf.h @@ -22,6 +22,7 @@ #define PERIPH_CONF_H #include "periph_cpu.h" +#include "cfg_i2c1_pb8_pb9.h" #ifdef __cplusplus extern "C" { -- GitLab