USB Device library for the STM32F103 with USB Device Firmware Upgrade (DFU) runtime support.
Dependents: STM32F103C8T6_WebUSBDFU STM32F103C8T6_USBDFU STM32F103C8T6_USBDFU dfu_usb_stm32f103
Fork of USBDevice_STM32F103 by
Diff: USBDevice/USBHAL.h
- Revision:
- 62:23cb405e1ee5
- Parent:
- 57:b6b2296460db
--- a/USBDevice/USBHAL.h Sat Jun 20 11:54:36 2015 +0900 +++ b/USBDevice/USBHAL.h Sun Jun 21 11:53:49 2015 +0900 @@ -74,7 +74,7 @@ virtual bool EP2_IN_callback(){return false;}; virtual bool EP3_OUT_callback(){return false;}; virtual bool EP3_IN_callback(){return false;}; -#if !defined(TARGET_STM32F4) || defined(TARGET_STM32L1) +#if !defined(TARGET_STM32F4)||defined(TARGET_STM32L1)||defined(TARGET_STM32F1) virtual bool EP4_OUT_callback(){return false;}; virtual bool EP4_IN_callback(){return false;}; #if !(defined(TARGET_LPC11UXX) || defined(TARGET_LPC11U6X) || defined(TARGET_LPC1347) || defined(TARGET_LPC1549)) @@ -117,7 +117,7 @@ #endif -#if defined(TARGET_STM32L1) +#if defined(TARGET_STM32L1)||defined(TARGET_STM32F1) public: // HAL_PCD void SetupStageCallback(); void DataInStageCallback(uint8_t epnum);