USBHALHOST_STM.cpp where to define MAX_NYET_RETRY?

I just need to know where and how to define MAX_NYET_RETRY in USBHALHOST_STM.cpp. Is this in custom_targets.json? I’m using an STM32F437