I'm using Teensy 2.0++ with the usb_serial 1.7 example. Has anyone modified that usb_serial example code to allow the serial number to come out of RAM instead of regular program memory?

I plan to use EEPROM to hold a serial number so that it can be reprogrammed for each device, and will read it before bringing up the USB. I have the EEPROM side handled, but cannot figure out how to get the usb_serial code to use the string that I've loaded into RAM.

I'm guessing that I need to change the usb_serial code to have the descriptor table point all the strings to RAM, just so that I can get it to use my serial number. I don't want to reinvent the wheel. Has anyone done something similar?

Ed