Skip to content

Commit

Permalink
Included Bloom's udev rules in codebase - somehow this wasn't include…
Browse files Browse the repository at this point in the history
…d in the initial commit
  • Loading branch information
navnavnav committed Jun 22, 2021
1 parent d365f63 commit bbf85f8
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 0 deletions.
6 changes: 6 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@ set(CMAKE_VERBOSE_MAKEFILE off)
# Create directory for generated sources
file(MAKE_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/src/Generated)

configure_file(
${CMAKE_CURRENT_SOURCE_DIR}/resources/udevrules/99-bloom.rules
${CMAKE_CURRENT_SOURCE_DIR}/build/resources/UDevRules/99-bloom.rules
COPYONLY
)

set(CMAKE_CXX_STANDARD 20)
set(ENABLE_SANITIZERS off)

Expand Down
33 changes: 33 additions & 0 deletions resources/udevrules/99-bloom.rules
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# Linux udev rules for Bloom - see https://bloom.oscillate.io.
# THIS IS AN AUTOMATICALLY GENERATED FILE - ANY CHANGES MADE WILL LIKELY BE LOST!

SUBSYSTEM=="usb_device", GOTO="bloom_add_usb_device_rules"
SUBSYSTEM!="usb", GOTO="bloom_end"

LABEL="bloom_add_usb_device_rules"

# Microchip Atmel-ICE
ACTION=="add", ATTR{idVendor}=="03eb", ATTR{idProduct}=="2141", MODE="0666"

# Microchip Power Debugger
ACTION=="add", ATTR{idVendor}=="03eb", ATTR{idProduct}=="2144", MODE="0666"

# JTAGICE3
ACTION=="add", ATTR{idVendor}=="03eb", ATTR{idProduct}=="2140", MODE="0666"

# EDBG - debugger on Xplained Pro
ACTION=="add", ATTR{idVendor}=="03eb", ATTR{idProduct}=="2111", MODE="0666"

# mEDBG - debugger on Xplained Mini
ACTION=="add", ATTR{idVendor}=="03eb", ATTR{idProduct}=="2145", MODE="0666"

# PKOB nano (nEDBG) - debugger on Curiosity Nano
ACTION=="add", ATTR{idVendor}=="03eb", ATTR{idProduct}=="2175", MODE="0666"

# MPLAB PICkit 4 In-Circuit Debugger
ACTION=="add", ATTR{idVendor}=="03eb", ATTR{idProduct}=="2177", MODE="0666"

# MPLAB Snap In-Circuit Debugger
ACTION=="add", ATTR{idVendor}=="03eb", ATTR{idProduct}=="2180", MODE="0666"

LABEL="bloom_end"

0 comments on commit bbf85f8

Please sign in to comment.