1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

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

packer: add dfu-util and bluepill udev rules
This commit is contained in:
Cenk Gündoğan 2017-11-03 17:17:05 +01:00 committed by GitHub
commit 0328e45a8f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 8 additions and 2 deletions

View File

@ -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 \
libftdi-dev libftdipp1-dev libftdipp1-2v5 libhidapi-dev libhidapi-hidraw0 \
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/update-policy select none

View File

@ -48,7 +48,9 @@
["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", "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",
"vm_name": "{{user `vm_name`}}"

View File

@ -7,4 +7,8 @@ ATTRS{idVendor}=="10c4", ATTRS{idProduct}=="ea60", MODE="660", GROUP="plugdev",
# Arduino Due
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"