diff options
author | Keith Packard <keithp@keithp.com> | 2015-03-19 01:12:24 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2015-03-19 01:12:24 -0700 |
commit | 43b4044dc71d44cb25be6397b4d66fd792580eed (patch) | |
tree | 89f007f691698311c6380ad8d94fa592213ab7c7 /src | |
parent | c3321bd9f73c89686fe983a8d99f4e54fa91550e (diff) |
altos/chaoskey: Set USB VID/PID to 0x1d50/0x60c6
These are allocated from the OpenMoko USB vendor ID page and offer a
more 'official' number than from using the 0xfffe space.
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/chaoskey-v0.1/Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/chaoskey-v0.1/Makefile b/src/chaoskey-v0.1/Makefile index bf4b3ca6..ac4a6788 100644 --- a/src/chaoskey-v0.1/Makefile +++ b/src/chaoskey-v0.1/Makefile @@ -37,7 +37,8 @@ ALTOS_SRC = \ PRODUCT=ChaosKey-v0.1 PRODUCT_DEF=-DCHAOSKEY_V_0_1 -IDPRODUCT=0x0028 +IDVENDOR=0x1d50 +IDPRODUCT=0x60c6 CFLAGS = $(PRODUCT_DEF) $(STMF0_CFLAGS) -g -Os @@ -54,7 +55,7 @@ $(PROG): Makefile $(OBJ) altos.ld $(call quiet,CC) $(LDFLAGS) $(CFLAGS) -o $(PROG) $(OBJ) $(LIBS) ao_product.h: ao-make-product.5c ../Version - $(call quiet,NICKLE,$<) $< -m altusmetrum.org -i $(IDPRODUCT) -p $(PRODUCT) -v $(VERSION) > $@ + $(call quiet,NICKLE,$<) $< -m altusmetrum.org -V $(IDVENDOR) -i $(IDPRODUCT) -p $(PRODUCT) -v $(VERSION) -o $@ $(OBJ): $(INC) |