From a235442b2be6aeb693bfe630b8ca80c12fba4586 Mon Sep 17 00:00:00 2001 From: Gunar Schorcht Date: Thu, 9 Mar 2023 14:59:10 +0100 Subject: [PATCH] cpu/efm32: add number of EPs provided by USB OTG peripheral --- cpu/efm32/include/periph_cpu.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/cpu/efm32/include/periph_cpu.h b/cpu/efm32/include/periph_cpu.h index 0d809f30c3..b60018246d 100644 --- a/cpu/efm32/include/periph_cpu.h +++ b/cpu/efm32/include/periph_cpu.h @@ -682,6 +682,13 @@ typedef struct { #define WDT_HAS_STOP (1U) /** @} */ +/** + * @name USB device definitions + * @{ + */ +#define USBDEV_NUM_ENDPOINTS 7 /**< Number of USB OTG FS endpoints including EP0 */ +/** @} */ + /* GPIO_LL's overrides */ #ifndef DOXYGEN