Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Revision 10:fc04048e7188, committed 2021-01-08
- Comitter:
- hudakz
- Date:
- Fri Jan 08 22:21:27 2021 +0000
- Parent:
- 9:eb0ca18f5777
- Commit message:
- Added USB support.
Changed in this revision
| TARGET_BLUEPILL/PeripheralPins.c | Show annotated file Show diff for this revision Revisions of this file |
| mbed-os.lib | Show annotated file Show diff for this revision Revisions of this file |
diff -r eb0ca18f5777 -r fc04048e7188 TARGET_BLUEPILL/PeripheralPins.c
--- a/TARGET_BLUEPILL/PeripheralPins.c Tue Jul 21 07:28:50 2020 +0000
+++ b/TARGET_BLUEPILL/PeripheralPins.c Fri Jan 08 22:21:27 2021 +0000
@@ -215,3 +215,10 @@
{NC, NC, 0}
};
+//*** USBDEVICE ***
+
+MBED_WEAK const PinMap PinMap_USB_FS[] = {
+ {PA_11, USB_FS, STM_PIN_DATA(STM_MODE_INPUT, GPIO_NOPULL, 0)}, // USB_DM
+ {PA_12, USB_FS, STM_PIN_DATA(STM_MODE_INPUT, GPIO_NOPULL, 0)}, // USB_DP
+ {NC, NC, 0}
+};
diff -r eb0ca18f5777 -r fc04048e7188 mbed-os.lib --- a/mbed-os.lib Tue Jul 21 07:28:50 2020 +0000 +++ b/mbed-os.lib Fri Jan 08 22:21:27 2021 +0000 @@ -1,1 +1,1 @@ -https://github.com/ARMmbed/mbed-os/#a2ada74770f043aff3e61e29d164a8e78274fcd4 +https://github.com/ARMmbed/mbed-os/#cf4f12a123c05fcae83fc56d76442015cb8a39e9