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

Fixed uninitialized port in lwip dragged in by KSDK2
Martin Kojtal 2016-06-09 09:47:39 +01:00
commit e48f764b5c
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 */