A stack which works with or without an Mbed os library. Provides IPv4 or IPv6 with a full 1500 byte buffer.
Dependents: oldheating gps motorhome heating
Diff: link/nic.c
- Revision:
- 64:2f5db0839b09
- Parent:
- 61:aad055f1b0d1
- Child:
- 67:b89a81c6ed99
diff -r 9d67a5eaa93c -r 2f5db0839b09 link/nic.c --- a/link/nic.c Tue Jan 16 22:03:16 2018 +0000 +++ b/link/nic.c Wed Jan 17 20:44:04 2018 +0000 @@ -209,9 +209,6 @@ char mac[6]; unsigned int clock = 10; //96,000,000 - // Power Up the EMAC controller. - LPC_SC->PCONP |= 0x40000000; - // Enable P1 Ethernet Pins. LPC_PINCON->PINSEL2 = 0x50150105; LPC_PINCON->PINSEL3 = (LPC_PINCON->PINSEL3 & ~0x0000000F) | 0x00000005;