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.
10 years, 5 months ago.
Error: #error directive: "Unknown target type" in "USBDevice/USBDevice/USBEndpoints.h"
what is the problem?My platform is nucleo f302r8.It includes a USB device.How I let it support?What should I include the header file?
Question relating to:
1 Answer
10 years, 5 months ago.
Your platform is not supported in the USBDevice library.
Thank you for your answer!I have some question to ask.Would you take some time to answer me?Thank you again! My platform is nucleo f302r8.It includes a USB device.How I let it support?What should I include the header file?
posted by 08 Apr 2015go to https://github.com/mbedmicro/mbed, where are sources and you can contribute. I dont know what usb peripheral is in f302r8 (if any), so look at usb sources there what other nucleo boards are there, to see waht files. I am not aware of any usb porting guide.
posted by 09 Apr 2015