From befac12f9a83b8aa94cbad11a7050000fc8422bf Mon Sep 17 00:00:00 2001 From: Koen Zandberg Date: Wed, 23 Oct 2019 22:58:36 +0200 Subject: [PATCH] nucleo-f746zg: add usbdev feature --- 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 23385d3dadbd..8215d8c153a2 100644 --- a/boards/nucleo-f746zg/Makefile.features +++ b/boards/nucleo-f746zg/Makefile.features @@ -7,6 +7,7 @@ FEATURES_PROVIDED += periph_rtc FEATURES_PROVIDED += periph_rtt FEATURES_PROVIDED += periph_timer FEATURES_PROVIDED += periph_uart +FEATURES_PROVIDED += periph_usbdev # Put other features for this board (in alphabetical order) FEATURES_PROVIDED += riotboot diff --git a/boards/nucleo-f746zg/include/periph_conf.h b/boards/nucleo-f746zg/include/periph_conf.h index 34f92f1a4fad..860762daf998 100644 --- a/boards/nucleo-f746zg/include/periph_conf.h +++ b/boards/nucleo-f746zg/include/periph_conf.h @@ -24,6 +24,7 @@ #include "cfg_i2c1_pb8_pb9.h" #include "cfg_rtt_default.h" #include "cfg_timer_tim2.h" +#include "cfg_usb_otg_fs.h" #ifdef __cplusplus extern "C" {