Previously I had made boards, and the basic connection is Vcaps to 2.2uF capacitors, nRst with 10k pull-up, and Boot to ground. The device is not detected by the programmer.
Just saw your question, got the same problem.Just change this line at the "usbd_cdc.h" file.#define CDC_DATA_HS_MAX_PACKET_SIZE 64 /* Endpoint IN & OUT Packet size */And don't forget to add.#include "usbd_cdc_if.h"Hope this helps a month later