Fix hardcoded VID and PID in simulation script

I forgot to use the actual shell variables; this will fix that issue.
This commit is contained in:
Doug Brown 2021-07-25 16:46:35 -07:00 committed by GitHub
parent d2e12064c6
commit ab4c9e2de4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -88,8 +88,8 @@ start_gadget() {
# Create the gadget and configure it
mkdir "$CONFIGFS_DIR/usb_gadget/$NEWGADGET"
cd "$CONFIGFS_DIR/usb_gadget/$NEWGADGET"
echo 0x16d0 > idVendor
echo 0x06aa > idProduct
echo $SIMMPROGRAMMER_VID > idVendor
echo $SIMMPROGRAMMER_PID > idProduct
mkdir strings/0x0409
echo "Doug Brown" > strings/0x0409/manufacturer
echo "Mac ROM SIMM Programmer" > strings/0x0409/product