From 05354b8fee6a9af05d66bb7f4761f597da038fdd Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Mon, 15 Feb 2016 15:26:00 -0800 Subject: [PATCH] altos/chaoskey: Use SoC device ID as serial number To make manufacturing these devices tractable, we don't want to require a custom firmware load for each device, but we still want a unique serial number. Fortunately, the SoC provides a 96-bit ID which we can use. Signed-off-by: Keith Packard --- src/chaoskey-v0.1/ao_pins.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/chaoskey-v0.1/ao_pins.h b/src/chaoskey-v0.1/ao_pins.h index a8109282..6ec582a9 100644 --- a/src/chaoskey-v0.1/ao_pins.h +++ b/src/chaoskey-v0.1/ao_pins.h @@ -52,6 +52,7 @@ #define AO_USB_HAS_IN 1 #define AO_USB_HAS_INT 0 #define AO_USB_SELF_POWER 0 +#define AO_USB_DEVICE_ID_SERIAL 1 #define IS_FLASH_LOADER 0 -- 2.30.2