We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 65ffa8c commit d389f65Copy full SHA for d389f65
features/net/FEATURE_IPV4/lwip-interface/lwip-eth/arch/TARGET_Freescale/hardware_init_MK64F12.c
@@ -37,8 +37,10 @@ void k64f_init_eth_hardware(void)
37
{
38
port_pin_config_t configENET = {0};
39
40
- /* Disable MPU. */
+#ifndef FEATURE_UVISOR
41
+ /* Disable MPU only when uVisor is not around. */
42
MPU->CESR &= ~MPU_CESR_VLD_MASK;
43
+#endif/*FEATURE_UVISOR*/
44
45
CLOCK_EnableClock(kCLOCK_PortC);
46
CLOCK_EnableClock(kCLOCK_PortB);
0 commit comments