Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
P
PPSi
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
50
Issues
50
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
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
PPSi
Commits
2ffa3e76
Commit
2ffa3e76
authored
Nov 03, 2021
by
Omar Gabella
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Take into account the news build options on the Makefile
parent
863f8160
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
3 deletions
+11
-3
Makefile
Makefile
+8
-2
wr-api.h
proto-ext-whiterabbit/wr-api.h
+3
-1
No files found.
Makefile
View file @
2ffa3e76
...
...
@@ -78,8 +78,14 @@ ifneq ($(PROTO_EXT),)
endif
include
proto-standard/Makefile
broadcast
:
CFLAGS += -DBROADCAST
broadcast
:
all
CFLAGS-$(CONFIG_MON_TO_DEBUG)
+=
-DMON_TO_DEBUG
CFLAGS-$(CONFIG_PARENTWRMODEOFF)
+=
-DPARENTWRMODEOFF
CFLAGS-$(CONFIG_TRACK_PHASE_NOT_FOUND)
+=
-DTRACK_PHASE_NOT_FOUND
CFLAGS-$(CONFIG_BROADCAST)
+=
-DBROADCAST
CFLAGS-$(CONFIG_WRPC_FAULTS)
+=
-DCONFIG_WRPC_FAULTS
#broadcast: CFLAGS += -DBROADCAST
#broadcast: all
# ...and the TIME choice sets the default operations
CFLAGS
+=
-DDEFAULT_TIME_OPS
=
$(TIME)
_time_ops
...
...
proto-ext-whiterabbit/wr-api.h
View file @
2ffa3e76
...
...
@@ -54,8 +54,10 @@ struct wr_dsport {
Boolean
doRestart
;
Boolean
linkUP
;
#ifdef MON_TO_DEBUG
// TMP TEST
UInteger32
counter_PP_TO_ANN_RECEIPT
;
UInteger32
counter_before_timeout_check
;
UInteger32
counter_slave_state
;
UInteger32
counter_listening_state
;
UInteger32
counter_wrlinkon_state
;
...
...
@@ -91,7 +93,7 @@ struct wr_dsport {
UInteger32
ctr_servo_busy
;
UInteger32
ctr_shw_pps_gen_busy
;
UInteger32
ctr_spll_shifter_busy
;
#ifdef MON_TO_DEBUG
UInteger16
mon_ext_specific
;
#endif
};
...
...
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