From 2c6f0537df96859d1f05bf97ba01ed37445468c8 Mon Sep 17 00:00:00 2001 From: Koen Zandberg Date: Wed, 23 Oct 2019 22:57:28 +0200 Subject: [PATCH] nucleo-f413zh: add usbdev feature --- boards/nucleo-f413zh/Makefile.features | 1 + boards/nucleo-f413zh/include/periph_conf.h | 1 + 2 files changed, 2 insertions(+) diff --git a/boards/nucleo-f413zh/Makefile.features b/boards/nucleo-f413zh/Makefile.features index 11e3cdab8f24..73b48b650133 100644 --- a/boards/nucleo-f413zh/Makefile.features +++ b/boards/nucleo-f413zh/Makefile.features @@ -12,6 +12,7 @@ FEATURES_PROVIDED += periph_rtt FEATURES_PROVIDED += periph_spi FEATURES_PROVIDED += periph_timer FEATURES_PROVIDED += periph_uart +FEATURES_PROVIDED += periph_usbdev # load the common Makefile.features for Nucleo boards include $(RIOTBOARD)/common/nucleo144/Makefile.features diff --git a/boards/nucleo-f413zh/include/periph_conf.h b/boards/nucleo-f413zh/include/periph_conf.h index 29224547d0a9..f0b2436e9213 100644 --- a/boards/nucleo-f413zh/include/periph_conf.h +++ b/boards/nucleo-f413zh/include/periph_conf.h @@ -25,6 +25,7 @@ #include "f4/cfg_clock_100_8_1.h" #include "cfg_i2c1_pb8_pb9.h" #include "cfg_timer_tim5.h" +#include "cfg_usb_otg_fs.h" #ifdef __cplusplus extern "C" {