Merge pull request from OpenNuvoton/nuvoton_wdt-test-oom

Fix watchdog tests failing with OOM
pull/11053/head
Arto Kinnunen 2019-07-15 15:37:24 +03:00 committed by GitHub
commit aca726d59f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions
TESTS
mbed_drivers/watchdog
mbed_hal/watchdog

View File

@ -68,7 +68,7 @@ using utest::v1::Harness;
using namespace mbed;
Thread wdg_kicking_thread;
Thread wdg_kicking_thread(osPriorityNormal, 768);
Semaphore kick_wdg_during_test_teardown(0, 1);
void wdg_kicking_thread_fun()

View File

@ -69,7 +69,7 @@ using utest::v1::Harness;
const watchdog_config_t WDG_CONFIG_DEFAULT = { .timeout_ms = WDG_TIMEOUT_MS };
Thread wdg_kicking_thread;
Thread wdg_kicking_thread(osPriorityNormal, 768);
Semaphore kick_wdg_during_test_teardown(0, 1);
void wdg_kicking_thread_fun()