Skip to content

Commit 9714a0e

Browse files
committed
Merge pull request ARMmbed#1892 from geky/fix-ksdk2-lwip
Fixed uninitialized port in lwip dragged in by KSDK2
2 parents 641e3a8 + f046234 commit 9714a0e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

libraries/net/eth/lwip-eth/arch/TARGET_Freescale/hardware_init_MK64F12.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ void k64f_init_eth_hardware(void)
4141
MPU->CESR &= ~MPU_CESR_VLD_MASK;
4242

4343
CLOCK_EnableClock(kCLOCK_PortC);
44+
CLOCK_EnableClock(kCLOCK_PortB);
4445
/* Affects PORTC_PCR16 register */
4546
PORT_SetPinMux(PORTC, 16u, kPORT_MuxAlt4);
4647
/* Affects PORTC_PCR17 register */

0 commit comments

Comments
 (0)