8 years, 7 months ago.

How can I use USBSerial with Nucleo STM32F303K8 ?

When compile using USBSerial class, Error message is below. Cannot open source input file "device.h"

1 Answer

8 years, 7 months ago.

Hi,

Can you update the mbed library in your project? But, I don't think the Nucleo STM32F303K8 platform support USBSerial class. If you want to use serial message via USB (CMSIS-DAP CDC). please refer this. https://developer.mbed.org/teams/ST/wiki/ST-Link-Driver