Added target compiler selections for FRDM-K20D50 which works.
Fork of F401RE-USBHost by
Revision 20:21a460855ee5, committed 2014-11-09
- Comitter:
- neilh20
- Date:
- Sun Nov 09 20:28:44 2014 +0000
- Parent:
- 19:47978c25c9b8
- Commit message:
- Add K20D additions - pure guess but works
Changed in this revision
USBHost/USBHALHost.h | Show annotated file Show diff for this revision Revisions of this file |
USBHost/USBHALHost_KL46Z.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/USBHost/USBHALHost.h Sun Jul 20 11:00:24 2014 +0000 +++ b/USBHost/USBHALHost.h Sun Nov 09 20:28:44 2014 +0000 @@ -17,7 +17,7 @@ #if defined(TARGET_NUCLEO_F401RE)||defined(TARGET_NUCLEO_F411RE) #include "USBHALHost_F401RE.h" -#elif defined(TARGET_KL46Z)||defined(TARGET_KL25Z)||defined(TARGET_K64F) +#elif defined(TARGET_KL46Z)||defined(TARGET_KL25Z)||defined(TARGET_K64F) || defined(TARGET_K20D50M) #include "USBHALHost_KL46Z.h" #elif defined(TARGET_LPC4088)||defined(TARGET_LPC1768) #include "USBHALHost_LPC4088.h"
--- a/USBHost/USBHALHost_KL46Z.cpp Sun Jul 20 11:00:24 2014 +0000 +++ b/USBHost/USBHALHost_KL46Z.cpp Sun Nov 09 20:28:44 2014 +0000 @@ -1,5 +1,5 @@ // Simple USBHost for FRDM-KL46Z -#if defined(TARGET_KL46Z)||defined(TARGET_KL25Z)||defined(TARGET_K64F) +#if defined(TARGET_KL46Z)||defined(TARGET_KL25Z)||defined(TARGET_K64F) ||defined(TARGET_K20D50M) #include "USBHALHost.h" #include <algorithm>