adds a USB serial port to your design
Dependents: Example_WatchDog_Timer
Diff: targets/TARGET_STM/USBHAL_STM32.cpp
- Revision:
- 72:08cd983d075e
- Parent:
- 71:53949e6131f6
--- a/targets/TARGET_STM/USBHAL_STM32.cpp Thu Jul 27 12:14:04 2017 +0100 +++ b/targets/TARGET_STM/USBHAL_STM32.cpp Tue Nov 20 20:23:51 2018 +0000 @@ -24,6 +24,7 @@ #define USBSTM_HAL_UNSUPPORTED #endif + #ifndef USBSTM_HAL_UNSUPPORTED #include "USBHAL.h" #include "pinmap.h" @@ -36,7 +37,6 @@ #include "USBHAL_STM_TARGET.h" - /* this call at device reception completion on a Out Enpoint */ void HAL_PCD_DataOutStageCallback(PCD_HandleTypeDef *hpcd, uint8_t epnum) {