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:

A powerful platform for tiny circuits

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.

Accepted Answer

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 ayush ruia 23 Apr 2015

Delete 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 Erik - 23 Apr 2015