Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
S
Software for White Rabbit PTP Core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
32
Issues
32
List
Board
Labels
Milestones
Merge Requests
7
Merge Requests
7
CI / CD
CI / CD
Pipelines
Schedules
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
Software for White Rabbit PTP Core
Commits
be0e7b23
Commit
be0e7b23
authored
Mar 30, 2021
by
Juan David González Cobas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add ertm14_get_fpga_info opcode to protocol
parent
93de0ff2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
psnmp-proto.h
boards/ertm14/psnmp-proto.h
+8
-0
No files found.
boards/ertm14/psnmp-proto.h
View file @
be0e7b23
...
...
@@ -18,6 +18,7 @@
#define ertm14_ptp_enable 0x19
#define ertm14_get_sensors 0x20
#define ertm14_get_version_info 0x21
#define ertm14_get_fpga_info 0x22
static
struct
ertm14_protocol_op
{
int8_t
opcode
;
...
...
@@ -61,6 +62,13 @@ static struct ertm14_protocol_op {
.
offset2
=
0
,
.
length2
=
sizeof
(
struct
ertm14_version_info
),
},
{
.
opcode
=
ertm14_get_fpga_info
,
.
offset1
=
1
,
.
length1
=
0
,
.
offset2
=
0
,
.
length2
=
sizeof
(
struct
ertm14_device_metadata
),
},
{
.
opcode
=
ertm14_get_sensors
,
.
offset1
=
1
,
...
...
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