Skip to content

Commit

Permalink
Add USB support for DISCO_L4R9I
Browse files Browse the repository at this point in the history
  • Loading branch information
jeromecoutant committed Sep 3, 2019
1 parent fb8b503 commit 55d60f3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions targets/TARGET_STM/USBPhy_STM32.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -250,6 +250,7 @@ void USBPhyHw::init(USBPhyEvents *events)
#elif defined(TARGET_NUCLEO_L496ZG) || \
defined(TARGET_NUCLEO_L496ZG_P) || \
defined(TARGET_DISCO_L496AG) || \
defined(TARGET_DISCO_L4R9I) || \
defined(TARGET_NUCLEO_L4R5ZI)
__HAL_RCC_GPIOA_CLK_ENABLE();
pin_function(PA_11, STM_PIN_DATA(STM_MODE_AF_PP, GPIO_NOPULL, GPIO_AF10_OTG_FS)); // DM
Expand Down

0 comments on commit 55d60f3

Please sign in to comment.