Added target compiler selections for FRDM-K20D50 which works.

Dependencies:   FATFileSystem

Dependents:   kl25z_Usb_Logger

Fork of F401RE-USBHost by Norimasa Okamoto

USBHost/mydebug.h

Committer:
neilh20
Date:
2014-11-09
Revision:
20:21a460855ee5
Parent:
11:61843badd06e

File content as of revision 20:21a460855ee5:

#pragma once
template<class SERIAL_T>
void debug_hex(SERIAL_T& pc, const uint8_t* buf, int size)
{
    for(int i = 0; i < size; i++) {
        pc.printf("%02x ", buf[i]);
        if (i%16 == 15) {
            pc.puts("\n");
        }
    }
    pc.puts("\n");
}