Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of lwip-eth by
Diff: arch/TARGET_Freescale/hardware_init_MK64F12.c
- Revision:
- 26:32c3ccc5a8ef
- Parent:
- 20:620d381e7f4c
- Child:
- 32:da93f0f73711
diff -r ba0a1c5bf54e -r 32c3ccc5a8ef arch/TARGET_Freescale/hardware_init_MK64F12.c --- a/arch/TARGET_Freescale/hardware_init_MK64F12.c Thu Mar 12 14:31:53 2015 +0000 +++ b/arch/TARGET_Freescale/hardware_init_MK64F12.c Mon May 04 08:30:44 2015 +0100 @@ -64,16 +64,7 @@ PORT_HAL_SetPullCmd(PORTB_BASE, 0, true); PORT_HAL_SetMuxMode(PORTB_BASE, 1, kPortMuxAlt4); - /* Configure GPIO for MII interface */ - PORT_HAL_SetMuxMode(PORTA_BASE, 9, kPortMuxAlt4); /*!< ENET MII0_RXD3*/ - PORT_HAL_SetMuxMode(PORTA_BASE, 10, kPortMuxAlt4); /*!< ENET MII0_RXD2*/ - PORT_HAL_SetMuxMode(PORTA_BASE, 11, kPortMuxAlt4); /*!< ENET MII0_RXCLK*/ - PORT_HAL_SetMuxMode(PORTA_BASE, 24, kPortMuxAlt4); /*!< ENET MII0_TXD2*/ - PORT_HAL_SetMuxMode(PORTA_BASE, 25, kPortMuxAlt4); /*!< ENET MII0_TXCLK*/ - PORT_HAL_SetMuxMode(PORTA_BASE, 26, kPortMuxAlt4); /*!< ENET MII0_TXD3*/ - PORT_HAL_SetMuxMode(PORTA_BASE, 27, kPortMuxAlt4); /*!< ENET MII0_CRS*/ - PORT_HAL_SetMuxMode(PORTA_BASE, 28, kPortMuxAlt4); /*!< ENET MII0_TXER*/ - PORT_HAL_SetMuxMode(PORTA_BASE, 29, kPortMuxAlt4); /*!< ENET MII0_COL*/ + #if FSL_FEATURE_ENET_SUPPORT_PTP PORT_HAL_SetMuxMode(PORTC_BASE, (16 + ENET_TIMER_CHANNEL_NUM), kPortMuxAlt4); /* ENET ENET0_1588_TMR0*/ PORT_HAL_SetDriveStrengthMode(PORTC_BASE, (16 + ENET_TIMER_CHANNEL_NUM), kPortHighDriveStrength);