Commit b22dde76 authored by Tomasz Wlostowski's avatar Tomasz Wlostowski

moved system-wide socket parameters to board.h, use cleaned up PTP networking API

parent 8737a126
......@@ -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
......
......@@ -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");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment