Commit 874212b9 authored by Grzegorz Daniluk's avatar Grzegorz Daniluk

I'm out of ram, have to test basic functionality first so turn off additional stuff

parent e3238ac8
PLATFORM = lm32 PLATFORM = lm32
OBJS_WRC = wrc_main.o dev/uart.o dev/endpoint.o dev/minic.o dev/pps_gen.o dev/syscon.o dev/onewire.o dev/softpll_ng.o lib/mprintf.o monitor/monitor.o dev/ep_pfilter.o dev/dna.o dev/i2c.o dev/eeprom.o OBJS_WRC = wrc_main.o dev/uart.o dev/endpoint.o dev/minic.o dev/pps_gen.o dev/syscon.o dev/softpll_ng.o lib/mprintf.o monitor/monitor.o dev/ep_pfilter.o dev/dna.o #dev/onewire.o dev/i2c.o #dev/eeprom.o
D = ptp-noposix D = ptp-noposix
PTPD_CFLAGS = -ffreestanding -DPTPD_FREESTANDING -DWRPC_EXTRA_SLIM -DPTPD_MSBF -DPTPD_DBG PTPD_CFLAGS = -ffreestanding -DPTPD_FREESTANDING -DWRPC_EXTRA_SLIM -DPTPD_MSBF -DPTPD_DBG
......
...@@ -153,7 +153,7 @@ int32_t sfp_deltaRx = 0; ...@@ -153,7 +153,7 @@ int32_t sfp_deltaRx = 0;
// } // }
//} //}
#if 1 #if 0
int get_sfp_id(char *sfp_pn) int get_sfp_id(char *sfp_pn)
{ {
uint8_t data, sum=0; uint8_t data, sum=0;
...@@ -213,7 +213,7 @@ void wrc_initialize() ...@@ -213,7 +213,7 @@ void wrc_initialize()
mprintf("wr_core: starting up (press G to launch the GUI and D for extra debug messages)....\n"); mprintf("wr_core: starting up (press G to launch the GUI and D for extra debug messages)....\n");
//SFP //SFP
#if 1 #if 0
if( get_sfp_id(sfp_pn) >= 0) if( get_sfp_id(sfp_pn) >= 0)
{ {
mprintf("Found SFP transceiver ID: "); mprintf("Found SFP transceiver ID: ");
...@@ -228,6 +228,7 @@ void wrc_initialize() ...@@ -228,6 +228,7 @@ void wrc_initialize()
#endif #endif
//Generate MAC address //Generate MAC address
#if 0
ow_init(); ow_init();
if( ds18x_read_serial(ds18_id) == 0 ) if( ds18x_read_serial(ds18_id) == 0 )
TRACE_DEV("Found DS18xx sensor: %x:%x:%x:%x:%x:%x:%x:%x\n", TRACE_DEV("Found DS18xx sensor: %x:%x:%x:%x:%x:%x:%x:%x\n",
...@@ -235,6 +236,7 @@ void wrc_initialize() ...@@ -235,6 +236,7 @@ void wrc_initialize()
ds18_id[3], ds18_id[2], ds18_id[1], ds18_id[0]); ds18_id[3], ds18_id[2], ds18_id[1], ds18_id[0]);
else else
TRACE_DEV("DS18B20 not found\n"); TRACE_DEV("DS18B20 not found\n");
#endif
mac_addr[0] = 0x08; // mac_addr[0] = 0x08; //
mac_addr[1] = 0x00; // CERN OUI mac_addr[1] = 0x00; // CERN OUI
......
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