Store device serial number in EEPROM and arrange to generate uniquely.
authorPat Thoyts <patthoyts@users.sourceforge.net>
Fri, 1 Nov 2013 10:32:56 +0000 (10:32 +0000)
committerPat Thoyts <patthoyts@users.sourceforge.net>
Fri, 1 Nov 2013 10:32:56 +0000 (10:32 +0000)
commitec0ee7945ffe8b1484500f18c6e6dc2542cc7997
tree9558afd7f29f727e9edc4357b80c793353002efb
parent487dcbac09b50e82b6fb6fd0917574050b7107f1
Store device serial number in EEPROM and arrange to generate uniquely.

Use the EEMEM attribute to generate an eeprom specific hex file which we
then modify using a python script to configure unique serial numbers.
Also, avoid writing the calibration value unless it has changed to extend
the device lifetime as eeprom is limited to around 100K writes.

Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net>
Makefile
main.c
setserial.py [new file with mode: 0755]
usbconfig.h