You can now specify a "template" in a board definition for the CDC/ACM serial number. It must be an array of exactly 14 characters and any character that is a * is replaced with the auto-generated value from the standard serial number generation system. For instance one I am using is defined as (in Board_Defs.h):
You can now specify a "template" in a board definition for the CDC/ACM serial number. It must be an array of exactly 14 characters and any character that is a
*
is replaced with the auto-generated value from the standard serial number generation system. For instance one I am using is defined as (in Board_Defs.h):It in effect overrides all bar the last 4 digits (USERID) of the auto-generated serial number with custom values.