mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-02 04:04:31 +02:00
test: ut only test app core reset on dual core
This commit is contained in:
@@ -14,6 +14,7 @@ static void restart_task(void *arg)
|
|||||||
esp_restart();
|
esp_restart();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifndef CONFIG_FREERTOS_UNICORE
|
||||||
TEST_CASE("restart from APP CPU", "[restart][reset=SW_CPU_RESET]")
|
TEST_CASE("restart from APP CPU", "[restart][reset=SW_CPU_RESET]")
|
||||||
{
|
{
|
||||||
xTaskCreatePinnedToCore(&restart_task, "restart", 2048, NULL, 5, NULL, 1);
|
xTaskCreatePinnedToCore(&restart_task, "restart", 2048, NULL, 5, NULL, 1);
|
||||||
@@ -21,4 +22,4 @@ TEST_CASE("restart from APP CPU", "[restart][reset=SW_CPU_RESET]")
|
|||||||
;
|
;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
Reference in New Issue
Block a user