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
5
Merge Requests
5
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
eef6f3bf
Commit
eef6f3bf
authored
Feb 23, 2021
by
Adam Wujek
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert "boards/ertm14: remove implicit registration of shell commands"
This reverts commit
6f13a7f5
.
parent
87e321d9
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
0 deletions
+9
-0
board.c
boards/ertm14/board.c
+2
-0
board.h
boards/ertm14/board.h
+1
-0
cmd_ertm14.c
boards/ertm14/cmd_ertm14.c
+6
-0
No files found.
boards/ertm14/board.c
View file @
eef6f3bf
...
...
@@ -1171,6 +1171,8 @@ extern void phy_calibration_init();
int
wrc_board_init
()
{
ertm14_shell_init
();
evth_dds_nco_sync
=
event_listener_create
();
evth_config_update_listener
=
event_listener_create
();
...
...
boards/ertm14/board.h
View file @
eef6f3bf
...
...
@@ -208,5 +208,6 @@ int ertm14_apply_config(int config_id);
int
ertm14_get_current_config_id
(
void
);
int
ertm14_is_config_ready
(
void
);
int
ertm14_get_clkab_divider
(
int
freq
);
void
ertm14_shell_init
(
void
);
#endif
/* __BOARD_WRC_H */
boards/ertm14/cmd_ertm14.c
View file @
eef6f3bf
...
...
@@ -388,3 +388,9 @@ DEFINE_WRC_COMMAND(ertm_ui) = {
.
name
=
"eu"
,
// fixme
.
exec
=
cmd_ertm_ui
,
};
void
ertm14_shell_init
()
{
shell_register_command
(
&
__wrc_cmd_ertm
);
shell_register_command
(
&
__wrc_cmd_ertm_ui
);
}
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