spi_flash: resume unit tests for ESP32-S2

This commit is contained in:
michael
2020-02-20 16:05:03 +08:00
parent c65b67115a
commit f8fae4c80c
7 changed files with 4 additions and 16 deletions

View File

@@ -2,7 +2,6 @@
#include "esp_partition.h"
#include "unity.h"
#if !TEMPORARY_DISABLED_FOR_TARGETS(ESP32S2)
TEST_CASE("Basic handling of a partition in external flash", "[partition]")
{
esp_flash_t flash = {
@@ -44,5 +43,4 @@ TEST_CASE("Basic handling of a partition in external flash", "[partition]")
TEST_ESP_ERR(ESP_ERR_INVALID_ARG, esp_partition_register_external(&flash, SPI_FLASH_SEC_SIZE, 2 * SPI_FLASH_SEC_SIZE,
"p2", t, st, NULL));
TEST_ESP_OK(esp_partition_deregister_external(ext_partition));
}
#endif
}