Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
9 years, 5 months ago. This question has been closed. Reason: Off Topic
.
.
1 Answer
9 years, 5 months ago.
Reposting this here for better visibility:
Quote:
Hi Elik,
I think I found the issue. Can you update the "mbed-rtos" and "FATFileSystem" libraries inside the USBHost library?
That fixed the problem for me. Let me know how it goes!
Thanks for being patient!
-Brian
Hi Elik,
What platform are you using? Also, could you publish your program/post your code so we can help you fix the issue?
Thanks, Brian
posted by Brian Daniels 27 May 2015Hello Brian,
Thanks for reply.
I'm using mbed LPC 1768 board. My program includes mbed library, RTC, keypad and TextLCD libraries. Everything works fine.
However after I tried to include the latest USBhost library I get errors that I described in my question.
posted by Elianco S 27 May 2015Hi Elik,
I think I found the issue. Can you update the "mbed-rtos" and "FATFileSystem" libraries inside the USBHost library?
That fixed the problem for me. Let me know how it goes!
Thanks for being patient!
-Brian
posted by Brian Daniels 27 May 2015Hello Brian,
Thanks for our help.
I just updated the "mbed-rtos" and "FATFileSystem" libraries inside the USBHost library and the program compiled with no errors.
There is only a warning message "Warning: Statement is unreachable in "USBHost/FATFileSystem/ChaN/ff.cpp", Line: 1689, Col: 13
w = (w << 8) + b; /* Create a DBC */"
But I think that it's OK.
Best Regards.
posted by Elianco S 27 May 2015I get the same warning, but I wouldn't worry too much about it if everything is working. Glad that helped!
posted by Brian Daniels 27 May 2015