Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
osie
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Martin Manchev
osie
Commits
d35cd949
Commit
d35cd949
authored
Nov 09, 2021
by
Ivan Tyagov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Allow to configure from SlapOs master block device and list of I2C slaves (MOD-IOs).
parent
9f4fdbbb
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
slapos/software/osie-coupler/buildout.hash.cfg
slapos/software/osie-coupler/buildout.hash.cfg
+1
-1
slapos/software/osie-coupler/instance.cfg.in
slapos/software/osie-coupler/instance.cfg.in
+5
-1
No files found.
slapos/software/osie-coupler/buildout.hash.cfg
View file @
d35cd949
[instance-profile]
[instance-profile]
filename = instance.cfg.in
filename = instance.cfg.in
md5sum =
8154af3eab2c255330fcfae9278a2b83
md5sum =
16f6538f754919b5e894e85fd78ffbab
slapos/software/osie-coupler/instance.cfg.in
View file @
d35cd949
...
@@ -23,7 +23,8 @@ extends = {{ template_monitor }}
...
@@ -23,7 +23,8 @@ extends = {{ template_monitor }}
recipe = slapos.cookbook:wrapper
recipe = slapos.cookbook:wrapper
# start with defaults
# start with defaults
command-line =
command-line =
{{ buildout['parts-directory'] }}/osie/coupler/opc-ua-server/bin/lime2-opc-ua-server /dev/i2c-1 0x58
{{ buildout['parts-directory'] }}/osie/coupler/opc-ua-server/bin/lime2-opc-ua-server ${instance-parameter:configuration.coupler_block_device} ${instance-parameter:configuration.coupler_i2c_slave_list}
wrapper-path = ${directory:service}/coupler-opc-ua
wrapper-path = ${directory:service}/coupler-opc-ua
[instance-parameter]
[instance-parameter]
...
@@ -41,6 +42,9 @@ url = ${slap-connection:server-url}
...
@@ -41,6 +42,9 @@ url = ${slap-connection:server-url}
key = ${slap-connection:key-file}
key = ${slap-connection:key-file}
cert = ${slap-connection:cert-file}
cert = ${slap-connection:cert-file}
configuration.coupler_block_device =
configuration.coupler_i2c_slave_list =
# Define default parameter(s) that will be used later, in case user didn't
# Define default parameter(s) that will be used later, in case user didn't
# specify it.
# specify it.
# All possible parameters should have a default.
# All possible parameters should have a default.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment