summaryrefslogtreecommitdiff
path: root/src/ao_product.c
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2010-08-24 04:02:27 -0700
committerKeith Packard <keithp@keithp.com>2010-08-24 04:02:27 -0700
commitba086cc77273efe5397f60dcaccd1e3771441481 (patch)
tree27ead6cab5ca502388462d486b4ce9bf4d55ef47 /src/ao_product.c
parent220f3afdaa432c65f8ad45be7cdbe5c8a3616db3 (diff)
altosui: write USB serial number string while flashing
USB serial number is encoded in UCS2 as a part of the string descriptors. Place those right after the other rom config bits so that altosui can find it. altosui is changed to write the serial number there. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/ao_product.c')
-rw-r--r--src/ao_product.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ao_product.c b/src/ao_product.c
index f0eb4c07..82d6298f 100644
--- a/src/ao_product.c
+++ b/src/ao_product.c
@@ -28,7 +28,7 @@ const char ao_product[] = AO_iProduct_STRING;
#define LE_WORD(x) ((x)&0xFF),((uint8_t) (((uint16_t) (x))>>8))
/* USB descriptors in one giant block of bytes */
-const uint8_t ao_usb_descriptors [] =
+__code __at(0x00aa) uint8_t ao_usb_descriptors [] =
{
/* Device descriptor */
0x12,