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, 8 months ago.
How to use the USB port to connect to the computer with mbuino board
Hi I am trying to connect compile a simple USBSerial_HelloWorld program for mbuino, and it is giving an error Error: Cannot open source input file "device.h": No such file or directory in "extras/mbed_3d0ef94e36ec/platform.h", Line: 21, Col: 20
On clicking the link it says that the platform i.e. mbuino developer board might not support it. Can anyone confirm if the mbuino board does not support USB connection. I would assume that it should support such a connection, as has a working usb port attached to the microcontroller.
If it does not support a USB port can anyone explain why?? Also any recommendations on an inexpensive substitute device which supports USB as well SPI would be helpful.
Thanks.
Question relating to:
1 Answer
9 years, 8 months ago.
Right mouse button on the mbed library (and USBDevice, but this specific error is from the mbed library), click update. The program contains an outdated mbed version which did not support the mBuino yet. After updating it should work fine.
is there some way to download the complete source code, so that we can also debug the cause of error. Otherwise its very difficult to find out the root cause.
posted by 23 Apr 2015Delete the mbed lib from your program, and import this one: http://developer.mbed.org/users/mbed_official/code/mbed-src/. That is the uncompiled source code.
posted by 23 Apr 2015