Merge pull request #1892 from geky/fix-ksdk2-lwip

Fixed uninitialized port in lwip dragged in by KSDK2
pull/1769/merge
Martin Kojtal 2016-06-09 18:52:38 +01:00
commit 9714a0edf6
1 changed files with 1 additions and 0 deletions

View File

@ -41,6 +41,7 @@ void k64f_init_eth_hardware(void)
MPU->CESR &= ~MPU_CESR_VLD_MASK;
CLOCK_EnableClock(kCLOCK_PortC);
CLOCK_EnableClock(kCLOCK_PortB);
/* Affects PORTC_PCR16 register */
PORT_SetPinMux(PORTC, 16u, kPORT_MuxAlt4);
/* Affects PORTC_PCR17 register */