5 years, 6 months ago.

Is USBSerial compatible with LPC11U35/501?

I am trying to compile the USBSerial hello world for the LPC11U35/501 but am getting 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

1. Is the USBSerial intended to work with LPC11U35/501? 2. Does the USBSerial uses the MCU's USB hardware interface or is it some software bit banging USB? 3. If the answer for #1 above is yes, what should I fix?

Thanks for your help.

(I do have a working version of virtual USB/Serial for the LPC11U35 that uses its ROM function but would like to have the standard USBSerial here working).

Question relating to:

1 Answer

5 years, 6 months ago.


You can update the mbed library.

Right click 'mbed' in your project -> select 'Update...'

I hope this helps.

Accepted Answer

Yes, this fixed the compilation and now I can see the usb virtual serial print messages. Thanks.

posted by Zapta Z. 03 Feb 2015