mirror of
https://github.com/espressif/esp-idf.git
synced 2026-05-05 12:25:03 +02:00
C3: build and run unit tests
Enable building and running of unit tests in CI for C3 as well as fix related compile errors Also enables building of C3 test apps
This commit is contained in:
@@ -29,7 +29,16 @@
|
||||
#include <sys/lock.h>
|
||||
#include "esp_vfs.h"
|
||||
#include "esp_err.h"
|
||||
#if CONFIG_IDF_TARGET_ESP32
|
||||
#include "esp32/rom/spi_flash.h"
|
||||
#elif CONFIG_IDF_TARGET_ESP32S2
|
||||
#include "esp32s2/rom/spi_flash.h"
|
||||
#elif CONFIG_IDF_TARGET_ESP32S3
|
||||
#include "esp32s3/rom/spi_flash.h"
|
||||
#elif CONFIG_IDF_TARGET_ESP32C3
|
||||
#include "esp32c3/rom/spi_flash.h"
|
||||
#endif
|
||||
|
||||
#include "spiffs_api.h"
|
||||
|
||||
static const char* TAG = "SPIFFS";
|
||||
|
||||
Reference in New Issue
Block a user