Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
gqgmc
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Kevin Lyda
gqgmc
Commits
a8388d6f
Commit
a8388d6f
authored
Dec 7, 2016
by
Kevin Lyda
Browse files
Options
Downloads
Patches
Plain Diff
Update for my setup.
parent
5f7e768d
No related branches found
No related tags found
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
51-gqgmc.rules
+5
-2
5 additions, 2 deletions
51-gqgmc.rules
Defines.mk
+1
-6
1 addition, 6 deletions
Defines.mk
Makefile
+7
-1
7 additions, 1 deletion
Makefile
with
13 additions
and
9 deletions
51-gqgmc.rules
+
5
−
2
View file @
a8388d6f
# If modified do "sudo udevadm control --reload-rules"
# If modified do "sudo udevadm control --reload-rules"
# Then unplug and replug GQ GMC-300
# Then unplug and replug GQ GMC-300
# See ballinvoher branch of https://gitlab.ie.suberic.net/kevin/gqgmc
# for more info.
# Installed by "gqgmc" slack role.
# works on ubuntu 14.04
# works on ubuntu 14.04
SUBSYSTEM=="usb", ATTR{idVendor}=="
067b
", ATTRS{idProduct}=="
230
3", MODE:="666", GROUP="plugdev"
SUBSYSTEM=="usb", ATTR{idVendor}=="
1a86
", ATTRS{idProduct}=="
752
3", MODE:="666", GROUP="plugdev"
SUBSYSTEM=="tty", KERNEL=="ttyUSB*", ATTRS{idVendor}=="067b", MODE:="666", SYMLINK+="gqgmc"
SUBSYSTEM=="tty", KERNEL=="ttyUSB*", ATTRS{idVendor}=="1a86", MODE:="666", SYMLINK+="gqgmc"
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Defines.mk
+
1
−
6
View file @
a8388d6f
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
# Makefile macros
# Makefile macros
#############################################################################
#############################################################################
# project root directory
# project root directory
BASE
=
/home/
phil/Projects
/gqgmc
BASE
=
/home/
kevin/src
/gqgmc
# executables directory
# executables directory
BIN
=
$(
BASE
)
/bin
BIN
=
$(
BASE
)
/bin
...
@@ -54,8 +54,3 @@ MOC = /usr/bin/moc-qt4
...
@@ -54,8 +54,3 @@ MOC = /usr/bin/moc-qt4
# Use ar & ranlib to build libgqgmc library
# Use ar & ranlib to build libgqgmc library
AR
=
ar
AR
=
ar
RANLIB
=
ranlib
RANLIB
=
ranlib
This diff is collapsed.
Click to expand it.
Makefile
+
7
−
1
View file @
a8388d6f
...
@@ -39,7 +39,13 @@ $(BIN)/gqgmc: $(OBJ)/main.o $(LIBRARIES)
...
@@ -39,7 +39,13 @@ $(BIN)/gqgmc: $(OBJ)/main.o $(LIBRARIES)
$(BIN)/gqgmc_gui
:
$(OBJ)/main_gui.o $(gui_object) $(LIBRARIES)
$(BIN)/gqgmc_gui
:
$(OBJ)/main_gui.o $(gui_object) $(LIBRARIES)
$(
LDCPP
)
$(
LDFLAGS
)
-o
$@
$(
OBJ
)
/main_gui.o
$(
gui_object
)
$(
LIBS_LNK
)
$(
LDCPP
)
$(
LDFLAGS
)
-o
$@
$(
OBJ
)
/main_gui.o
$(
gui_object
)
$(
LIBS_LNK
)
all
:
xmoc xobj libs bin
#all: xmoc xobj libs bin
.PHONY
:
all
all
:
dirs $(BIN)/gqgmc
.PHONY
:
dirs
dirs
:
for
d
in
bin libs obj
;
do
test
-d
$$
d
||
mkdir
$$
d
;
done
###############################################################################
###############################################################################
# File dependencies:
# File dependencies:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment