1
0
mirror of git://projects.qi-hardware.com/f32xbase.git synced 2024-11-23 22:27:11 +02:00

Customize the FT232 EEPROM with the Qi Hardware ID and other parameters.

- hw/c2usb.conf: custom FT232 EEPROM configuration
- hw/Makefile (flash-eeprom): new target to customize the FT232 EEPROM
This commit is contained in:
Werner Almesberger 2010-10-08 02:51:27 -03:00
parent c9f4c9b3db
commit 9777d88d5a
2 changed files with 36 additions and 1 deletions

View File

@ -1,4 +1,4 @@
.PHONY: all gen generate sch brd xpdf .PHONY: all gen generate sch brd xpdf flash-eeprom
all: all:
@echo "make what ? target: gen sch brd xpdf" @echo "make what ? target: gen sch brd xpdf"
@ -16,3 +16,6 @@ brd:
xpdf: xpdf:
xpdf c2usb.pdf xpdf c2usb.pdf
flash-eeprom:
ftdi_eeprom --flash-eeprom c2usb.conf

32
hw/c2usb.conf Normal file
View File

@ -0,0 +1,32 @@
vendor_id=0x20b7 # Vendor ID
product_id=0xc25b # Product ID (tentative)
max_power=50 # Max. power consumption: value * 2 mA. Use 0 if self_powered = true.
###########
# Strings #
###########
manufacturer="Qi Hardware" # Manufacturer
product="C2 USB Dongle" # Product
serial="20101008" # Serial
###########
# Options #
###########
self_powered=false # Turn this off for bus powered
remote_wakeup=false # Turn this on for remote wakeup feature
use_serial=true # Use the serial number string
# Normally out don't have to change one of these flags
BM_type_chip=true # Newer chips are all BM type
in_is_isochronous=false # In Endpoint is Isochronous
out_is_isochronous=false # Out Endpoint is Isochronous
suspend_pull_downs=false # Enable suspend pull downs for lower power
change_usb_version=false # Change USB Version
usb_version=0x0200 # Only used when change_usb_version is enabled
########
# Misc #
########
filename="eeprom" # Filename, leave empty to skip file writing