USBX System Stack Size is missing in USBX Configuration on STM32H7RSxx
The X-CUBE-AZRTOS-H7RS middleware is missing the setting to change the USBX System Stack Size which in turn means that the USBX_MEMORY_STACK_SIZE define in the app_usbx.h file can not be changed from its default of 1024. And because the define is not in a USER CODE section, any manual change will be overridden when re-generating code in CubeMX.
Here is an example when using USBX host stack, but it's the same for the device stack.
STM32H7RSxx:

STM32H7A3ZIT:

