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
28
Issues
28
List
Board
Labels
Milestones
Merge Requests
4
Merge Requests
4
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
b22dde76
Commit
b22dde76
authored
Jun 13, 2012
by
Tomasz Wlostowski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
moved system-wide socket parameters to board.h, use cleaned up PTP networking API
parent
8737a126
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
4 deletions
+6
-4
Makefile
Makefile
+2
-3
board.h
include/board.h
+4
-1
No files found.
Makefile
View file @
b22dde76
...
...
@@ -25,9 +25,8 @@ OBJS_PTPD = $(PTP_NOPOSIX)/PTPWRd/arith.o \
$(PTP_NOPOSIX)
/PTPWRd/protocol.o
\
$(PTP_NOPOSIX)
/PTPWRd/wr_protocol.o
\
$(PTP_NOPOSIX)
/libposix/freestanding-startup.o
\
$(PTP_NOPOSIX)
/libposix/freestanding-display.o
\
$(PTP_NOPOSIX)
/libposix/wr_nolibs.o
\
$(PTP_NOPOSIX)
/libposix/freestanding-wrapper.o
$(PTP_NOPOSIX)
/libposix/freestanding-wrapper.o
\
$(PTP_NOPOSIX)
/libposix/net.o
CFLAGS_PLATFORM
=
-mmultiply-enabled
-mbarrel-shift-enabled
LDFLAGS_PLATFORM
=
-mmultiply-enabled
-mbarrel-shift-enabled
-nostdlib
-T
target/lm32/ram.ld
...
...
include/board.h
View file @
b22dde76
...
...
@@ -4,7 +4,7 @@
#define BASE_MINIC 0x20000
#define BASE_EP 0x20100
#define BASE_SOFTPLL 0x20200
#define BASE_PPS_GEN
0x20300
#define BASE_PPS_GEN 0x20300
#define BASE_SYSCON 0x20400
#define BASE_UART 0x20500
#define BASE_ONEWIRE 0x20600
...
...
@@ -18,6 +18,9 @@
#define UART_BAUDRATE 115200ULL
/* not a real UART */
#define NET_MAX_SOCKETS 3
#define NET_SKBUF_SIZE 256
static
inline
void
delay
(
int
x
)
{
while
(
x
--
)
asm
volatile
(
"nop"
);
...
...
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