mirror of https://github.com/ARMmbed/mbed-os.git
[M487] Add internal configuration control_01
parent
9c90cfd304
commit
f182d7fcae
|
@ -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. ***/
|
||||
|
|
|
@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue