-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
KDS USB Host MSC ISO99 cc isssue #19
Comments
Thanks for reporting that, I have the host stack not yet running on KDS, but I confirm the problem with __asm. You can fix this on your side, the file is located in |
I'm puzzled about that error message about index: it seems to me that the compiler sees another symbol named 'index', but not sure where? |
anyway, I have changed the name to elemIndex. Do you need new components? |
|
yes, it will be fixed in the next version of the components on SourceForge. |
Not sure if this is worth mentioning, but using Comonent USB:FSL_USB_stack MSD Host I'm having a couple of compile errors.
Either I'm doing something wrong (Learner plates still on advice appreciated) or upgrade to KDS issue.
I'm using (http://sourceforge.net/projects/mcuoneclipse/ Components 2014-10-17.zip)
and set CPU:MK20DX128VLH5 (from my FRDM-K20D50 RevB brd)
set the USB1:FSL_USB_Stack to Init_USB_OTG_VAR0, MSD Host, MSD
This causes errors with asm() with reason and fix
https://community.freescale.com/thread/326345
Then setting the compiler to GNU ISO C90 results in another error
GeneratedCode/usbmsgq.c:
'index' redeclared as different kind of symbol usbmsgq.c /Mk20Dx50Logger/Generated_Code line 38 C/C++ Problem
This can be fixed by changing index --> index2
Of course whenever the PE regenerates the files, it goes back to previous problem.
Suggested solution: change asm to __asm() per
https://community.freescale.com/thread/326345
The text was updated successfully, but these errors were encountered: