mirror of
https://github.com/espressif/esp-idf.git
synced 2025-10-04 02:50:58 +02:00
unit test: adapt tests to single core configuration
This commit is contained in:
@@ -157,7 +157,7 @@ TEST_CASE("spi flash functions can run along with IRAM interrupts", "[spi_flash]
|
||||
timer_enable_intr(TIMER_GROUP_0, TIMER_0);
|
||||
timer_start(TIMER_GROUP_0, TIMER_0);
|
||||
|
||||
xTaskCreatePinnedToCore(read_task, "r", 2048, &read_arg, 3, NULL, 1);
|
||||
xTaskCreatePinnedToCore(read_task, "r", 2048, &read_arg, 3, NULL, portNUM_PROCESSORS - 1);
|
||||
xSemaphoreTake(read_arg.done, portMAX_DELAY);
|
||||
|
||||
timer_pause(TIMER_GROUP_0, TIMER_0);
|
||||
|
Reference in New Issue
Block a user