How to fix to use USB debugger only?

Hi,
I want to use USB debugger only.
When this code in device.h,

#define DEBUGGER_FORCE_API STM32F4_UsbDevice_GetRequiredApi()
#define DEBUGGER_FORCE_INDEX USB_DEBUGGER_INDEX

It not working because configuration value is empty.

For now you’ll have to edit STM32F4_Startup yourself to force a configuration value.

Okay. Thanks.

Similar problem also if you force api and index

2 Likes