Skip to content

Commit f046234

Browse files
committed
Fixed uninitialized port in lwip dragged in by KSDK2
1 parent 641e3a8 commit f046234

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)