Thanks for sharing this!
This is very valuable for us, please make it a "real" application note with archive.
I noticed that I had to update the size in the following declaration:
extern const uint8 CYCODE USBFS_1_DEVICE0_CONFIGURATION0_DESCR[121u];
Since this file is regenerated whenever I would change something basic on the schematic, I fear that I have to reapply this change again.