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:
parent
15d1f20320
commit
dc60f86d89
@ -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
|
||||
============
|
||||
|
||||
@ -72,3 +72,7 @@
|
||||
status = "ok";
|
||||
};
|
||||
};
|
||||
|
||||
&usbotg_fs {
|
||||
status = "ok";
|
||||
};
|
||||
|
||||
@ -7,3 +7,4 @@ toolchain:
|
||||
- gnuarmemb
|
||||
supported:
|
||||
- pwm
|
||||
- usb
|
||||
|
||||
Loading…
Reference in New Issue
Block a user