Simple USBHost library for STM32F746NG Discovery board. Only either the Fastspeed or the Highspeed port can be used( not both together)

Dependents:   DISCO-F746NG_USB_Host

Fork of KL46Z-USBHost by Norimasa Okamoto

Committer:
DieterGraef
Date:
Fri Jun 17 09:00:35 2016 +0000
Revision:
25:7d6d9fc471bf
Parent:
24:5396b6a93262
USB Host now works with both Interfaces even in parallel. Some changes in the USB MSD driver to make it operable

Who changed what in which revision?

UserRevisionLine numberNew contents of line
va009039 11:61843badd06e 1 #pragma once
DieterGraef 24:5396b6a93262 2
DieterGraef 24:5396b6a93262 3 void debug_hex(unsigned char* buf, int size)
va009039 11:61843badd06e 4 {
va009039 11:61843badd06e 5 for(int i = 0; i < size; i++) {
DieterGraef 24:5396b6a93262 6 printf("%02x ", buf[i]);
va009039 11:61843badd06e 7 if (i%16 == 15) {
DieterGraef 24:5396b6a93262 8 printf("\n");
va009039 11:61843badd06e 9 }
va009039 11:61843badd06e 10 }
DieterGraef 24:5396b6a93262 11 printf("\n");
va009039 11:61843badd06e 12 }