diff --git a/boards/arm/stm32f4_disco/doc/stm32f4_disco.rst b/boards/arm/stm32f4_disco/doc/stm32f4_disco.rst index ef45fcf01c2..810cc493386 100644 --- a/boards/arm/stm32f4_disco/doc/stm32f4_disco.rst +++ b/boards/arm/stm32f4_disco/doc/stm32f4_disco.rst @@ -94,6 +94,8 @@ The Zephyr stm32f4_disco board configuration supports the following hardware fea +-----------+------------+-------------------------------------+ | PWM | on-chip | pwm | +-----------+------------+-------------------------------------+ +| USB | on-chip | usb | ++-----------+------------+-------------------------------------+ Other hardware features are not yet supported on Zephyr porting. @@ -121,6 +123,8 @@ Default Zephyr Peripheral Mapping: - LD4 : PD12 - LD5 : PD14 - LD6 : PD15 +- USB DM : PA11 +- USB DP : PA12 System Clock ============ diff --git a/boards/arm/stm32f4_disco/stm32f4_disco.dts b/boards/arm/stm32f4_disco/stm32f4_disco.dts index 796154f1671..7daef5af7a6 100644 --- a/boards/arm/stm32f4_disco/stm32f4_disco.dts +++ b/boards/arm/stm32f4_disco/stm32f4_disco.dts @@ -72,3 +72,7 @@ status = "ok"; }; }; + +&usbotg_fs { + status = "ok"; +}; diff --git a/boards/arm/stm32f4_disco/stm32f4_disco.yaml b/boards/arm/stm32f4_disco/stm32f4_disco.yaml index 6247cbee2fd..f333d0306df 100644 --- a/boards/arm/stm32f4_disco/stm32f4_disco.yaml +++ b/boards/arm/stm32f4_disco/stm32f4_disco.yaml @@ -7,3 +7,4 @@ toolchain: - gnuarmemb supported: - pwm + - usb