mirror of https://github.com/ARMmbed/mbed-os.git
Merge pull request #1024 from toyowata/master
Add LPC11U68 support in Sleep test casepull/1026/head
commit
cb73e7a0a5
|
@ -4,6 +4,8 @@
|
||||||
InterruptIn wkp(P2_10);
|
InterruptIn wkp(P2_10);
|
||||||
#elif defined(TARGET_K22F)
|
#elif defined(TARGET_K22F)
|
||||||
InterruptIn wkp(D0);
|
InterruptIn wkp(D0);
|
||||||
|
#elif defined(TARGET_LPC11U68)
|
||||||
|
InterruptIn wkp(P0_16);
|
||||||
#else
|
#else
|
||||||
InterruptIn wkp(p14);
|
InterruptIn wkp(p14);
|
||||||
#endif
|
#endif
|
||||||
|
@ -13,6 +15,9 @@ void flip() {
|
||||||
}
|
}
|
||||||
|
|
||||||
int main() {
|
int main() {
|
||||||
|
#if defined(TARGET_LPC11U68)
|
||||||
|
wkp.mode(PullUp);
|
||||||
|
#endif
|
||||||
wkp.rise(&flip);
|
wkp.rise(&flip);
|
||||||
|
|
||||||
while (true) {
|
while (true) {
|
||||||
|
|
|
@ -368,7 +368,7 @@ TESTS = [
|
||||||
"source_dir": join(TEST_DIR, "mbed", "sleep"),
|
"source_dir": join(TEST_DIR, "mbed", "sleep"),
|
||||||
"dependencies": [MBED_LIBRARIES, TEST_MBED_LIB],
|
"dependencies": [MBED_LIBRARIES, TEST_MBED_LIB],
|
||||||
"duration": 30,
|
"duration": 30,
|
||||||
"mcu": ["LPC1768", "LPC11U24", "LPC4088","LPC4088_DM","NRF51822"]
|
"mcu": ["LPC1768", "LPC11U24", "LPC4088","LPC4088_DM","NRF51822", "LPC11U68"]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "MBED_5", "description": "PWM",
|
"id": "MBED_5", "description": "PWM",
|
||||||
|
|
Loading…
Reference in New Issue