USBDevice for STM support

Dependents:   DISCO-F429ZI_LCDTS_demo_richard

Fork of USBDEVICE by ST

Files at this revision

API Documentation at this revision

Comitter:
pierrebizouard
Date:
Tue Jun 27 13:11:46 2017 +0000
Parent:
5:e541a0bc20c6
Commit message:
fixup in definition

Changed in this revision

USBDevice/TARGET_STM/USBHAL_STM32.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/USBDevice/TARGET_STM/USBHAL_STM32.cpp	Tue Jun 27 13:01:38 2017 +0000
+++ b/USBDevice/TARGET_STM/USBHAL_STM32.cpp	Tue Jun 27 13:11:46 2017 +0000
@@ -15,7 +15,7 @@
 * DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 */
-#if (defined (USB_STM_HAL) && defined(TARGET_STM32F4)) \
+#if ((defined (USB_STM_HAL) || defined(TARGET_DISCO_F429ZI)) && defined(TARGET_STM32F4)) \
 || defined(TARGET_STM32F2) || defined (TARGET_STM32F7) || defined (TARGET_STM32F3) || defined (TARGET_STM32L4)
 
 #include "USBHAL.h"