mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-10 20:54:24 +00:00
esp32c3: Apply one-liner/small changes for ESP32-C3
This commit is contained in:
@@ -14,8 +14,14 @@
|
||||
#include <string.h>
|
||||
#include "esp_flash_partitions.h"
|
||||
#include "esp_log.h"
|
||||
#include "esp32/rom/spi_flash.h"
|
||||
#include "esp_rom_md5.h"
|
||||
#if CONFIG_IDF_TARGET_ESP32C3
|
||||
#include "esp32c3/rom/spi_flash.h"
|
||||
#elif CONFIG_IDF_TARGET_ESP32S2
|
||||
#include "esp32s2/rom/spi_flash.h"
|
||||
#else
|
||||
#include "esp32/rom/spi_flash.h"
|
||||
#endif
|
||||
|
||||
static const char *TAG = "flash_parts";
|
||||
|
||||
|
Reference in New Issue
Block a user