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
0a74c14f
Commit
0a74c14f
authored
Jan 20, 2016
by
Alessandro Rubini
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'misc-trivial-fixes'
parents
88d91d86
35b37e2e
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
2 additions
and
40 deletions
+2
-40
MAKEALL
MAKEALL
+1
-1
board.h
boards/arria/board.h
+0
-35
wrc.h
include/wrc.h
+1
-1
cmd_verbose.c
shell/cmd_verbose.c
+0
-3
No files found.
MAKEALL
View file @
0a74c14f
...
...
@@ -4,7 +4,7 @@
T
=
$(
mktemp
/tmp/wrpc-config.XXXXXX
)
configs
=
$(
ls
configs
)
configs
=
$(
cd
configs
;
echo
*
_defconfig
)
if
[
$#
-ne
0
]
;
then
configs
=
"
$*
"
fi
...
...
boards/arria/board.h
deleted
100644 → 0
View file @
88d91d86
/*
* This work is part of the White Rabbit project
*
* Released according to the GNU GPL, version 2 or any later version.
*/
#ifndef __BOARD_H
#define __BOARD_H
#include <hw/memlayout.h>
/* Board-specific parameters */
/* WR Core system/CPU clock frequency in Hz */
#define CPU_CLOCK 62500000ULL
/* WR Reference clock period (picoseconds) and frequency (Hz) */
#define REF_CLOCK_PERIOD_PS 8000
#define REF_CLOCK_FREQ_HZ 125000000
/* Baud rate of the builtin UART (does not apply to the VUART) */
#define UART_BAUDRATE 115200ULL
/* Maximum number of simultaneously created sockets */
#define NET_MAX_SOCKETS 4
/* Socket buffer size, determines the max. RX packet size */
#define NET_SKBUF_SIZE 512
/* Number of auxillary clock channels - usually equal to the number of FMCs */
#define NUM_AUX_CLOCKS 1
int
board_init
();
int
board_update
();
#endif
include/wrc.h
View file @
0a74c14f
...
...
@@ -21,7 +21,7 @@
#define sprintf pp_sprintf
#undef offsetof
#define offsetof(TYPE, MEMBER) ((
int
) &((TYPE *)0)->MEMBER)
#define offsetof(TYPE, MEMBER) ((
long
) &((TYPE *)0)->MEMBER)
#undef ARRAY_SIZE
#define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]))
...
...
shell/cmd_verbose.c
View file @
0a74c14f
...
...
@@ -10,9 +10,6 @@
static
int
cmd_verbose
(
const
char
*
args
[])
{
int
v
;
v
=
args
[
0
][
0
]
-
'0'
;
if
(
args
[
0
])
pp_global_d_flags
=
pp_diag_parse
((
char
*
)
args
[
0
]);
pp_printf
(
"PPSI verbosity: %08lx
\n
"
,
pp_global_d_flags
);
...
...
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