9 years, 3 months ago.

USB Device is not working

Hi I try to import USB Serial to "USB-enabled" Happy gecko and it is not working

https://developer.mbed.org/handbook/USBSerial

is this bug or feature ?

thanks in advance :)

Question relating to:

Silicon Labs' EFM32™ Happy Gecko ARM® Cortex®-M0+ based 32-bit microcontrollers (MCUs) provide flash memory configurations up to 64 kB, 4-8 kB of RAM and CPU speeds up to 24 MHz, …

2 Answers

9 years, 3 months ago.

Hi Tomislav,

USB Device functionality did sadly not make it in our initial mbed software release, but is currently being planned for release very, very soon. In fact, it already has an open pull request on the mbed GitHub repo (https://github.com/mbedmicro/mbed/pull/1287), so if all goes well, it will get included in mbed by the end of next week.

Accepted Answer
9 years, 3 months ago.

Can you specify - it's not working. IF you report an issue, provide some details which help us to reproduce an issue or at least pinpoint it to the potential problem. As I recall, the USB was about to be added to mbed for efm32 platforms: https://github.com/mbedmicro/mbed/pull/1287

Ah, Steven is faster than me by seconds :-D

posted by Martin Kojtal 13 Aug 2015

Hi Martin I am using web compiler and when I try to use USB device library it says Error: #error directive: "Unknown target type" in "USBDevice/USBDevice/USBEndpoints.h", Line: 49, Col: 3

I hope that this feature will be available soon as Steven mentioned ... thanks for quick response guys

posted by Tomislav Arnaudov 13 Aug 2015