Skip to content
Snippets Groups Projects
Unverified Commit 0328e45a authored by Cenk Gündoğan's avatar Cenk Gündoğan Committed by GitHub
Browse files

Merge pull request #7934 from cgundogan/pr/packer_df-util_bluepill

packer: add dfu-util and bluepill udev rules
parents 1ea1fe90 ce8d8805
No related branches found
No related tags found
No related merge requests found
...@@ -26,7 +26,7 @@ d-i pkgsel/include string openssh-server ntp curl nfs-common build-essential \ ...@@ -26,7 +26,7 @@ d-i pkgsel/include string openssh-server ntp curl nfs-common build-essential \
python-setuptools libusb-1.0-0 libusb-1.0-0-dev libudev-dev libftdi1 \ python-setuptools libusb-1.0-0 libusb-1.0-0-dev libudev-dev libftdi1 \
libftdi-dev libftdipp1-dev libftdipp1-2v5 libhidapi-dev libhidapi-hidraw0 \ libftdi-dev libftdipp1-dev libftdipp1-2v5 libhidapi-dev libhidapi-hidraw0 \
libhidapi-libusb0 cmake autotools-dev autoconf pkg-config jimsh libtool \ libhidapi-libusb0 cmake autotools-dev autoconf pkg-config jimsh libtool \
valgrind openocd python-serial python3-serial xsltproc valgrind openocd python-serial python3-serial xsltproc dfu-util
d-i pkgsel/install-language-support boolean false d-i pkgsel/install-language-support boolean false
d-i pkgsel/update-policy select none d-i pkgsel/update-policy select none
......
...@@ -48,7 +48,9 @@ ...@@ -48,7 +48,9 @@
["usbfilter", "add", "0", "--target", "{{.Name}}", "--name", "iotlab-m3", "--vendorid", "0x0403", "--productid", "0x6010"], ["usbfilter", "add", "0", "--target", "{{.Name}}", "--name", "iotlab-m3", "--vendorid", "0x0403", "--productid", "0x6010"],
["usbfilter", "add", "0", "--target", "{{.Name}}", "--name", "samr21-xpro", "--vendorid", "0x03eb", "--productid", "0x2111"], ["usbfilter", "add", "0", "--target", "{{.Name}}", "--name", "samr21-xpro", "--vendorid", "0x03eb", "--productid", "0x2111"],
["usbfilter", "add", "0", "--target", "{{.Name}}", "--name", "Arduino Mega 2560", "--vendorid", "0x2341", "--productid", "0x0042"], ["usbfilter", "add", "0", "--target", "{{.Name}}", "--name", "Arduino Mega 2560", "--vendorid", "0x2341", "--productid", "0x0042"],
["usbfilter", "add", "0", "--target", "{{.Name}}", "--name", "Phytec phyWAVE KW22", "--vendorid", "0x0d28", "--productid", "0x0204"] ["usbfilter", "add", "0", "--target", "{{.Name}}", "--name", "Phytec phyWAVE KW22", "--vendorid", "0x0d28", "--productid", "0x0204"],
["usbfilter", "add", "0", "--target", "{{.Name}}", "--name", "Bluepill", "--vendorid", "0x1d50", "--productid", "0x6017"],
["usbfilter", "add", "0", "--target", "{{.Name}}", "--name", "Bluepill", "--vendorid", "0x1d50", "--productid", "0x6018"]
], ],
"virtualbox_version_file": ".vbox_version", "virtualbox_version_file": ".vbox_version",
"vm_name": "{{user `vm_name`}}" "vm_name": "{{user `vm_name`}}"
......
...@@ -7,4 +7,8 @@ ATTRS{idVendor}=="10c4", ATTRS{idProduct}=="ea60", MODE="660", GROUP="plugdev", ...@@ -7,4 +7,8 @@ ATTRS{idVendor}=="10c4", ATTRS{idProduct}=="ea60", MODE="660", GROUP="plugdev",
# Arduino Due # Arduino Due
ATTRS{idVendor}=="2341", ATTRS{idProduct}=="003d", MODE="660", GROUP="plugdev", TAG+="uaccess" ATTRS{idVendor}=="2341", ATTRS{idProduct}=="003d", MODE="660", GROUP="plugdev", TAG+="uaccess"
# bluepill
ATTRS{idVendor}=="1d50", ATTRS{idProduct}=="6017", MODE="660", GROUP="plugdev", TAG+="uaccess"
ATTRS{idVendor}=="1d50", ATTRS{idProduct}=="6018", MODE="660", GROUP="plugdev", TAG+="uaccess"
LABEL="custom_rules_end" LABEL="custom_rules_end"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment