boards: add usb to stm32f4_disco

This patch adds USB capabilities to the stm32f4 discovery board.
As the board has a MicroUSB port that I would like to use as stdout I
just added USB. The needed entry within pinmux.c is already there but
USB was missing in the dts file and documentation.

I tested it with the upcomming commit.

Signed-off-by: Alexander Polleti <metapsycholo@gmail.com>
This commit is contained in:
Alexander Polleti 2018-08-28 17:21:50 +02:00 committed by Kumar Gala
parent 15d1f20320
commit dc60f86d89
3 changed files with 9 additions and 0 deletions

View File

@ -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
============

View File

@ -72,3 +72,7 @@
status = "ok";
};
};
&usbotg_fs {
status = "ok";
};

View File

@ -7,3 +7,4 @@ toolchain:
- gnuarmemb
supported:
- pwm
- usb