diff options
| author | Keith Packard <keithp@keithp.com> | 2010-08-24 04:02:27 -0700 |
|---|---|---|
| committer | Keith Packard <keithp@keithp.com> | 2010-08-24 04:02:27 -0700 |
| commit | ba086cc77273efe5397f60dcaccd1e3771441481 (patch) | |
| tree | 27ead6cab5ca502388462d486b4ce9bf4d55ef47 /src/ao_product.c | |
| parent | 220f3afdaa432c65f8ad45be7cdbe5c8a3616db3 (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.c | 2 |
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, |
