pic32prog.inc.mk: add udev rule for pic32 programmer

Copy the udev rule from dist/tools/pic32prog/doc.md
This commit is contained in:
Gaëtan Harter 2018-06-27 10:53:09 +02:00
parent 4eeda215e0
commit be4569e271
No known key found for this signature in database
GPG Key ID: 76DF6BCF1B1F883B

View File

@ -15,6 +15,18 @@
# Should be done from a Windows computer/virtual machine as described here # Should be done from a Windows computer/virtual machine as described here
# #
# https://github.com/RIOT-OS/RIOT/blob/master/dist/tools/pic32prog/doc.md # https://github.com/RIOT-OS/RIOT/blob/master/dist/tools/pic32prog/doc.md
#
#
# Udev rule
# ---------
#
# Add yourself to the `plugdev` group, add the following `udev` rule to
# `/etc/udev/rules.d/26-microchip.rules` and reboot.
#
# ```
# # Adapted from http://en.microstickplus.com/mplabx-on-linux
# ATTR{idVendor}=="04d8", MODE="664", GROUP="plugdev"
# ```
RIOT_PIC32PROG = $(RIOTTOOLS)/pic32prog/pic32prog RIOT_PIC32PROG = $(RIOTTOOLS)/pic32prog/pic32prog
PIC32PROG ?= $(RIOT_PIC32PROG) PIC32PROG ?= $(RIOT_PIC32PROG)