Hi
I succesfully compiled Mbed mouse example and flashed my board. I hay wired usb cable to GND, PA11 and PA12.
User led blinks as expected but host computer doe as not recognize new device.
I’m doing something wrong. I watched video and I read documentation, but I’m new to the usb in microcontrollers.
Please help!
Tom
Hello,
STM32 targets what do not have onboard USB connector do not have USB enabled in default. It has to be enabled via mbed_app.json
file.
{
"target_overrides": {
"*": {
"target.device_has_add": ["USBDEVICE"]
}
}
}
BR, Jan
1 Like
Thanks a lot I will test it.
Tom
Dear Jan
mouse works!!
Thank you for your help!!
Tom
Hello,
you are welcome and thank you for feedaback.
Just a little tip. The title does not need to be renamed with the [SOLVED] tag. Just mark the post that led you to the solution with the checkbox what is in bottom panel of every post .
BR, Jan