I am rolling my own USBD DFU bootloader for an STM32F427. I have a CubeMX project reading and writing to Internal Flash. Now I need to expose the OTP memory region, similar to the System Memory USBD DFU bootloader.
I had to roll my own because the System Memory USBD DFU initializes GPIO to states that are unacceptable for me at startup.
When I change #define USBD_DFU_MAX_ITF_NUM to 4, I get four entries in the PC-side DFU utility, but they are all named the same thing. I cannot seem to figure out how to add additional descriptions to the subsequent "Alternate" memory regions.