[M487] Add internal configuration control_01

pull/4608/head
ccli8 2017-06-16 13:34:48 +08:00
parent 9c90cfd304
commit f182d7fcae
2 changed files with 12 additions and 0 deletions

View File

@ -88,5 +88,13 @@ void SystemInit (void)
SPIM_DISABLE_CACHE();
SPIM_ENABLE_CCM();
while (! SPIM_IS_CCM_EN());
#ifndef MBED_CONF_M480_CTRL01_ENABLE
#define MBED_CONF_M480_CTRL01_ENABLE 1
#endif
#if (! MBED_CONF_M480_CTRL01_ENABLE)
M32(0x4000c018) |= 0x00000080;
#endif
}
/*** (C) COPYRIGHT 2016 Nuvoton Technology Corp. ***/

View File

@ -20,6 +20,10 @@
"usb-device-hsusbd": {
"help": "Select high-speed USB device or not",
"value": 1
},
"ctrl01-enable": {
"help": "Enable control_01",
"value": 0
}
}
}